| 数据搜索系统,热门电子元器件搜索 |
|
ST10F276Z5 数据表(PDF) 57 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ST10F276Z5 数据表(HTML) 57 Page - STMicroelectronics |
|
57 / 239 page ![]() ST10F276Z5 Bootstrap loader 57/239 This process may go through several iterations or may directly execute the final application. In all cases the device still runs in BSL mode, that is, with the watchdog timer disabled and limited access to the internal Flash area. All code fetches from the internal IFLASH area (01’0000H...08’FFFFH) are redirected to the special Test-Flash. Data read operations access the internal Flash of the device. 5.3.5 Choosing the baud rate for the BSL via UART The calculation of the serial baud rate for ASC0 from the length of the first zero byte that is received allows the operation of the bootstrap loader of the device with a wide range of baud rates. However, the upper and lower limits must be kept to ensure proper data transfer. The device uses timer T6 to measure the length of the initial zero byte. The quantization uncertainty of this measurement implies the first deviation from the real baud rate; the next deviation is implied by the computation of the S0BRL reload value from the timer contents. The formula below shows the association: For a correct data transfer from the host to the device, the maximum deviation between the internal initialized baud rate for ASC0 and the real baud rate of the host should be below 2.5%. The deviation (FB, in percent) between host baud rate and device baud rate can be calculated using the formula below: Note: Function (FB) does not consider the tolerances of oscillators and other devices supporting the serial communication. This baud rate deviation is a nonlinear function depending on the CPU clock and the baud rate of the host. The maxima of the function (FB) increases with the host baud rate due to the smaller baud rate prescaler factors and the implied higher quantization error (see Figure 10). Figure 10. Baud rate deviation between host and ST10F276Z5 The minimum baud rate (BLow in Figure 10) is determined by the maximum count capacity of timer T6, when measuring the zero byte, that is, it depends on the CPU clock. Using the maximum T6 count 216 in the formula the minimum baud rate is calculated. The lowest fCPU 32 S0BRL 1 + () ⋅ ---------------------------------------------- BST10F276 = S0BRL T6 36 – 72 -------------------- = T6 9 4 --- fCPU BHost ----------------- ⋅ = , FB BContr BHost – BContr ------------------------------------------- 100 ⋅ = % FB 2.5 ≤ % , BLow 2.5% FB BHigh I II BHOST |
|
链接网址 |
| 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 |