数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

MAX17841BGUEV 数据表(PDF) 16 Page - Maxim Integrated Products

部件名 MAX17841BGUEV
功能描述  Automotive SPI Communication Interface (ASCI)
PDF  33 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  MAXIM [Maxim Integrated Products]
网页  https://www.maximintegrated.com/en.html
标志 MAXIM - Maxim Integrated Products

MAX17841BGUEV 数据表(HTML) 16 Page - Maxim Integrated Products

Back Button MAX17841BGUEV Datasheet HTML 12Page - Maxim Integrated Products MAX17841BGUEV Datasheet HTML 13Page - Maxim Integrated Products MAX17841BGUEV Datasheet HTML 14Page - Maxim Integrated Products MAX17841BGUEV Datasheet HTML 15Page - Maxim Integrated Products MAX17841BGUEV Datasheet HTML 16Page - Maxim Integrated Products MAX17841BGUEV Datasheet HTML 17Page - Maxim Integrated Products MAX17841BGUEV Datasheet HTML 18Page - Maxim Integrated Products MAX17841BGUEV Datasheet HTML 19Page - Maxim Integrated Products MAX17841BGUEV Datasheet HTML 20Page - Maxim Integrated Products Next Button
Zoom Inzoom in Zoom Outzoom out
 16 / 33 page
background image
Writing the Load Queue
Amessage,notincludingfillbytes,consistsofthree(3)
tosix(6)bytes.TheHELLOALLsequence,forexample,
isthreebytes:57h,00h,00h(firstaddresssettozero).
Since no fill bytes are required, the total message length
is3bytes.Therefore,thehostshouldwritetheloadqueue
with the following data in Table 8.
The host can write the load queue starting at any location
within the queue by using appropriate SPI commands
listed in SPI transaction Table 9. However, if the host
attempts to write beyond location 6 of the queue, the
additional data is ignored.
The UART never attempts to transmit the queue selected
by LD_Q because the host may be in the process of
loading it or, even if it has finished loading, may need to
verify (read) the contents of the load queue by using the
RD_LD_Q transaction (C1h). The host can then select
the next queue in sequence for loading by performing the
WR_NXT_LD_Qtransaction(B0h),whichincrementsthe
LD_Qvalue.Itisonlywhenthisincrementoccursthatthe
UART starts transmitting the data in the previously loaded
queue.ForbothLD_Q[1:0]andTX_Q[1:0],valuesof3h
increment to 0h.
Filling the Transmit Buffer
ThehostcanloadallavailablequeuesuntilLD_Q=TX_Q
-1.Inthisstate,thetransmitbufferisfull(TX_Full_Status
true). In this condition, the host cannot start loading the
transmit queue because the UART may still be unloading/
transmitting data. If the transmit buffer is full and the host
attempts to perform a WR_NXT_LD_Q transaction and
thus attempts to load the transmit queue, the increment
does not occur and an overflow condition is indicated
(TX_Overflow_Status true). The only time the host can
write the transmit queue is when the transmit buffer is
empty (TX_Q = LD_Q), which is the default state. This
state can also occur when the UART finishes sending the
last loaded message and thus creates an empty transmit
buffer.
Message Transmission
Whenever LD_Q =TX_Q, the transmit buffer is consid-
ered empty (TX_Empty_Status is true) because either
the host has not yet finished loading the selected queue
or the host has written but not yet verified the queue.
However,oncethehostisfinishedservicingthequeue,it
performsaWR_NXT_LD_Qtransactiontoselectthenext
queue.Oncethisoccurs,thetransmitbufferisnolonger
consideredemptybecauseLD_Q≠TX_Q.
The UART unloads/transmits the transmit queue if the fol-
lowing conditions are met:
● TheUARTisinTransmit_Queuemode(TX_Queuebit
is set)
● The transmit buffer has at least one loaded queue
(TX_Empty_Statusisfalse)
● Thereissufficientspaceinthereceivebufferforthe
message(RX_Space_≥MessageLength)
Note:Thelimitationonavailablespaceinthereceivebuf-
fercanberemovedbysettingtheTX_Unlimitedbit.
Once the transmit conditions are met, the UART auto-
matically starts unloading the transmit queue until the
entire message, including any required fill bytes, has
been transmitted. After the transmission is complete, the
contents of the transmit queue are reset to their default
values and the queue is once again available to the host
for loading.
Receive Buffer
The receive buffer is a 62-byte circular buffer that the
host can read with the SPI, but can only be loaded by
theUARTasitreceivesdata.Itutilizesthreepointersas
shown in the receive buffer memory map (Figure 12).
● RX_RD_POINTER:Readpointerorbufferlocationto
be read by host (default 00h, read-only)
● RX_WR_POINTER:Writepointerorbufferlocationto
be written by UART (default 01h, read-only)
● RX_NXT_MSG_POINTER:Bufferlocationthatisstart
of next unread message (default 00h, read-only)
In the default state, where the read pointer is one less
than the write pointer, the receive buffer is considered
empty(RX_Empty_Statusistrue).Anyreceivebufferdata
readinthisconditionwillbezero.
Table 8. Example of Queue Loaded with
Message HELLOALL
LOCATION
VALUE
DESCRIPTION
0
03h
Message length
1
57h
Command byte
2
00h
Address byte
3
00h
Databyte
4
C2h
Notwritten
5
D3h
Notwritten
6
C2h
Notwritten
Maxim Integrated │ 16
MAX17841B
Automotive SPI Communication Interface (ASCI)
www.maximintegrated.com



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com