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.
Hi,
I am trying MCSPI on the launch pad board. There are no examples with the MCSPI_transfer API. I am trying it based on the example code in the documentation but it fails right away. I think I am doing everything that is needed. Are they any working examples of this API? I do not want to debug the MCSPI_transfer API code..
Hi Rajeev,
The example mcspi_loopback_am243x-lp_r5fss0-0_nortos_ti-arm-clang uses the MCSPI_transfer API. Please try this example first. You may need to change the example.syscfg for your usage, but it should be straight forward.
Best regards,
Ming
Hi Ming,
I was able to run this example. What does it loopback on? Some internal registers? I can't find it in the generated code. Even example.syscfg doesn't indicate anything that it is configured for loopback..
Hi Rajeev,
If you made the following change on "Input Select" in the example.syscfg of the MCSPI loopback example. It will stop loopback (TX to RX) and do the normal TX(D0, MOSI) and RX(D1, MISO).
Best regards,
Ming