欢迎访问ic37.com |
会员登录 免费注册
发布采购

ST10F276S-4T3 参数 Datasheet PDF下载

ST10F276S-4T3图片预览
型号: ST10F276S-4T3
PDF下载: 下载PDF文件 查看货源
内容描述: 16位MCU与MAC单元832 KB的闪存和68 KB的RAM [16-bit MCU with MAC unit 832 Kbyte Flash memory and 68 Kbyte RAM]
分类和应用: 闪存
文件页数/大小: 235 页 / 2491 K
品牌: STMICROELECTRONICS [ ST ]
 浏览型号ST10F276S-4T3的Datasheet PDF文件第57页浏览型号ST10F276S-4T3的Datasheet PDF文件第58页浏览型号ST10F276S-4T3的Datasheet PDF文件第59页浏览型号ST10F276S-4T3的Datasheet PDF文件第60页浏览型号ST10F276S-4T3的Datasheet PDF文件第62页浏览型号ST10F276S-4T3的Datasheet PDF文件第63页浏览型号ST10F276S-4T3的Datasheet PDF文件第64页浏览型号ST10F276S-4T3的Datasheet PDF文件第65页  
ST10F276E  
Bootstrap loader  
5.4.3  
ST10 configuration in CAN BSL  
When the ST10F276E enters BSL mode via CAN, the configuration shown in Table 31 is  
automatically set (values that deviate from the normal reset values are marked in bold).  
Table 31. ST10 configuration in CAN BSL  
Function or register  
Access  
Disabled  
Notes  
Watchdog timer  
Register SYSCON  
Context pointer CP  
Register STKUN  
Stack pointer SP  
Register STKOV  
(1)  
0404H  
FA00H  
FA00H  
FA40H  
FC00H  
XPEN bit set  
acc. to startup  
config.(2)  
Register BUSCON0  
CAN1 Status/Control register 0000H  
Initialized only if Bootstrap via CAN  
Initialized only if Bootstrap via CAN  
XRAM1-2, XFlash, CAN1 and XMISC enabled  
Initialized only if Bootstrap via CAN  
Initialized only if Bootstrap via CAN  
CAN1 Bit timing register  
XPERCON  
acc. to ‘0’ frame  
042DH  
‘1’  
P4.6 / CAN1_TxD  
DP4.6  
‘1’  
1. In Bootstrap modes (standard or alternate) ROMEN, bit 10 of SYSCON, is always set regardless of EA pin  
level. BYTDIS, bit 9 of SYSCON, is set according to data bus width selection via Port0 configuration.  
2. BUSCON0 is initialized with 0000h, external bus disabled, if pin EA is high during reset. If pin EA is low  
during reset, BUSACT0, bit 10, and ALECTL0, bit 9, are set enabling the external bus with lengthened ALE  
signal. BTYP field, bit 7 and 6, is set according to Port0 configuration.  
Other than after a normal reset, the watchdog timer is disabled, so the bootstrap loading  
sequence is not time limited. Pin CAN1_TxD1 is configured as output, so the ST10F276E  
can return the identification frame. Even if the internal IFLASH is enabled, a code cannot be  
executed from it.  
5.4.4  
Loading the start-up code via CAN  
After sending the acknowledge byte, the BSL enters a loop to receive 128 bytes via CAN1.  
Hint: The number of bytes loaded when booting via the CAN interface has been extended to  
128 bytes to allow the reconfiguration of the CAN Bit Timing Register with the best timings  
(synchronization window, ...). This can be achieved by the following sequence of  
instructions:  
ReconfigureBaud rate:  
MOV R1,#041h  
MOV DPP3:0EF00h,R1; Put CAN in Init, enable Configuration Change  
MOV R1,#01600h  
MOV DPP3:0EF06h,R1; 1MBaud at Fcpu = 20 MHz  
These 128 bytes are stored sequentially into locations 00’FA40H through 00’FABFH of the  
IRAM, allowing up to 64 instructions to be placed into the RAM area. To execute the loaded  
code the BSL then jumps to location 00’FA40H, that is, the first loaded instruction. The  
Doc ID 12303 Rev 3  
61/235  
 
 复制成功!