| поискавой системы для электроныых деталей |
|
ST10F276 датащи(PDF) 56 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ST10F276 датащи(HTML) 56 Page - STMicroelectronics |
|
56 / 229 page ![]() Bootstrap loader ST10F276 56/229 This process may go through several iterations or may directly execute the final application. In all cases the ST10F276 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 ST10F276. 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 ST10F276 with a wide range of baud rates. However, the upper and lower limits must be kept to ensure proper data transfer. The ST10F276 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 ST10F276, 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 ST10F276 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 ST10F276 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 --------------- ⋅ = , BLow 2.5% FB BHigh I II BHOST |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю 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 |