Part Number: RM48L930
Hello,
I am having trouble getting the mibspi loopback working. I am using MibSPI1. From my code I called mibspiInit() then mibspiEnableLoopback(mibspiREG1, 0 ).
In HALCoGen, my Data Format0 is set to 2.5Mbps, Charlen = 8 bits, WDelay = 0. Using default MIBSPI delay settings. Transfer Group 0: selected Data Format 0, 5 words per transfer, oneshot mode, TRG_ALWAYS & TRG_DISABLED. Chip Select Hold is also selected.
When I run the code I see my data on the MIBSPI1SIMO pin, correct clock and data as expected. Chip select goes active as expected. But mibspiGetData( mibspiREG1, 0, rxBuf ) returns all FFs instead of returning my expected data. I also tried enabling Analog loopback but no difference in operation.
Can you suggest what I am missing to get MIBSPI1 loopback working?
thanks,
Keith