Other Parts Discussed in Thread: HALCOGEN, LAUNCHXL2-TMS57012
Tool/software: Code Composer Studio
Hello,
I would like know what's a valid configuration in Halcogen for the tms570 MCU development kit for using the SPI. I want to use SPI5 with chip_select/no_chip_select because I want to know about both cases.
I already tried different configurations for the development kit as well as for the launch pad(for the launch pad I experimented with the mibspi, not spi) and neither had worked. I don't believe that is a software problem because I checked the registers for both master and slave and the transmitting registers were set correctly but I couldn't receive anything. The RXBUF/BUF register is never set to anything but 0. For the transfer I use SPIDAT0 which is uploaded with my transmitting data. I tried the simo0 and somi0 with only the clk for the spi5. Enable the driver, in the port I set those pins as SPI and the rest of them as GIO.
I hope that somebody can help or at least give me some details that it can't be found in the documentation.
Regards,
Ciprian.