| поискавой системы для электроныых деталей |
|
L9966 датащи(PDF) 41 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
L9966 датащи(HTML) 41 Page - STMicroelectronics |
|
41 / 122 page ![]() Result ADC channel x: Sequencer results are fed into internal buffers then, before reading SQNCR_RESULT_x registers, a copy command has to be issued. Copy command can be issued by the two following options: • SPI reading access on SQNCR_RSLT_COPY_CMD register • SYNC pin trigger, provided that it is configured to be used for copy command operation, setting SYNC_CMD_EN in SQNCR_CTRL register. SPI reading access on SQNCR_RSLT_COPY_CMD register always issues a copy command even in case SYNC_CMD_EN is set. Buffering operation: Figure 19. SEQUENCER flow example GADG0801181136PS The Figure 19 is an example of the sequencer using two EUs: EU1 has a sequence from CH1 to CH4, EU2 from CH5 to CH6. SYNC toggling has enabled the copy command. EU1 measures voltages (ADC1) while EU2 resistance (ADC2). 1. When EU1 completes its loop, interrupt is generated (see Section 9.3 Interrupt generation). 2. To read results, it is necessary to wait for the rising edge of SYNC filtered pulse, so that results are copied to the SPI registers. 3. At readout, results are read with the “new result flag”, except for the CH6 result which is not available yet. After readout, NEW_RESULT flag is cleared. 4. At next SYNC pulse, new results from EU1 are available. For EU2, only new result from CH6 is available, CH5 is read with its NEW_RESULT flag cleared. L9966 allows distinguishing whether data reported in SQNCR_RESULT_x register has been already read. In case of voltage measurement bit SQNCR_RESULT_x[14] is set (clear on read bit). For resistance measurement, instead, the whole content of the SQNCR_RESULT_x is reset once read. Table 25 describes the copy command according to the availability of a new result and SPI readout operation occurred before the copy command. Table 25 is referenced to each sequencer line; the copy command action has effect on all the 15 internal buffer result registers at the same time. Nonetheless, the NEW_RESULT flag is handled for each result individually, as the SPI readout operation is individual for each line. Table 25. Copy CMD effect SPI readout New measurement data available Copy command effect No readout No Overwrite SPI register with buffer content (same data) NEW_RESULT flag set L9966 Sequencer DS12459 - Rev 10 page 41/122 |
|
ссылки 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 |