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.

TMS320F28379D: GPIO pin values get reset when using GPIO_setMasterCore

Part Number: TMS320F28379D

GPIO pin values that are set to HIGH (1) get reset to LOW (0) immediately after being assigned to CPU2 using the function GPIO_setMasterCore(pin, GPIO_CORE_CPU2). For example with GPIO33 (although I observed the same behavior on other GPIOs as well):

1) on CPU1 I setup GPIO33 for GPIO_CORE_CPU1 with GPIO_DIR_MODE_OUT and GPIO_PIN_TYPE_STD with output value of 1 and GPIO_QUAL_SYNC

2) I call GPIO_setMasterCore(GPIO33, GPIO_CORE_CPU2)

3) GPIO33 is now 0?? (observed through GPxDAT reg)

What happened between step 1 and 3 that resets the GPIO value? Since it's a floating output is the value lost or somehow reset to 0 as soon as it changes master cores from CPU1 to CPU2? This doesn't seem to be documented anywhere, could use some clarification. Ideally I would like the GPIO value to persist when changing master cores. Thanks!