RTC Temperature compenstation on K22FN512

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

RTC Temperature compenstation on K22FN512

360 次查看
anujtanksali
Contributor II

Hi,

Am using K22FN512 device and the internal RTC deviates a lot with time. So wanted to implement a temperature compensation to reduce the RTC deviation.

I already tried implementing using the AN4949 and AN3031 documents but facing issues in reading the internal ADC for temperature.

So there are 2 aspects 

1. Read the internal ADC and calulate temperature

2. Compensate the RTC as per temperature read.

Can you please provide any sample codes which implement the above two points?

As I have already gone through the application notes and tried implementing as per application note without sucess, any sample code will be very helpfull.

Thanks

Anuj

 

 

 

0 项奖励
回复
1 回复

338 次查看
CarlosGarabito
NXP TechSupport
NXP TechSupport

Hi @anujtanksali , You will find some examples that  on SDK that can read the ADC

CarlosGarabito_0-1670475348475.png

 

 

And you can find the examples too for RTC witch can help you with your implementation

 

CarlosGarabito_1-1670475348475.png

it's a good idea to check this blog, this blog can teach you a lot of things https://mcuoneclipse.com/2013/02/10/tutorial-adc-with-the-freedom-board/ read through each of the topics and immerse yourself in knowledge

 

I hope this will help you

Have a good day

 

Best Regards

0 项奖励
回复