This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hello,
I'm attempting to set the F28377S Launchpad up as an I2C Master to be used for testing purposes with a F28377D as a slave. The example code (Example_2837xSI2C_eeprom.c) compiles but produces nothing on pins 32&33. I changed the GPIO mux functions from pins 32&33 to 73&74 as the datasheet seems to indicate is necessary:
// For this example, only init the pins for the SCI-A port. // These functions are found in the F2837xS_Gpio.c file. GPIO_SetupPinMux(73, GPIO_MUX_CPU1, 1); GPIO_SetupPinMux(74, GPIO_MUX_CPU1, 1);
but I still see nothing on my O-scope on these pins. Just to be sure, I've also tried 42&43(the numbers indicated by the I2CA SCL/SDA lines on the "quick start guide") and 9&10 (the actual physical pin numbers on the board). Nothing seems to produce any output.
Am I missing something or is there an issue with the example code?
Yeah, I see that was a mistake now. I was looking at the actual package pin number (in the 5th column) not the GPIO number. Still, as I stated, I also tried pins 42 & 43 which ARE the correct pins and I'm getting no output
// For this example, only init the pins for the SCI-A port.
// These functions are found in the F2837xS_Gpio.c file.
GPIO_SetupPinMux(42, GPIO_MUX_CPU1, 1);
GPIO_SetupPinMux(43, GPIO_MUX_CPU1, 1);
What am I missing here?