hello everyone!
I use the compare mode of lpit0 and accidentally set tval0 to 0 in the program. I find that cval0 starts count from 0xFFFF_FFFF. Why?
Thanks.
解決済! 解決策の投稿を見る。
Hi 永锋 季,
00000000000000000000000000000000b - Invalid load value in compare mode
00000000000000000000000000000001b - Invalid load value in compare mode
Best Regards,
Robin
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi 永锋 季,
The Access of Current Timer Value CVAL is RO(read only). I don't know why you write 0 to it.
I am not sure if it was caused by below:
Best Regards,
Robin
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Robin_Shen,
Sorry, I want to say tval0. So my question is:
I use the compare mode of lpit0 and accidentally set tval0 to 0 in the program. I find that cval0 starts count from 0xFFFF_FFFF. Why?
Hi 永锋 季,
00000000000000000000000000000000b - Invalid load value in compare mode
00000000000000000000000000000001b - Invalid load value in compare mode
Best Regards,
Robin
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Thank you,Robin_Shen. I got it.
2020-05-21