Other Parts Discussed in Thread: CC1352P
Tool/software: Code Composer Studio
I began study the cc1352P and take lake base the BLE Project_Zero. I config the DIO17 and try to switch on the led. But the led don't switch on. In the IOC register and DOUT I can see value lake for DIO6 and DIO7 (led on the board) but when I connect my pin to led the led is not light.
The IOCFG 17 = 0x20106800
In my code i change
//Was! PIN_Config ledPinTable[] = { Board_PIN_RLED | PIN_GPIO_OUTPUT_EN | PIN_GPIO_LOW | PIN_PUSHPULL | PIN_DRVSTR_MAX, Board_PIN_GLED | PIN_GPIO_OUTPUT_EN | PIN_GPIO_LOW | PIN_PUSHPULL | PIN_DRVSTR_MAX, PIN_TERMINATE }; //NOW! PIN_Config ledPinTable[] = { Board_PIN_RLED | PIN_GPIO_OUTPUT_EN | PIN_GPIO_LOW | PIN_PUSHPULL | PIN_DRVSTR_MAX, Board_PIN_GLED | PIN_GPIO_OUTPUT_EN | PIN_GPIO_LOW | PIN_PUSHPULL | PIN_DRVSTR_MAX, My_PIN_D17 | PIN_GPIO_OUTPUT_EN | PIN_GPIO_LOW | PIN_PUSHPULL | PIN_DRVSTR_MAX, PIN_TERMINATE };
When I call ledPinHandle = PIN_open(&ledPinState, ledPinTable);
and after this PIN_setOutputValue(ledPinHandle, My_PIN_D17,1); I saw change value in DUOT31_0