how to make ADC configuration with MC9S12ZVC

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

how to make ADC configuration with MC9S12ZVC

2,739件の閲覧回数
sunkemiao
Contributor II

I have made ADC configuratin according to  soft Demo AN5162 .Now I can use four channels to sample four groups data,but when I want to add a channel to sample data,the MC9S12ZVC do not work under Debugging.You can look at ADC initialization part of my code.

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

2,341件の閲覧回数
vinitekghare
Contributor I

Where to get AN5162??sunkemiao

0 件の賞賛
返信

2,341件の閲覧回数
danielmartynek
NXP TechSupport
NXP TechSupport

Hi,

I think you are looking for 

AN5168 Using the ADC Module in S12ZVM

AN5168SW

Regards,

Daniel

0 件の賞賛
返信

2,341件の閲覧回数
vinitekghare
Contributor I

Hi Daniel,

Thank you..

Regards,

Vinit

0 件の賞賛
返信

2,341件の閲覧回数
danielmartynek
NXP TechSupport
NXP TechSupport

Hi

 

You should use End_of_list command (CMD_SEL = 0xCx) only for the last channel, after that the measurement will be terminated. Also, make sure the RAM address you use to allocate lists is not address of the stack.

 

Regards

Daniel  

0 件の賞賛
返信

2,341件の閲覧回数
sunkemiao
Contributor II

Hi,Daniel:

I follow your advice.I use End_of list command only for the last channel.Now I can sample data. I am very happy,because the problem have perlexed me for long time.

0 件の賞賛
返信

2,341件の閲覧回数
sunkemiao
Contributor II

Hi,Daniel :

I have made the