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

X  

ST10F296 数据表(PDF) 82 Page - STMicroelectronics

部件名 ST10F296
功能描述  High performance 16-bit CPU with DSP functions
PDF  346 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

ST10F296 数据表(HTML) 82 Page - STMicroelectronics

Back Button ST10F296 Datasheet HTML 78Page - STMicroelectronics ST10F296 Datasheet HTML 79Page - STMicroelectronics ST10F296 Datasheet HTML 80Page - STMicroelectronics ST10F296 Datasheet HTML 81Page - STMicroelectronics ST10F296 Datasheet HTML 82Page - STMicroelectronics ST10F296 Datasheet HTML 83Page - STMicroelectronics ST10F296 Datasheet HTML 84Page - STMicroelectronics ST10F296 Datasheet HTML 85Page - STMicroelectronics ST10F296 Datasheet HTML 86Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 82 / 346 page
background image
Obsolete
Product(s)
- Obsolete
Product(s)
The bootstrap loader
ST10F296E
82/346
6.4.5
Choosing the baud rate for the BSL via CAN
The bootstrap via CAN acts in the same way as the UART bootstrap mode. When the
ST10F296E is started in BSL mode, it polls the RxD0 and CAN1_RxD lines. When polling a
low level on one of these lines, a timer is launched that is stopped when the line goes back
to high level.
For CAN communication, the algorithm is made to receive a zero frame, where the standard
identifier is 0x0 and DLC is 0. This frame produces the following levels on the network: 5D,
1R, 5D, 1R, 5D, 1R, 5D, 1R, 5D, 1R, 4D, 1R, 1D, 11R. The algorithm lets the timer run until
detection of the 5th recessive bit. In this way, the bit timing is calculated over 29 bit time
durations. This minimizes the error introduced by the polling.
Figure 13.
Bit rate measurement over a predefined zero-frame
Error induced by the polling
The code used for polling is as follows:
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
CMPI1 R1,#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)
The maximum error at detection of communication on the CAN pin is: (1 not taken + 1 taken
jumps) + 1 taken jump + 1 bit set: (6) + 6 CPU clock cycles
The error at detection of 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 scenario, the induced error is 6 CPU clock cycles. So, polling could induce
an error of 6 timer ticks.
........
Start
Stuff bit
Stuff bit
Stuff bit
Stuff bit
Measured time
Obsolete
Product(s)
- Obsolete
Product(s)



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


链接网址



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