1 / 14

dsPIC DSC –Modul A/D

dsPIC DSC –Modul A/D. Conversia A/D Registre programare Secventa configurare. Converise A/D. Parametri conversie A/D. dsPIC 33 – Caracteristici modul A/D. Modul A/D 10 biti. Modul A/D 12 biti. Model programare. ADCON1. ADCON2. ADCON3. ADCHS. ADPCFG - ADCSSL. Configurare modul A/D.

operry
Download Presentation

dsPIC DSC –Modul A/D

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. dsPIC DSC –Modul A/D Conversia A/D Registre programare Secventa configurare

  2. Converise A/D

  3. Parametri conversie A/D

  4. dsPIC 33 – Caracteristici modul A/D

  5. Modul A/D 10 biti

  6. Modul A/D 12 biti

  7. Model programare

  8. ADCON1

  9. ADCON2

  10. ADCON3

  11. ADCHS

  12. ADPCFG - ADCSSL

  13. Configurare modul A/D a) Select port pins as analog inputs (AD1PCFGH<15:0> or AD1PCFGL<15:0>) b) Select voltage reference source to match expected range on analog inputs (AD1CON2<15:13>) c) Select the analog conversion clock to match desired data rate with processor clock (AD1CON3<7:0>) d) Determine how many S/H channels is used (AD1CON2<9:8> an AD1PCFGH<15:0> or AD1PCFGL<15:0>) e) Select the appropriate sample/conversion sequence (AD1CON1<7:5> and AD1CON3<12:8>) f) Select how conversion results are presented in the buffer (AD1CON1<9:8>) g) Turn on ADC module (AD1CON1<15>) 2. Configure ADC interrupt (if required): a) Clear the AD1IF bit b) Select ADC interrupt priority

More Related