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 Team,
On the SK-AM62A-LP gadget, I'm working. By using the URL provided below, I was able to finish every boot-up step for the board. And I intend to operate the device's spi communication by attaching an external interface. So, could you kindly make the MCSPI application available?
Link: User Guide (ti.com)
Hi Manojkumar,
I am assuming you have done the SOC Initialization on the SM-AM62A-LP board.
So, could you kindly make the MCSPI application available?
Please try the three SDK examples, software-dl.ti.com/.../EXAMPLES_DRIVERS_MCSPI_LOOPBACK.html
Also here are the APIs for MCSPI: https://software-dl.ti.com/mcu-plus-sdk/esd/AM62AX/08_06_00_18/exports/docs/api_guide_am62ax/group__DRV__MCSPI__MODULE.html
Regards,
Vaibhav
Hi Vaibhav,
I'm grateful for your response.
I'm new to this board, and since you posted the link there, I've read it and used the examples.
However, even after writing my application in the example of mcspi loopback and connecting the logic analyzer's probe to the mosi pin of the MCU header, I could not notice any spikes there.
What exactly am I getting wrong, then?
So, that's the reason I was asked for the example application which is not posted in the link.
Hi Manojkumar,
Thanks for the confirmation. Please expect a response within a day or two.
Also can you confirm if you are using the default SDK example(MCSPI Loopback) as it is, or did you modify the same. If you have modified, can you share the example with us.
Regards,
Vaibhav
Hi Vaibhav,
Using the MCSPI Loopback example, I'm only using the writeTxDataReg API to broadcast data to the mosi pin with a slight delay, And also I changed the D1 as the input pin in the sys config file.
And could you kindly clarify whether any mcu_spi configuration changes need to be made in the device tree file?
Could you kindly share the modification configuration if the device tree file has to be modified?
Regards
Manoj
Hi Manojkumar,
And could you kindly clarify whether any mcu_spi configuration changes need to be made in the device tree file?
Are you using processor SDK ?
Regards,
Vaibhav
Hi Vaibhav,
Up till now, I have not used the processor SDK. However, I read in a forum that the device tree file needed to be modified.
So, that's the argument I made.
Regards
Manoj
Hi Manoj,
Please allow us sometime to get back to you(Preferably by Monday).
I can talk about the steps to successfully probe(While running the SDK MCSPI Loopback example)
Regards,
Vaibhav
Hi Manojkumar,
Lets say you are connecting an external interface, and you want to do external MCSPI loopback.
In SysConfig, I am assuming you are going to select D1 as the Input Select. If not please select D1.
Once done, you should be able to probe and get to see some values on the virtual bench. I am using Virtual Bench from NI.
Moreover, I will tell you the exact pins to probe on the AM64x-SK board.(See the attached screenshot)
I probed RPI_SPI0_D0(A13).
This is my capture.
Note, I did not yet connect any external interface for external loopback application. This is the result of just changing the SysConfig as mentioned above.
Regards,
Vaibhav