Other Parts Discussed in Thread: CC1350
The CC1350 LaunchPad uses pin 1 and 30 to control the RF switching between 2.4 GHz and Sub-1 Ghz. The following patch encapsulated in "RF_PATCH" can be applied to Board_Led_initialize() in board_led.c to prevent the LED driver from interfering with those pins during initialization:
void Board_Led_initialize(void) { uint8_t x; unsigned int index; uint32_t value; /* Open LED PIN driver */ ledPinHandle = PIN_open(&ledPinState, ledPinTable); value = board_led_convertLedValue(board_led_state_OFF); #ifdef RF_PATCH for(x = 0; x < board_rfSwitch_select; x++) #else for(x = 0; x < MAX_LEDS; x++) #endif { ledStatus[x].state = board_led_state_OFF; ledStatus[x].status = BLINKING_STATUS_DONE; index = board_led_convertLedType((board_led_type) x); PIN_setOutputValue(ledPinHandle, index, value); } Timer_construct(&blinkClkStruct, board_led_blinkTimeoutCB, BOARD_LED_BLINK_PERIOD, 0, false, 0); }
NOTE: This only applied to the CC1350 Launchpad and will be fixed in the SimpleLink CC13x0 SDK v1.60 coming later this year