Hi,
I have a custom board using the TMS570LS0332, CCS6, Halcogen 4.1.
I have an LED that is connected to MIBSPI1nCS[1] that I want to blink and I'm having trouble.
In Halcogen, I have:
- Enabled the GIO and MIBSPI1 driver
- Enabled MIBSPI1 on the PINMUX tab (I am also using the mibspi to communicate with the TPS65381), should CS1 be connected or not?
- On the MIBSPI1 Port tab, set SCS[1] as GIO and set the direction as output.
Code snippet is below:
gioInit(); mibspiInit(); gioToggleBit(mibspiPORT1, (1 << 1);
But my LED doesn't blink. Any idea what I am doing wrong or missing?
Thanks