Dear all,
I need to set up ADC conversion list for executing triggered conversion. Reading reference manual I understood that the list can be set in RAM or NVM properly setteng a particular register. Moreover I understood that the list can contain up to 64 elements. What I miss are the values I should put in the list to associate an element to a specific ADC channel (internal or external) and what values are associated to End of Section and End of List.
Thank you very much.
Regards
Alberto
Hi,
please, see my post here:
There is example of ADC_init function and how Command and Result Value list can be defined. The command list is stored in NVM, while result list is in RAM. This is from simple reason that while command is executing from Flash, it cannot be stored in the same and so it is stored in RAM.
Note that the ADC module is the same on both S12ZVML and S12ZVC.
Hope it makes some things clear.
Thank you very much. Now it is more clear.
Good to hear that. I reviewed my post and found a typo in one sentence, so now it is like this:
"This is from simple reason that while command is executing from Flash, it cannot be stored in the same and so it is stored in RAM."