Dear E2E:
I can't get I2C1 interface working for some reason.
Can you please answer my questions:
1. Will I2C1 work in muster mode (continuously transmit for example) if the data register - ICDXR is not lloaded by CPU or DMA?
2. I need to have the I2C1_SCL as an output from I2C1.
3. The I2C1_SCL is required for the period of ~10 second.
4. What mode would you recommend for I2C1?
I used the following settings:
1. ICCNT = 0 for 65536 data count
2. ICMDR[10]=1 for the "Master"
3. ICMDR[9] = 1 for Transmit
4. ICEMDR[1] = 1 for “Ignore NACK"
5. ICPSC = 0x9 for I2C clock frequency = 80/10=8MHz (SYSCLK4=80MHz)
6. I2C is enabled through the PSC1_11. PSC1_11 status register retunes 0x1E03 which means I2C1 is ON.
7. PINMUX4 = 0x22442244 - UART_TX/RX, I2C1_SDA/SCL, I2C0_SCL/SDA, GP1[6:7].
The serial port I2C0 works OK.
But I2C1 does not generate the SCL - looks dead.
Can you give me an idea what is going wrong?
Thank you for your help,
Boris Ruvinsky