| поискавой системы для электроныых деталей |
|
AN3181 датащи(PDF) 18 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN3181 датащи(HTML) 18 Page - STMicroelectronics |
|
18 / 31 page ![]() Class B solution structure AN3181 18/31 Doc ID 17286 Rev 2 routine. The user must force the reset vector to the first address in STL_StartUp() routine. The startup tests block structure is shown in Figure 5 and includes the following self tests: ● Watch dogs startup test ● CPU startup test ● Flash complete checksum test ● Full RAM March C-/X test ● Clock startup test ● Control flow checks These blocks are described in more details in the next chapters. User can control including them as usual in the configuration file stm8_stl_param.h. Figure 5. startup self tests structure 4.2.1 Watchdog startup self test The first startup self test is to enter WDG self test routine. The program passes through this routine three times. First the routine checks the reset source in reset status register. If Independent watchdog (IWDG) is not flagged in reset status register, then reset sources is cleared and IWDG test begins. The IWDG is set to the shortest period and the microcontroller is reset by hardware and IWDG flag is set (see Figure 6). The routine comes back to the beginning and check WDG flags. When IWDG is recognized, it looks for WWDG flag. If WWDG is not flagged, the test continues a second time with window watchdog (WWDG) test. Again the microcontroller is reset by hardware and WWDG flag is set. When both WDG flags are set in the reset status register, the test is assumed as finished and both flags are cleared. WWDG is not present at STM8L10x devices, so WWDG test is not present. User must carefully set both IWDG and WWDG periods. Time periods and window refresh parameters must be set according to the time base interval because refresh is done at the successful end of the periodical run mode test in main loop. |
|
ссылки 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 |