Part Number: LAUNCHXL-F28377S
Hello everyone! I come from the MSP430 microcontrollers and I'm just trying on the larger C2000 series.
When testing the blinky sketch out of the ControlSuite in original (red led flash) - the blue LED is off all the time, which seems to be right.
After changing the #define BLINKY_LED_GPIO 12 to #define BLINKY_LED_GPIO 13 just for playing around, the red LED remains in on state most of the time.
It looks like it would be in a "floating" state, not at full brightness. Lightly tapping the board on the table turns off the red LED then she slowly returns.
In SPRUHX5C I find:
6.8 Internal Pullup Configuration Requirements
On reset, GPIOs are in input mode and have the internal pullups disabled. An un-driven input can float to
a mid-rail voltage and cause wasted shoot-through current on the input buffer. The user should always put
each GPIO in one of these configurations:
• Input mode and driven on the board by another component to a level above Vih or below Vil
• Input mode with GPIO internal pullup enabled
• Output mode
So i added:
GPIO_SetupPinMux(12, GPIO_MUX_CPU1, 0);
GPIO_SetupPinOptions(12, GPIO_INPUT, GPIO_PULLUP);
to the code and the red LED stays off.
I just wonder why this isn't set as default in the origial blinky sketch for the blue LED (why is she staying off and as described the red doesn't)?
Thanks!