This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

I2C pin assignment on ISP4520

Hello,

I am referring to the ISP4520 example code.

I would like to change the I2C(TWI) pin assignments as below.

SCL:P0_07 / SDA:P0_12

But I can't find where to set the pin assignments. Where should I refer to?

Thanks,

tyro

  • P.S.

    P0.07 is used for UART RTS on board.h. Since RTS/CTS is not used this time, move to an unused port.

    // External pin configuration
    #define PIN_UART_RTS    7   // UART RTS for AT commands
    #define PIN_UART_TX     6   // UART TX for AT commands
    #define PIN_UART_CTS    5   // UART CTS for AT commands
    #define PIN_UART_RX     8   // UART RX for AT commands
    #define PIN_NVM_ERASE   12  // Non-volatile data erase

    tyro01

Related