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.

DSP/BIOS-based SPI Driver



Hello:

1) Both the BIOS_SPI_driver_UserGuide.pdf and the code (ddc_spi.h) reference a SPI functional specification, sprue32_SPI.pdf.  Where can I find this document. Could you provide a link?

2) The BISO_SPI_Driver_arch.pdf document says that slave mode is not supported by the minidriver, however this is not mentioned in the UserGuide.  Is this a real constraint.  i.e.., Current TI DSP/BIOS drivers can only be used in Master mode?   Is this a constraint stemming from the hardware or software. Can a DM6437 SPI operate in Slave mode?

Thanks,

--B

  • Bandeg said:
    1) Both the BIOS_SPI_driver_UserGuide.pdf and the code (ddc_spi.h) reference a SPI functional specification, sprue32_SPI.pdf.  Where can I find this document. Could you provide a link?

    This looks like a documentation error of sorts, the SPRUE32 document can be found here, however it is an incorrect reference to DM6446 when it should be for the DM648 equivalent SPRUEM2. Note that DM6437 does not have a dedicated SPI peripheral so the driver you are looking at there will not work for DM6437. On the positive side the DM6437 does have support for SPI through a special clock stop mode of the McBSP discussed in section 2.9.2 of SPRU943, though I do not believe there is a driver for it.

    Bandeg said:
    2) The BISO_SPI_Driver_arch.pdf document says that slave mode is not supported by the minidriver, however this is not mentioned in the UserGuide.  Is this a real constraint.  i.e.., Current TI DSP/BIOS drivers can only be used in Master mode?   Is this a constraint stemming from the hardware or software. Can a DM6437 SPI operate in Slave mode?

    The dedicated SPI peripheral found on the DM648 and some other devices operates only in master mode, the SPI peripheral is not capable of acting as an SPI slave. As the BIOS SPI driver only works with the dedicated SPI peripheral it does not support slave operation. On another positive note the McBSP is capable of acting as a SPI slave, so the DM6437 is capable of this mode from a hardware standpoint, though there is no BIOS driver for it I am aware of.