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.

[参考译文] TMS320F28377S:将24位 SPI 日期发送到外部数模转换器(DAC)

Guru**** 2457760 points


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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/767775/tms320f28377s-send-24-bit-spi-date-to-external-digital-to-analog-dac-converter

器件型号:TMS320F28377S

您好!  

我对 DSP 和外部 DAC 之间的 SPI 接口有疑问。

我使用的 DAC 是 AD5683R、这是一款16位器件、但需要另外8位才能选择命令和地址。 因此、所需的数据是24位。

然而、DSP SPI 只能发送高达16位的数据。 我想知道、如何从 DSP SPI 发送24位数据?

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

    这是一个非常常见的问题。 C2000 SPI 可配置为每字传输1至16位。 要发送24位、只需传输三个8位字。 如果您使用 FIFO、连续字之间将没有延迟、并且芯片选择在完全传输期间将保持有效。

    在 e2e 上、您可以在搜索时找到与此主题相同的各种主题。

    -Mark