Hello,
I am attempting to set up an external loop back for the SPIs on the RM48 USB development kit/stick. I have found a handful of examples, and may have an idea of what's wrong but not too sure how to fix it.
I started with following the example_spi_Master_Slave.c in the HalCoGen tool. For the most part it's very helpful. However, I think my issue is that I only have access to SPICS1, and that is set up for CS0 of SPI1 to go to CS0 of SPI2. I thought it should be easy enough to change the chip select, however from messing with HalCoGen, it looks like I have to use the MIBSPI1 in order to have access to different chip selects. I then tried following the "example_mibspiDma.c" file, but then I am left confused trying to figure out how to send data using the MIBSPI functions and receive data using the SPI functions and vice versa.
Any help trying to set up an external loopback from SPI1 to SPI2 on the USB stick would be greatly appreciated.
Thanks!