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.

AM2634: SPI2 in DMA mode is not working. SPI0, SPI1 are working

Part Number: AM2634

I am  working on SPI in DMA mode.

With the AM2634 E2 Evaluation board, the MSSPI DMA Loopback example is working only for SPI0 and 1.

SPI2 is not working.

I have attached the working and non-working projects along with the MCSPI register dump.

Please let me know what is the issue. Thanks.

SPI Multichannel Debugging.zip

  • Hello George,

    With the upcoming US holiday, our experts for this topic are all out of office. Please allow us to get back to you on Tuesday regarding this. Thanks for the sharing the projects as that will greatly speed up re-creating the issue you are observing.

    Best Regards,

    Ralph Jacobi

  • Hello George,

    So I have an E2A revision of the AM2634 LP and I am not able to reproduce a failure with the example you shared.

    Can you take an image of the AM2634 device on your board with the device markings legible? I want to compare silicon revisions between the boards. The schematic changes are very minor and should not contribute to an issue.

    Best Regards,

    Ralph Jacobi

  • Thanks Ralph Jacobi. Please find the images here.

  • Hello George,

    I did not realize you were trying this example with the ControlCard. Your projects are labelled as LaunchPad projects and so I worked on the AM263 LaunchPad and the tests pass just fine there. When using the CC I get the same failure. I looked into the schematic at that point and made this identification:

    One of the SPI pins you are trying to use is connected to one of the on board LEDs of the AM263 CC. That is what is causing the failure of the tests. Unfortunately there isn't an alternate pin to use for SPI2_D1 so you won't be able to test SPI2 on the CC as is. But as mentioned the LaunchPad which doesn't have this hardware connection works fine.

    Best Regards,

    Ralph Jacobi

  • Thank you very much Ralph Jacobi for looking into the issue.