| поискавой системы для электроныых деталей |
|
AN1754 датащи(PDF) 9 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN1754 датащи(HTML) 9 Page - STMicroelectronics |
|
9 / 19 page ![]() 9/19 DATA LOGGING PROGRAM FOR TESTING ST7 APPLICATIONS VIA ICC 4.2 ADAPTING THE ST7 SOFTWARE In this package, tested workspaces are provided for implementing a data logging system for ST72F521 and ST72F264 devices using both Metrowerks and Cosmic toolchains. The work- sp aces h ave bee n nam ed AD C_HIW _5 21, A DC_CS MC_ 521 , A DC_ HIW_ 264 a nd ADC_CSMC_264 according to the combination of device and toolchain supported. All the workspaces use different toolchain and configuration settings for the same source code. This source code implements an application running the ADC to perform conversions continuously and sending back the contents of ADCDRH to the PC. The ST7_application, as delivered, is configured for the ST72F264 device. In order to migrate from one device to another, certain changes have to be made. All the following changes are to be made in main.h, except for the change described in Section 4.2.2. 4.2.1 Compiler path Please check paths in the configuration files for the compiler being used. 4.2.2 Microcontroller Selection You have to select the appropriate device in the ST7lib_config.h file and provide the corre- sponding peripheral registers and configuration files. 4.2.3 ICC Monitor Variant The ICC monitor on the ST7 micro controller may be a Basic, Medium or Advanced variant. The variant of the monitor determines the ICC commands supported by it. The different vari- ants and the ICC commands supported by them are summarized in Table 1 ICC Monitor Var- iant. Table 1. ICC Monitor Variant The variant of ICC monitor determines whether you have to provide the ICC Send Byte routine or not. Case: Medium or Advanced variants - You must update the address of the ICC Send Byte routine according to the addresses specified in the ICC Protocol Reference manual. Case: Basic variant - You call a user-programmed Send Byte routine, just like calling any other user specified function. In this case, you also have to update the ICCPort_xxx register references and the ICCCLK & ICCDATA pin references accordingly. Name ICC Monitor Variant Basic Medium Advanced ICC Command Write Memory X X X Go X X X Go New Context X Read memory X X Automatic Context Saving X |
|
|
ссылки 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 |