Part Number: TDA4VM
Hello,
Is there a possibility for looping back the SPI in J721E EVM.
Usecase: To check for the SPI Communication for driver software written for SPI Controller devices. -- When that device is not available on the EVM.
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.
Part Number: TDA4VM
Hello,
Is there a possibility for looping back the SPI in J721E EVM.
Usecase: To check for the SPI Communication for driver software written for SPI Controller devices. -- When that device is not available on the EVM.
Hi,
There is a SPI loopback example but it's not available for J721E and J7200. You can test SPI on the EVM using on-board Master and Slave (separate) though.
See this documentation
Regards
Vineet
Hi Vineet,
Thanks.
Could you please get some details as to how to test the SPI driver for the ASICs in the EVM -- when the ASIC is not part of the EVM.
The ASIC would be present on the custom board. Just to see that the driver is working as expected (Transferring command and data over SPI as required)
Regards,
Soumya
Hi Soumya,
I will check but the likelihood is less, as you can see from this page for other EVM/IDK's, the header pins which can act as SPI are already documented.
Regards
Vineet
Hi Soumya,
Yes. We have an internal loopback example present in the MCUSW MCSPI example.
Please refer function SpiApp_Startup() available in file mentioned below for more details. Basically you need to select only one pin D0 or D1 and configure it for both TX/RX during pinmux.
$CORE_SDK_INSTALL_DIR\mcusw\mcal_drv\mcal\examples\Spi\mcspi_app\soc\j721e\mcu1_0\McspiApp_Startup.c
Regards,
Sunil Kumar M S