Problem with ADC for 56F8037

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

Problem with ADC for 56F8037

2,275件の閲覧回数
Krtektor
Contributor I
Hi.
I made an interface for control of electric drives but for sensing current i needed reference volteges Ureflo=1.65V and Urefh=3.3V. However, the ADC doesnt operate correctly for this configuration.  Can anybody help me?
0 件の賞賛
返信
2 返答(返信)

1,174件の閲覧回数
Deeftepo
Contributor I

Hi.

I´m need use external reference voltages for de ADC. I´m using CodeWarrior and de EVM, the code generated look fine, but all mesures are 0.

 

... 

setReg(ADC_CAL,0x3000);  

 

Thanks. 

0 件の賞賛
返信

1,174件の閲覧回数
jag
Contributor IV
Hi,

you have to connect the two references at the right pins (for example at Vrefha and Vrefla). Then you have to set the right bits in the CAL register or the ADC.

Please check the 56F8037 datasheet and the 56F803X Peripheral Reference Manual for details.

Hope this helps.

Bye Jack
0 件の賞賛
返信