| Os motores de busca de Datasheet de Componentes eletrônicos |
|
AN3023 Folha de dados(PDF) 16 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN3023 Folha de dados(HTML) 16 Page - STMicroelectronics |
|
16 / 23 page ![]() Configuring ADC registers for conversion AN3023 16/23 Doc ID 16113 Rev 1 Synchronization between two ADCs This feature can be applied only if the device contains both ADC modules (ADC and ADC2). The synchronization mechanism can only be used for single conversion and can be triggered either by software or by hardware. To start the synchronous conversion, the ADSE bit must be set to ‘1’ in the CR3 registers of both ADC and ADC2. When the ADS bit of the master ADC module is set, or another event triggers a conversion on the master ADC module, a conversion on the slave module (ADC2) is triggered synchronously. Example 7 ● fMASTER = 4 MHz ● fADC = fADC2 = 2 MHz ● Channels: AIN2 on ADC and AIN1 on ADC2 ● Left alignment ● Starting ADC and ADC2 by software For Example 7, the ADC registers should be configured as follows: //ADC2 setting - SLAVE ADC2_CSR:CH[3:0] = 0001 → AIN1 channel ADC2_CR1 ADON = 1; → ADC2 power on Wait (14/fADC) → stabilization time before starting the conversion //ADC setting - MASTER ADC_CSR:CH[3:0] = 0010 AIN2 channel ADC_CR1 ADON = 1; → ADC power on Wait (14/fADC) → stabilization time before starting the conversion ADC_CR3:ADSE = 1; //enable sync on ADC ADC2_CR3:ADSE = 1; //enable sync on ADC2 ADC_CR3:ADS = 1; //ADS start trigger, parallel conversion is started Note: Before starting synchronization conversion, the two ADC modules have to be programmed with the same clock prescaler values. It is recommended to program the prescaler register before switching on the ADCs. |
|
|
Ligação URL |
| ALLDATASHEET é útil para você? [ DONATE ] |
Sobre Alldatasheet | Publicidade | Contato conosco | Privacy Policy | Link para a ficha técnica | roca de Link | Lista de Fabricantes 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 |