Tool/software:
Greetings! I`m using spi_ex1_loopback as a reference. My pins are connected as follows-> SIMO->GPIO56 MOSI->GPIO57, CLK->GPOI58. So with Loopback enabled(SpibRegs.SPICCR.bit.SPILBK=1;) everything works as expencted. So I disabled the loopback(SpibRegs.SPICCR.bit.SPILBK=0;) and tried to establish real communication. The problem is that the line transmition is working correctly(F280041C sends data and the connected chip responces properly), but in the SpibRegs.SPIRXBUF I have the same value as transmitted(not the send value from the slave). SpibRegs.SPIRXBUF=SpibRegs.SPITXBUF. It acts like the loopback is enabled. Which is not set. I checked the registers. The GPOI settings are the same as the example. The only difference is that I have changed the GPOI numbers accordin to the pinout above.
Any suggestions? Is there a possiblity the problem to be in the MUX. The pins to be looped using GPIO settings? As I said the line is working correctly. I has to be some internal setting.
Thanks!