I'm using an example project that was using MIBSPI5 for a master board and slave board to communicate. If I use it as is (using chip select 0) it's able to successfully transfer information back and forth. However, when I change to using a trigger source of GIOA3 on the slave, and using a giosetbit to control it on the master side, all of my data is off by one bit. For example, if I send the array {0x1111,0x2222,0x3333,0x4444,0x5555,0x6666,0x7777,0x8888} it instead receives {8888,9111,1999,a222,2aaa,b333,3bbb,c444}. If you were to add on one extra 0 at the end of that and remove the first bit from the array, the data would be correct.
I don't know if it's being read from memory wrong and I have my tg set up wrong, or if I need to change some delay. But whatever I try to do, doesnt seem to work.
Any tips?