I2C communication for f28377D (176 pin)
s_pal
Altair Community Member
In PSIM, there is no config block for enabling I2C communication for f28377D (176 pin). Even in the hardware configuration block, selecting options for SDAA (I2C data line) and SCLA (I2C clock line) are not available.
Is there any way we can configure and initialize by including
"F28x_Project.h"
and initialize the specific pins separately along with including PSBios.h headers?
Tagged:
0
Answers
-
Hi,
PSIM doesn't support I2C.
Thank you
Vishwanatha Siddhartha
0 -
GPIO_SetupPinMux(91, GPIO_MUX_CPU1, 6);
GPIO_SetupPinMux(92, GPIO_MUX_CPU1, 6);
Do PSbios.h have any similar kind of function?0 -
Hi,
You can use a function that is defined in PS_bios.h as below:
void PS_GpioSetFunc(int16 pinNo, int16 funcNo, PST_GpioSync sync, PST_GpioType gpioType, int16 cpu);But still needs a lot of efforts to implement I2C manually.
Thank you,
Vishwanatha Siddhartha
0