전자부품 데이터시트 검색엔진
  Korean  ▼
ALLDATASHEET.CO.KR

X  

ST10F276E 데이터시트(PDF) 63 Page - STMicroelectronics

부품명 ST10F276E
상세설명  16-bit MCU with MAC unit 832 Kbyte Flash memory and 68 Kbyte RAM
PDF  235 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
제조업체  STMICROELECTRONICS [STMicroelectronics]
홈페이지  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

ST10F276E 데이터시트(HTML) 63 Page - STMicroelectronics

Back Button ST10F276E Datasheet HTML 59Page - STMicroelectronics ST10F276E Datasheet HTML 60Page - STMicroelectronics ST10F276E Datasheet HTML 61Page - STMicroelectronics ST10F276E Datasheet HTML 62Page - STMicroelectronics ST10F276E Datasheet HTML 63Page - STMicroelectronics ST10F276E Datasheet HTML 64Page - STMicroelectronics ST10F276E Datasheet HTML 65Page - STMicroelectronics ST10F276E Datasheet HTML 66Page - STMicroelectronics ST10F276E Datasheet HTML 67Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 63 / 235 page
background image
ST10F276E
Bootstrap loader
Doc ID 12303 Rev 3
63/235
Error induced by the polling
The code used for the polling is the following:
WaitCom:
JNB
P4.5,CAN_Boot
; if SOF detected on CAN, then go to
CAN
; loader
JB
P3.11,WaitCom
; Wait for start bit at RxD0
BSET T6R
; Start Timer T6
....
CAN_Boot:
BSET PWMCON0.0
; Start PWM Timer0
; (resolution is 1 CPU clk cycle)
JMPR cc_UC,WaitRecessiveBit
WaitDominantBit:
JB
P4.5,WaitDominantBit; wait for end of stuff bit
WaitRecessiveBit:
JNB
P4.5,WaitRecessiveBit; wait for 1st dominant bit = Stuff
bit
CMPI1R1,#5
; Test if 5th stuff bit detected
JMPR cc_NE,WaitDominantBit; No, go back to count more
BCLR PWMCON.0
; Stop timer
; here the 5th stuff bit is detected:
; PT0 = 29 Bit_Time (25D and 4R)
Therefore the maximum error at the detection of the communication on CAN pin is:
(1 not taken + 1 taken jumps) + 1 taken jump + 1 bit set: (6) + 6 CPU clock cycles
The error at the detection for the 5th recessive bit is:
(1 taken jump) + 1 not taken jump + 1 compare + 1 bit clear: (4) + 6 CPU cycles
In the worst case, the induced error is 6 CPU clock cycles, so the polling could induce an
error of 6 timer ticks.
Error induced by the baud rate calculation
The content of the timer PT0 counter corresponds to 29 bit times, resulting in the following
equation:
PT0 = 58 x (BRP + 1) X (1 + Tseg1 + Tseg2)
where BRP, Tseg1 and Tseg2 are the field of the CAN Bit Timing register.
The CAN protocol specification recommends to implement a bit time composed of at least 8
time quanta (tq). This recommendation is applied here. Moreover, the maximum bit time
length is 25 tq. To ensure precision, the aim is to have the smallest Bit Rate Prescaler (BRP)
and the maximum number of tq in a bit time.
This gives the following ranges for PT0 according to BRP:
8
≤ 1 + Tseg1 + Tseg2 ≤ 25
464 x (1 + BRP)
≤ PT0 ≤ 1450 x (1 + BRP)



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


데이터시트 다운로드

Go To PDF Page


링크 URL



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