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

X  

ST72561 Datasheet(PDF) 192 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) 192 Page - STMicroelectronics

Back Button 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 ST72561 Datasheet HTML 196Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 192 / 262 page
background image
ST72561
192/262
beCAN CONTROLLER (Cont’d)
Side-effect of Workround 1
Because the while loop lasts 10 CPU cycles, at
high baud rate, it is possible to miss a dominant
state on the bus if it lasts just one CAN bit time and
the bus speed is high enough (see Table 28)
Table 28. While Loop Timing
If this happens, we will continue waiting in the
while loop instead of releasing the FIFO immedi-
ately. The workaround is still valid because we will
not release the FIFO during the critical period. But
the application may lose additional time waiting in
the while loop as we are no longer able to guaran-
tee a maximum of 6 CAN bit times spent in the
workaround.
In this particular case the time the application can
spend in the workaround may increase up to a full
CAN frame, depending of the frame contents. This
case is very rare but happens when a specific se-
quence is present on in the CAN frame.
The example in Figure 113 shows reception at
maximum CAN baud rate: in this case TCAN is 8/
Fcpu and the sampling time is 10/Fcpu.
If the application is using the maximum baud rate
and the possible delay caused by the workaround
is not acceptable, there is another workaround
which reduces the Rx pin sampling time.
Workaround 2 (see Figure 114) first tests that
FMP=2 and the CAN cell is receiving, if not the
FIFO can be released immediately. If yes, the pro-
gram goes through a sequence of test instructions
on the RX pin that last longer than the time be-
tween the acknowledge dominant bit and the criti-
cal time slot. If the Rx pin is in recessive state for
more than 8 CAN bit times, it means we are now
after the acknowledge and the critical slot. If a
dominant bit is read on the bus, we can release the
FIFO immediately. This workaround has to be writ-
ten in assembly language to avoid the compiler
optimizing the test sequence.
The implementation shown here is for the CAN
bus maximum speed (1MBd @ 8MHz CPU clock).
Figure 113. Reception at maximum CAN baudrate
fCPU
Software
timing:
While loop
Minimum baud rate for
possible missed
dominant bit
8 MHz
1.25 µs
800 kBaud
4 MHz
2.5 µs
400 kBaud
fCPU
10/fCPU
fCPU/10
Sampling of Rx pin
CAN Bus signal
D R RR R D R RR R
R R R R
D R RR R D R R R R D



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