Microprocessor: MSP430F5529LP, compiler TI v15.12.3.LTS, XDC 3.320.06_core. CCS App Center tells me I'm up to date. I think.
I'm something of a newbie, hoping TI_RTOS will protect me from most of the fiddly bits of microprocessor programming.
I used the uartecho demo project for my MSP430F5529LP to get UART communication working, and I used the i2ctmp006 demo to get I2C communcation working. Both projects work fine on their own.
When I try to add the I2C capability to my UART project the I2C does 8 clock pulses and fails at the first I2C_transfer() call, and when I try to add UART to my I2C project the UART fails at the first UART_write() call.
I narrowed it down so that now I'm using a single common *.c file for both, and if I use the UART cfg file the UART works but not the I2C, and if I use the I2C cfg file the I2C works but not the UART (though sometimes I have to cycle power on the LaunchPad board to get it going). I tried to make the two cfg files as similar as I know how, but the problem persists.
Any insight on how to get both peripherals to work simultaneously? Is there something that usually causes this problem? An example project using both UART and I2C might be even more help.
I'd attach the common c file and the two cfg files but I can't seem to figure out how to do that without pasting the whole thing in. Let me know if that would be useful for anyone.
Thanks
Joel