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.
您好!
我想通过 MSPM0L1306上的 SPI 配置 DAC60508。 在访问 DAC60508网站时、似乎没有发布在 TI MCU 上进行配置的示例代码、有什么可以参考的信息吗? 下面是 DAC60508的寄存器映射。
我还将参考 MSP Academy 的 SPI 和 M0 SDK 示例代码。
谢谢。
科诺
尊敬的 Conor:
我们没有此器件的任何示例代码。 请参阅数据表中的时序图和 SPI 编程部分、了解 SPI 写入结构。
DAC 在下降沿捕获数据、因此请确保配置 MCU 上的 SPI 模式、以便在上升沿移出数据:
写入帧总共24位:
如果您在为应用配置寄存器设置时需要帮助、请告知我们。
此致!
K·琼斯