How to change the bit of TDCEN and how to confirm it is changed?

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

How to change the bit of TDCEN and how to confirm it is changed?

654 Views
kimjunghyun
Contributor III

Hi.

I should check the bit value of the TDCEN but I have a problem.

My problem is as below.

How can I change the bit of TDCEN and confirm whether it is changed or not?

 - I changed the bit of TDCEN at the EmbSys Registers but these bits were not changed.

 - So I changed these bits at the source code, but I was not sure that these bits were changed.

   Because these bits at the EmbSys Registers were changed(1) during RUN but were returned to initial value(0) during SUSPEND.

 - In other words, I could not confirm that  the bit value of TDCEN was changed.

 

 

■ At the EmbSys Registers :

 1. I changed TDCEN bit to 1

TDCEN.jpg

 2. but this bit was not changed (the bit was returned to initial value 0, TDC is disabled)

TDCEN_변경안됨.jpg

 

■ At the source code : 

 1. I changed TDCEN bit to 1

< Before code change >

TDCEN_code.jpg

< After code change : from x to 1 >

TDCEN_code_변경.jpg

 2. and TDCEN bit was changed (enabled) during RUN.

TDCEN_code_변경_반영됨.jpg

 3. but TDCEN bit was returned to initial value (disabled) during SUSPEND

TDCEN_code_변경_반영안됨.jpg

Thank you

Kim.

0 Kudos
Reply
1 Reply

498 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi Kim,

Please refer to https://community.nxp.com/thread/449651 for replies regarding this.

 

BR, Petr

0 Kudos
Reply