Home > Developement Guide > FAQ |
FAQ |
HMS30C7202 : ADC LCD PMU PLL RESET SDRAM SMI MMC UART CAN SPI USB TIMER PWM PS2 KED GPIO APPLICATION |
HMS30C7201 : ADC PMU PLL ETC APPLICATION |
 |
Q1. I use an external RTC device with a backup battery. This voltage of the backup battery is measured by the 7202 ADC
(ADIN[3]). At power down (the RTC is powered by the battery) the 7202 ADIN[3] draws 0,5mA (the RTC needs only 1.6uA).
Can you suggest a solution?
|
|
|
|
|
 |
Q2. The ADC clock frequency aclk is 2..8MHz (ch.12.3). Is this an internal RC oscillator or why is the range so large?
|
|
|
|
|
 |
Q3. The conversion time is aclk/16. Because aclk has such a large range,how do I know exactly when the conversion is done?
I cannot find a dedicated "conversion ready" bit or interrupt in direct access mode.
|
|
|
|
|
 |
Q4. Register ADCCR, WAIT bits (ch.10.2.1.2) : what is the "ADC conversion wait time"? Is this sampling time (charge internal
S&H capacitor) before actual conversion starts?
|
|
|
|
|
 |
Q5. Is there no problem with corrupt/unstable data samples in automatic mode?
|
|
|
|
|
 |
Q6. WAIT bits(ch.10.1.2.1): "11: read ADC data on negative edge of ADEND signal".What is the ADEND signal? It is nowhere else
in the datasheet.
|
|
|
|
|
 |
Q7. If I set ADCCR.SOP=0, does the ADC convert all the time at maximum rate?If so: what is this rate, and how do I know when
there is a new sample in ADCDIRDATA?
|
|
|
|
|
 |
Q8. Bit ADCSDCR.SRATE: does this bit have any effect on sampling rate in direct access mode (other than on calibration time)?
|
|
|
|
|
 |
Q9. Sampling rate 8/11kHz: from which clock is this derived? FCLK/CCLK/aclk?
|
|
|
|
|
 |
Q10. I assume there is a S&H capacitor at the ADC input. What is the equivalent input circuit (usually this is given in terms of
series resistance and capacitance to GND)? How long is the sampling time? I need to know this because I have relatively large
source impedance ( > 30kOhms), and must calculate the capacitor needed to buffer the input.
|
|
|
|
|
 |
Q11. If I use the sound data capture unit (automatic sample, not direct access): when is the interrupt generated: after 1 sample,
after 4 samples (one ADCSDATA register), or after 32 samples (all ADCSDATA registers)? The latter makes sense, because it
has the lowest interrupt rate and one can read all 8 ADCSDATA registers at once.
|
|
|
|
|
 |
Q12. When the interrupt occurs, how much time do I have to read ADCSDATA0..7 before ADCSDATA0 is overwritten with the next
sound sample? Is it 125us (1 / 8kHz), or is it after 4x125us (when all 4 8bit samples for ADCSDATA0 are complete)?
|
|
|
|
|
 |
Q13. Is the following correct/possible to do:
1. INIT: Set ADCCR.ADCPD=0, .DIRECTC=1, .SOP=1 for power on, direct access,one-shot operation;
then wait calibration time
2. Select ADC channel with ADCDIRCR.ACH and set ADCDIRCR.AIOSTOP=0 to Start conversion
(one register write access).
(When conversion is over, the ADC sets AIOSTOP=1 and data is available in ADCDIRDATA)
3. After some time (e.g. 0.5ms -> sampling rate 2kHz): read value from ADCDIRDATA
4. Repeat with 2.
|
|
|
|
|
 |
Q14. What in the input impedance for the ADIN[0..4]?
|
|
|
|
|
 |
Q15. What is the input impedance or current consumption of AVREFADC?
|
|
|
|
|
 |
Q16. Can we adjust the input range by setting AVREFADC to a voltage different from AVDDADC (e.g. AVREFADC = 2.048V,
AVDDADC = 3.3V)?
|
|
|
|
|
 |
Q17. I assume there is a S&H capacitor at the ADC input. What is the equivalent input circuit (usually this is given in terms of
series resistance and capacitance to GND)? How long is the sampling time? I need to know this because I have relatively large
source impedance ( > 30kOhms), and must calculate the capacitor needed to buffer the input.
|
|
|
|
|