Problem with ADC for 56F8037

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Problem with ADC for 56F8037

1,639 Views
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 Kudos
Reply
2 Replies

538 Views
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 Kudos
Reply

538 Views
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 Kudos
Reply