Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

AN1105 Datasheet(PDF) 55 Page - STMicroelectronics

Part # AN1105
Description  ST7 pCAN PERIPHERAL DRIVER
PDF  100 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN1105 Datasheet(HTML) 55 Page - STMicroelectronics

Back Button AN1105 Datasheet HTML 51Page - STMicroelectronics AN1105 Datasheet HTML 52Page - STMicroelectronics AN1105 Datasheet HTML 53Page - STMicroelectronics AN1105 Datasheet HTML 54Page - STMicroelectronics AN1105 Datasheet HTML 55Page - STMicroelectronics AN1105 Datasheet HTML 56Page - STMicroelectronics AN1105 Datasheet HTML 57Page - STMicroelectronics AN1105 Datasheet HTML 58Page - STMicroelectronics AN1105 Datasheet HTML 59Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 55 / 100 page
background image
55/100
ST7 pCAN PERIPHERAL DRIVER
3.3 A FEW WORDS ABOUT DRIVER PERFORMANCE
3.3.1 CPU Load
Let’s imagine the following situation:
– Bus rate: 100 kilobauds
– Bus load: 80%
– FCPU: 8 MHz
– 14 identifiers (typical value) have to be received.
Let’s measure the time spent inside the interrupt function when a message is received. The
application processing inside the notification functions must be minimal: they only return a
buffer to be filled.
We retrieve the following results:
– 8 bytes data message, filter match: 105 µs
– 0 bytes data message, filter match: 90 µs
– Any message, filter no match: 50 µs
Note: Any message, if only the eight most significant bits match, takes 100 µs. That is to say almost as
much time as with matching identifier. So it is better to chose the identifiers wisely, in order to prevent
this from occurring as much as possible.
The longest possible message (2.0A standard) is 130 bits long (including stuffing bits). Im-
agine that all messages on the bus are that long. Consequently, there will be 615 messages
per second on the bus, that’s to say one message every 1.625 µs. The saving of data lasts
105 µs, so the CPU load is in this case 6.5%.
The same calculation for 0-byte messages (shortest possible) leads us to 15.3% CPU load.
Note that these are worst case scenarios! Not all the messages on the bus have to be saved.
And the bus load chosen here is pretty heavy (typical values are rather around 40%).
Do not forget to multiply or divide these values if you want an estimation of CPU load under
other bus speed/bus loading conditions and other FCPU speeds.



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


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