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.

Use of mcspi driver without chip select for dm8168

Hello,

I want to use mcspi driver available for dm8168 in linux kernel code without chip select. Is it possible? How can I do that? or I should need to make changes in driver for configuring SPI without chip select?

Could anyone please suggest me the solution?

Thanks

Rakesh

  • Hi Rakesh,

    In theory this should be possible, if you attach only one external device to the SPI bus (data & clock) and tied this external device chip select signal to 'always selected'. But I suspect that the synchronization of the SPI bus between the DM816x and the external device will be very difficult to manage, even with a single SPI slave.

    For the SPI driver architecture, check the SPI driver user guide:

    http://processors.wiki.ti.com/index.php/TI81XX_PSP_McSPI_Driver_User_Guide

    Regards,

    Pavel