你(们)好
我已将 STM32F103示例移植到 STM32G474。 示例正常、电压和温度读数正常、但当我要使用 子命令(即 void BQ769x2_ReadPassQ ())时、我获得了 HardFault。
Hardfault 出现在 I2C_ReadReg (0x40、RX_32byte、32)之后;(更准确地说、在 CopyArray (RX_Buffer、REG_DATA、CRC_COUNT)之后;在 I2C_ReadReg 函数中)
具有 CRC 功能的 I2C
有什么想法吗?
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.
你(们)好
我已将 STM32F103示例移植到 STM32G474。 示例正常、电压和温度读数正常、但当我要使用 子命令(即 void BQ769x2_ReadPassQ ())时、我获得了 HardFault。
Hardfault 出现在 I2C_ReadReg (0x40、RX_32byte、32)之后;(更准确地说、在 CopyArray (RX_Buffer、REG_DATA、CRC_COUNT)之后;在 I2C_ReadReg 函数中)
具有 CRC 功能的 I2C
有什么想法吗?