Hello ,
the chip is MC9S12ZVML128MKH, CW10. 6.4
In the configuration of the Init_GDU, the “Current sense amplifier” can not be disabled or the “Amplifier
Output” can not be disabled , does this is a bug or it is sure can not disabled ?
I want to use the pin “PAD5_KWAD5_AN1_0_AMP1” as AD channel , while in the
“Init_GDU” can not disable this pin .
Thank you very much !
Fan
Hi,
the ADC function has priority over the AMP function on this pin. See Table 1-9. Pin Summary in the latest datasheet.
Therefore the the external pin can be used as ATD input channel, The Current Sense Amplifier (CSA) feature in GDU should be disabled in such case.
Btw, the CSA output voltage can be routed to ADC channel internally. Check the chapter 18.4.8 Current Sense Amplifier and Overcurrent Comparator in the MC9S12ZVM ref.manual.
So the usage depends on your application and measurements you plan to do.
Regards,
iggi