Part Number: MSP432P401R
Other Parts Discussed in Thread: TLV320AIC3254
Hi,
I am working with C:\ti\Connectivity\CC256X BT\CC256x MSP432 Bluetopia SDK\v4.2.1.1\Samples\A3DPDemo_SRC sample project which has I2C communication with TI TLV320AIC3254 CODEC for the Audio Boost example. I am trying to reuse the initialization of the I2C of this project in our own development board along with its communication interface.
I2C Slave Address: 0x22
Port Pins: P1.6 & P1.7
#define HRDWCFG_FM_I2C_MODULE EUSCI_B0_BASE
The original code does not use Interrupts:
So I have not set anything up. Its all polled.
We have checked out the I2C SDA and CLK lines on the scope and they are high which is expected.
Upon trying to send the first bytes over to our FM Modulator we do not see any movement when the Start Condition is sent.
Instead the code hangs while waiting for the transmit Interrupt Flag to be set:
It is obvious that the code has not set up the I2C peripheral correctly. What am I missing?
Is the I2C peripheral pins from p1.6 & P1.7 tied to EUSCI_B0_BASE or another register base EUSCI_Bx_BASE??? The technical reference manual does not specify this clearly.
Also, The rest of the code works fine. All 3 UARTs, BT Stack etc. etc.
Thanks in advance,
Ozzy

