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.

AM335X的mcspi应用



请问:

        am335x 需要外接一个 spi 从设备,这个从设备每帧是64bit的,从datasheet上看,am335x最大只能支持32bit,是不是不能接这样的从设备呢?

谢谢!

  • 估计是悬,不过SPI本身就是可以灵活配置的,为啥不配成32呢。

    • Serial link interface supports:
    – Full duplex / Half duplex
    – Multi-channel master or single channel slave operations
    – Programmable 1-32 bit transmit/receive shift operations.
    – Wide selection of SPI word lengths continuous from 4 to 32 bits

  • Thk Steven!

         有点不太确定的地方:

         1、McSPI 实际上只有2个模块SPI0、SPI1,SPI2/SPI3没有提供接口?

         2、McSPI所说的多channels是指多个模块(SPI0、SPI1)呢,还是在每个模块里面可以有多个channels(没有看到设定channel数目的地方?)?

         3、每个channel里的数据字长是4~32bit,是指每个 -CS信号最多可承载32bit,连续传输模式是指可以连续传输多个字(每个字4~32bit)?

             Figure 24-10. Continuous Transfers With SPIEN Maintained Active (Dual-Data-Pin Interface Mode)

      
    谢谢!