Other Parts Discussed in Thread: LAUNCHXL-F28P55X, SYSCONFIG
Tool/software:
SPIA is not working, I have a running code on the LaunchXL-F28P55X demo board with the F28P550SJ9PZ controller. And now I want to run my code at my own board with the F28P550J9PM in TQFP64 case.
I looks as if the complete SPI interface has no clock. The code hangs up here (the last line when I wait for everything to be transmitted:
SPI_writeDataBlockingFIFO(_spi_interface, (address | WRITE_CMD) <<8); SPI_writeDataBlockingFIFO(_spi_interface, ((value >> 24) & 0x00FF)<<8); SPI_writeDataBlockingFIFO(_spi_interface, ((value >> 16) & 0x00FF)<<8); SPI_writeDataBlockingFIFO(_spi_interface, ((value >> 8) & 0x00FF)<<8); SPI_writeDataBlockingFIFO(_spi_interface, (value & 0x00FF)<<8); while(SPI_getTxFIFOStatus(_spi_interface) != SPI_FIFO_TXEMPTY); // Wait until everything is transmitted
This should never happen, also if nothing would be connected
With the scope I also see no actions at the SPI pins. The GPIO muxes seems to be correct. One difference is: On my board I have no external clock am so I must work with the internal clock. But at the LaunchXL I can switch to the internal oscillator and the code is still working.
With other interfaces (SCI) I have no problems
The hardware setup was generated with sysconfig.