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.

RTOS/LAUNCHXL-CC2640R2: CC2640R2-LAUNCHPADXL: Sharing flash chip select

Part Number: LAUNCHXL-CC2640R2


Tool/software: TI-RTOS

Hi,

I am using the external flash chip select pin (IOID_20)  as a GPIO (using the GPIO driver).  I would also like to support off-chip OAD updates. 

How can I release the pin when an OAD is triggered so that it can be used as the flash chip select instead?  (triggering an OAD produces an error).

--------------------------------------------------------------------
[183] : <Rx> - 03:43:56.678
-Type : 0x04 (Event)
-EventCode : 0x00FF (HCI_LE_ExtEvent)
-Data Length : 0x09 (9) bytes(s)
Event : 0x051B (1307) (ATT_HandleValueNotification)
Status : 0x00 (0) (Success)
ConnHandle : 0x0000 (0)
PduLen : 0x03 (3)
Handle : 0x003A (58)
Value : 02
Dump(Rx):
0000:04 FF 09 1B 05 00 00 00 03 3A 00 02 .........:..
--------------------------------------------------------------------
[184] : <Info> - 03:43:56.709
OAD Image Status
Status = 0x02 OAD_FLASH_ERR
--------------------------------------------------------------------

Cheers,

Evan