S12ZVML128 ADC programming.

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

S12ZVML128 ADC programming.

1,497件の閲覧回数
albertolega
Contributor I

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

ラベル(1)
0 件の賞賛
返信
3 返答(返信)

1,204件の閲覧回数
iggi
NXP Employee
NXP Employee

Hi,

please, see my post here:

S12ZVC_ multiple ADC channels

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.

0 件の賞賛
返信

1,204件の閲覧回数
albertolega
Contributor I

Thank you very much. Now it is more clear.

0 件の賞賛
返信

1,204件の閲覧回数
iggi
NXP Employee
NXP Employee

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."

0 件の賞賛
返信