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.

[参考译文] BQ32002:使用 I2C (MSP430F6779A)进行 RTC 读取并发送到 UART-如何设置时间

Guru**** 2380860 points
Other Parts Discussed in Thread: MSP430F6779A, BQ32002
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/clock-timing-group/clock-and-timing/f/clock-timing-forum/1221539/bq32002-rtc-read-using-i2c-msp430f6779a-and-transmit-to-the-uart--how-to-set-time

器件型号:BQ32002
主题中讨论的其他器件:MSP430F6779A

大家好、  

 祝你一切顺利。 我正在定制电路板(使用微控制器 MSP430F6779A)中使用 RTC BQ32002。当我设置诸如{sec、min、hours、day、date、month、year}之类的时间时、我需要从微控制器 MSP430F6779A 读取 RTCBQ32002秒和分钟的值、其他值是不变的。

例如、

给定时间为、

uint8_t MasterType0 [TYPE_0_LENGTH]={50、58、11、6、28、 4、23};//{28/04/2023  11:58:50 AM}

类似输出、

在此上面的图像中、秒和分钟仅发生变化。

请告诉我犯了什么错误以及如何正确设置时间(我也参考了 BQ32002数据表)

提前感谢、

此致、

Priyadharshini