This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] MSP432驱动程序库3_21_00_05 RTC功能问题

Guru**** 2540720 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/585133/msp432-driverlib-3_21_00_05-rtc-fuction-issue

1.我想用ROM中的MSP432 driverlib来安装软件,我想 用RTC实现1秒的中断,但两个函数没有正确执行, 结果如下所示

(1) driverlib版本为03_21_00_05

(2) ROM版本如下(03.00 .00.10)

MAP_RTC_C_setPrescaleValue (0255);
MAP_RTC_C_setPrescaleValue (1128);

上述功能未更改RTC寄存器的值(如下图所示,RT0IP和RT1IP保持不变)

2、直接使用REGISTER时,它会像下图一样正确地显示(RT0IP和RT1IP更新正确)

所以,RTC的dirriver lib中是否有错误,或者我没有正确使用它?

如果 我错了,请教我如何 使用driverlib正确更改RT0IP和RT1IP

谢谢

KIssnLiu

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    是的,您回答正确,这是一个错误。 我已提交了相应的文件。

    谢谢,此致,
    Chris