Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

ST72561 Datasheet(PDF) 191 Page - STMicroelectronics

Part # ST72561
Description  8-BIT MCU WITH FLASH OR ROM, 10-BIT ADC, 5 TIMERS, SPI, LINSCI , ACTIVE CAN
PDF  262 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

ST72561 Datasheet(HTML) 191 Page - STMicroelectronics

Back Button ST72561 Datasheet HTML 187Page - STMicroelectronics ST72561 Datasheet HTML 188Page - STMicroelectronics ST72561 Datasheet HTML 189Page - STMicroelectronics ST72561 Datasheet HTML 190Page - STMicroelectronics ST72561 Datasheet HTML 191Page - STMicroelectronics ST72561 Datasheet HTML 192Page - STMicroelectronics ST72561 Datasheet HTML 193Page - STMicroelectronics ST72561 Datasheet HTML 194Page - STMicroelectronics ST72561 Datasheet HTML 195Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 191 / 262 page
background image
ST72561
191/262
beCAN CONTROLLER (Cont’d)
In the worst case configuration, if the CAN cell
speed is set to the maximum baud rate, one bit
time is 8 CPU cycle. In this case the minimum time
between the end of the acknowledge and the criti-
cal period is 52 CPU cycles (48 for the 6 bit times
+ 4 for the (PROP SEG + TSeg 1). According to the
previous code timing, we need less than 15 cycles
from the time we see the dominant state to the
time we perform the FIFO release (one full loop +
the actual release) therefore the application will
never release the FIFO at the critical time when
this workaround is implemented.
Timing analysis
- Time spent in the workaround
Inside a CAN frame, the longest period that the Rx
pin stays in recessive state is 5 bits. At the end of
the frame, the time between the acknowledge
dominant bit and the end of reception (signaled by
REC bit status) is 8TCANbit, therefore the maxi-
mum
time
spent
in
the
workaround
is:
8TCANbit+Tloop+Ttest+Trelease in this case or
8TCANbit+25TCPU.
At low speed, this time could represent a long de-
lay for the application, therefore it makes sense to
evaluate how frequently this delay occurs.
In order to reach the critical FMP=2, the CAN node
needs to receive 2 messages without servicing
them. Then in order to reach the critical window,
the cell has to receive a third one and the applica-
tion has to release the mailbox at the same time, at
the end of the reception.
In the application, messages are not processed
only if either the interrupt are disabled or higher
level interrupts are being serviced.
Therefore if:
TIT higher level + TIT disable + TIT CAN < 2 x T CAN frame
the application will never wait in the workaround
TIT higher level: This the sum of the duration of all the
interrupts with a level strictly higher than the CAN
interrupt level
TIT disable: This is the longest time the application
disables the CAN interrupt (or all interrupts)
TIT CAN: This is the maximum duration between
the beginning of the CAN interrupt and the actual
location of the workaround
TCAN frame: This is minimum CAN frame duration
Figure 111. Critical Window Timing Diagram
Figure 112. Reception of a Sequence of Frames
A release is not
allowed at this time
Critical window: the received
message is placed in the FIFO
CAN Frame
Acknowledge: last
dominant bit in the frame
Time to test RX pin and to
release the FIFO 4.5 µs@4MHz Time between the end of the
acknowledge and the critical windows
- 6 full CAN bit times+ time to the sample point
approx. 13µs @ 500kBd
0
12
2
TCAN frame 1TCAN frame 2TCAN frame 3
FMP
BUS
CPU
TIT disable
TIT higher level
TIT CAN



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 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
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