I2C in F28335

Altair Forum User
Altair Forum User
Altair Employee
edited August 2023 in Community Q&A

The F2833x microcontrollers have an I2C module and it uses GPIO32 and GPIO33 as SDA and SCL signals. However, the Hardware Board Configuration element of the F2833x targets (SimCoder) doesn't not have an I2C configuration option at the GPIO32 and GPIO33 pins (they only have digital input and digital output). How can I configure the device to able to use the I2C module of the microcontroller?

I have also seen there is no I2C elements as for SPI and SCI.

Regards
Javier

Tagged:

Answers

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited August 2023

    Hi Javier,

    We currently do not support I2C code generation. You will need to use the simplified c block to insert your own I2C code. You will be able to push signals into and out of the c block for whatever communications needs you have.