RTC Temperature compenstation on K22FN512

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

RTC Temperature compenstation on K22FN512

935件の閲覧回数
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 返信

913件の閲覧回数
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 件の賞賛
返信