SKEAZ128, ADC

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

SKEAZ128, ADC

555 Views
Chethana
Contributor I

I am trying configure the ADC on the board fdrm-skeaz128, the library is SKEAZ1284.h. The pin i am focusing on is PTA0. My problem is, i am giving a DC voltage (currently) 2.7V, but after the conversion the value i am getting is 1.8. Its the same with all voltages less than the reference voltage, when more than ref, i am getting 3.3V. I have tried with all resolutions. Any one plz do give some insights on this. I have given the main and adc init codes below.

0 Kudos
Reply
1 Reply

274 Views
Celeste_Liu
NXP Employee
NXP Employee

Hello @Chethana ,

Is there still any issue at the moment? If you need further assistance, please let me know, I’d be happy to help.
 
BR
Celeste
0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2303738%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ESKEAZ128%2C%20ADC%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2303738%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EI%20am%20trying%20configure%20the%20ADC%20on%20the%20board%20fdrm-skeaz128%2C%20the%20library%20is%26nbsp%3BSKEAZ1284.h.%20The%20pin%20i%20am%20focusing%20on%20is%20PTA0.%20My%20problem%20is%2C%20i%20am%20giving%20a%20DC%20voltage%20(currently)%202.7V%2C%20but%20after%20the%20conversion%20the%20value%20i%20am%20getting%20is%201.8.%20Its%20the%20same%20with%20all%20voltages%20less%20than%20the%20reference%20voltage%2C%20when%20more%20than%20ref%2C%20i%20am%20getting%203.3V.%20I%20have%20tried%20with%20all%20resolutions.%20Any%20one%20plz%20do%20give%20some%20insights%20on%20this.%20I%20have%20given%20the%20main%20and%20adc%20init%20codes%20below.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2345919%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20SKEAZ128%2C%20ADC%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2345919%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F259390%22%20target%3D%22_blank%22%3E%40Chethana%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%0A%3CDIV%3EIs%20there%20still%20any%20issue%20at%20the%20moment%3F%20If%20you%20need%20further%20assistance%2C%20please%20let%20me%20know%2C%20I%E2%80%99d%20be%20happy%20to%20help.%3C%2FDIV%3E%0A%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CDIV%3EBR%3C%2FDIV%3E%0A%3CDIV%3ECeleste%3C%2FDIV%3E%3C%2FLINGO-BODY%3E