Part Number: AM4372
Hi,
We have received some questions from our customers on how to use ADC.
1) How to use ADC0
They want to use CH1 to trigger ext_hw_trigger and CH2-8 to monitor the voltage periodically by software.
Is it possible to use the following settings to achieve this?
・Enable steps 0 to 7 using the ADC0_STEPEN Register.
ADC0_STEPCONFIG_0 Register setting value 0184300Ah (Table 11-23.)
[22:19]SEL_INP_SWC 0h (Channel 1)
[1-0]MODE 2h (HW synchronized, one-shot)
ADC0_STEPCONFIG_1 Register setting value 018C3008h (Table 11-23.)
[22:19]SEL_INP_SWC 1h (Channel 2)
[1-0]MODE 0h (SW enabled, one-shot)
Specify the STEPCONFIG registers from CH 3 to 8 in the same way, and operate them with SW enabled and one-shot in the same way as the STEPCONFIG_1 Register.
2) How to use ADC1
I am thinking of using ADC0 and ADC1 in the same way.
3) How long does it take from the time ext_hw_trigger is set to Higth until the sequence in Figure 11-4 starts? Also, please let me know if there is a range in this time.
Best Regards,
Kouji Nishigata