Go to previous topic
Go to next topic
Last Post 11 Sep 2015 02:31 PM by  bradb
SPI bus with disabled DMA.
 1 Replies
Author Messages
jduran.gm
New Member
New Member
Posts:79


--
03 Sep 2015 11:27 AM

    Hello all,

    In the BSP 2.4-3 of Torpedo Wireless module, by default, the DMA of SPI bus is disabled.

    Could you tell me if there is any issue that forces to disable the DMA?

    Thanks and Best Regads,

    Joaquim Duran

    bradb
    Basic Member
    Basic Member
    Posts:203


    --
    11 Sep 2015 02:31 PM
    Joaquim,

    In reviewing the history of the DM37x development I did find a ticket (DM37LINUX-185) indicating that SIDEV support was added which enabled communication with the AT25 EEPROM. During this development it was discovered that disabling the DMA in the omap2_mcspi.c driver was required. The developer was getting the "DMA RX last word empty" error and bogus data during this development.

    Here is more information on that error with someone else having a similar problem:
    http://gumstix.8.x6.nabbl...-empty-td611523.html


    Regards,
    Brad


    ---