| Electronic Components Datasheet Search |
|
HMS91C8032 Datasheet(PDF) 87 Page - Hynix Semiconductor |
|
|
|||||||||||||||||||||||||||||
HMS91C8032 Datasheet(HTML) 87 Page - Hynix Semiconductor |
|
87 / 157 page ![]() HMS91C8032/97C8032 84 NOV., 2001 Ver 1.02 Guideline on ADC Programmers who want to use ADC in HMS91C8032 series should follow the recommended rules. 1. To enter the power down mode, programmers should pow- er off the ADC using ADCCON.6 flag. When ADC is on, though HMS91C8032 is in the power down mode, static leakage current may be. 2. While ADC is converting analog input, HMS91C8032 core should do nothing except NOP instruction. This is the reason that some instructions would disrupt the ADC result. So, interrupt function should be disabled because when unexpected interrupt is called, some instructions in the interrupt routine may disrupt the ADC result. Example code is as follows. ADC conversion time can be calculate by 21*6*(1/fXX) seconds. If fMOSC is 7.2MHz and fCPU is 1/2 fMOSC, conversion time is approximately 22 ma- chine cycles. So, at least 22 NOP instructions are required for ADC conversion. Example code) ; Interrupt should be disabled mov adccon, #0e2h ; start ADC operation nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop mov a, adcdr ; read the conversion result Figure 4-41 ADC Block Diagram Avref+ Ladder Resistor Decoder P7.0 P7.1 P7.2 P7.7 000 001 010 111 Vin Sample & Hold Successive Approximation Circuit ADC Interrupt ADCDR |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |