Part Number: TMS320F28388D
Hello
I have CPU2 set to be the main core for several GPIO pins to be configured as output. Some behave properly, such as GPIO12, which I can write a high or low when using a command such as GPIO_writePin(12 ,1) OR GPIO_writePin(12, 0). Doing a GPIO_readPin(12) will return correctly whatever I wrote to the pin.
However, no matter what settings I am choosing for other pins such as GPIO9-11, I am not able to change the output to those pins. It's always 1, sometimes always 0. I have ensured that these output pins are not tied to a different output elsewhere which may be forcing either low or high from the other side.
Currently GPIO12 -- the pin that works -- has the following initial settings:
GPIO_setPinConfig(GPIO_12_GPIO12);
GPIO_setDirectionMode(12, GPIO_DIR_MODE_OUT);
GPIO_setPadConfig(12, GPIO_PIN_TYPE_STD);
GPIO_setMasterCore(12, GPIO_CORE_CPU2);
I am using similar settings for pins 9-11. However, even if I change any of the pad options (ie, GPIO_PIN_TYPE_PULLUP) it makes no difference.
Is there something I'm missing, such as some initial settings that may be disabling or forcing an output to these certain GPIOs?
Thanks