Saving gain and offset data for Sequencing ADC

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
StFa_285751
Level 3
Level 3
25 replies posted 10 replies posted 5 replies posted

 Hi all,

   

I would like to have a bootloadable project that would run a calibration routine on the sequencing SAR ADC and store the gain and offset values in flash. I have seen this carried out for the delta sigma ADC where the gain and offset registers are mentioned (PSoC 3 and PSoC 5LP Analog Signal Chain Calibration).  I searched through the Register Technical Reference and the sequencing ADC header files to see if I could track down similar registers for the SAR ADCs but couldn't find any mention of them (the closest thing I found were the SAR trim registers but it mentions that they should not be touched and in any case are not exactly what I'm looking for.

   

Does anyone know if gain and offset registers exist in flash for the SAR ADCs?

   

Thanks,

   

Stephen

0 Likes
3 Replies
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

If you are going to do a cal routine then just use emulated EEPROM

   

component to save values. If I understand your question.

   

 

   

Regards, Dana.

0 Likes
StFa_285751
Level 3
Level 3
25 replies posted 10 replies posted 5 replies posted

 Yep, that'll work perfectly. Just didn't know if there were already registers for the gain and offset like for the Del Sig ADC.

   

I hadn't actually come across the Em EEPROM component before...very handy.

   

Thanks Dana.

0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

Glad to have been of assistance.

   

 

   

Regards, Dana.

0 Likes