Hi,
I am trying to work with LPC55S69 for a custom board project. As of now, I am testing the I2C interface of the MCU by running the lpcxpresso55s69_i2c_polling_b2b_master and slave example using 2 EVK boards.
By default, the examples use Flexcomm4 (PIO1_20 and PIO1_21 for SDA and SCL pins). The example works fine and data is transferred between master board and slave board through I2C.
But, when I tried to test out the Flexcomm1 ( PIO0_13 and PIO0_14 for SDA and SCL pins), the master and slave initialize but data is not received by the slave board.
The following are the changes I made in the code:
1. Change CLOCK_AttachClk(kFRO12M_to_FLEXCOMM4); to CLOCK_AttachClk(kFRO12M_to_FLEXCOMM1)
2. RESET_PeripheralReset(kFC4_RST_SHIFT_RSTn); to RESET_PeripheralReset(kFC1_RST_SHIFT_RSTn);
3. Change pin_mux.c ( changed the pins from FC4 to FC1 as mentioned above) and pin_mux.h ( defined PIO_FUNC )
Should I change anything else for the program to work if the Flexcomm is changed.
Note: I have attached the working outputs and output when FC4 to FC1 is done and the pin_out of the EVK board .
The boards are connected through PMOD connector P20 to test the FC1 outputs
Please help with the issue.