| 数据搜索系统,热门电子元器件搜索 |
|
ST10F296 数据表(PDF) 85 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ST10F296 数据表(HTML) 85 Page - STMicroelectronics |
|
85 / 346 page ![]() Obsolete Product(s) - Obsolete Product(s) ST10F296E The bootstrap loader 85/346 6.4.7 Bootstrap via CAN After the bootstrap phase, the ST10F296E CAN module is configured as follows: ● Pin P4.6 is configured as output (the latch value is: 1 = recessive) to assume CAN1_TxD function. ● The MO2 is configured to output the acknowledge of the bootstrap with the standard identifier E6h, DLC = 3, Data0 = D5h, and Data1&2 = IDCHIP. ● The MO1 is configured to receive messages with the standard identifier 5h. Its acceptance mask is set in order that all bits must match. The DLC received is not checked: The ST10 expects only 1 byte of data at a time. No other message is sent by the ST10F296E after the acknowledge. Note: The CAN bootstrap loader waits for 128 bytes of data instead of 32 bytes (see Section 6.3: Standard bootstrap with UART (RS232 or K-line) on page 73). This is to allow the user to reconfigure the CAN bit rate as soon as possible. 6.5 Comparing the old and the new bootstrap loader Table 40 and Table 41 summarize the differences between bootstrapping via UART only (old ST10 method) and bootstrapping via UART or CAN (new ST10F296E method). 6.5.1 Software aspects As CAN1 is needed, the XPERCON register is configured by the bootstrap loader code and the XPEN bit of the SYSCON register is set. This is done as follows: ● Disable the XPeripherals by clearing the XPEN bit in the SYSCON register. Caution: This part of code must not be located in the XRAM, because if so, it is disabled. ● Enable the XPeripherals that are needed by writing the correct value in the XPERCON register. ● Set the XPEN bit in the SYSCON. Note: The settings can be modified if the EINIT instruction is not executed (and is not in the bootstrap loader code). Table 40. Software topics summary Old bootstrap loader New bootstrap loader Comments Uses only 32 bytes in dual- port RAM from 00’FA40h Uses up to 128 bytes in dual-port RAM from 00’FA40h For compatibility between bootstrapping via UART and bootstrapping via CAN1, avoid loading the application software in the 00’FA60h/00’FABFh range Loads 32 bytes from the UART Loads 32 bytes from UART (bootstrapping via UART mode) Same files can be used for bootstrapping via UART User selected XPeripherals can be enabled during bootstrapping (see steps 3 and 4 of Section 6.2.3: Booting steps on page 70) XPeripherals selection is fixed. User can change the XPeripheral selections through a specific code Obsolete Product(s) - Obsolete Product(s) |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| 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 |