Other Parts Discussed in Thread: HALCOGEN
Hello, I am using two TMS570LS31xHDK boards for MibSPI1 master-slave communication, configured as master and slave respectively, but currently neither the master nor the slave can receive any data.
My HALCoGen configuration is as follows:
Master:
- Driver Enable - MibSPI1, HET1
- VIM Channel - Channel 12, Channel 26
- Pinmux - MibSPI1: MIBSPI1NCS0, MIBSPI1ENA
- MibSPI1 Global - Master mode, Internal clock
- MibSPI1 Transfer Groups - TG0-TG3: CS0, Length: 8
- MibSPI1 Port - SIMO0 (SPI) : Output, SOMI0 (SPI) : Input, CS0 (SPI) : Output, CLK (SPI) : Output
Slave:
- MibSPI1 Global - Disable master mode, Disable internal clock
- MibSPI1 Port - SIMO0 (SPI) : Input, SOMI0 (SPI) : Output
Other settings are the same as the master.
Here is my master and slave code :11.10_Mibspi1.zip
My hardware connections are:
- Master SIMO - Slave SIMO
- Master CLK - Slave CLK
- Master SOMI - Slave SOMI
- Master ENA - Slave ENA
- Master CS0 - Slave CS0
- Master GND - Slave GND

Best Regards,
Zhao