S12ZVC Problem of simultaneous use of ADC and EEPROM

cancel
Showing results for 
Search instead for 
Did you mean: 

S12ZVC Problem of simultaneous use of ADC and EEPROM

105 Views
Contributor II

Hello,
I use S12ZVCA19.
I used the sample code to create an ADC input and a PWM output.
I added the sample code of ZVL32-EEPROM-CW106 here to check that EEPROM works.
I would like to write EEPROM when the MCU is running and continue to use ADC after that.
However, after the EEPROM is executed, the ADC cannot read the value.
while (0x00 == ADC0CONIF) {} <- It will stop at this point.
How do I use ADC and EEPROM together?

If you can't use it together, please suggest another method.
I look forward to your answer.
Thank you.

0 Kudos
0 Replies