大家好、我正在尝试使用 MSP430FR2433读取 I2C 上的 DS1621温度传感器。
IAR ASEMBLER 是否有任何代码示例(I2C 器件的读取/写入寄存器)?
一切都很有帮助!
谢谢、
Vitaly
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.
大家好、我正在尝试使用 MSP430FR2433读取 I2C 上的 DS1621温度传感器。
IAR ASEMBLER 是否有任何代码示例(I2C 器件的读取/写入寄存器)?
一切都很有帮助!
谢谢、
Vitaly
您好、Vitaly、
没有用于 I2C 的 IAR 汇编示例代码。 您可以将下面的 SPI 代码示例用作参考,并将 C (\slac700c\MSP430FR243x_MSP430FR253x_MSP430FR263x_Code_examples\C)中的 I2C 示例代码移植到汇编。
msp430fr243x_uscia0_spi_09.s43 eUSCI_A0、SPI 3线主器件递增数据
msp430fr243x_uscia0_spi_10.s43 eUSCI_A0、SPI 3线从器件数据回波
msp430fr243x_uscia0_spi_11.s43 eUSCI_A0、SPI 4线制主器件递增数据
msp430fr243x_uscia0_SPI_12.s43 eUSCI_A0、SPI 4线从数据回波