Hello,
I have a rev B F28M35.
I have GPIO23 set to the C28 as an output. I can toggle it no problem from the C28 side and verify its state with a scope.
When I try to read the current value using the following macro from the M3 side:
#define uC_PWM_GEN_EN_GPIO23() GPIOPinRead(GPIO_PORTD_BASE,GPIO_PIN_7)
It always returns 0. Am I doing something wrong? The errata states the following:
Advisory GPIO: Cortex™-M3/C28x Reads GPIO State as ‘0’ When the GPIO is Mapped to the
Other Core
Revision(s) Affected: 0
Details The Cortex™-M3 core reads the GPIO state as ‘0’ when the GPIO is mapped to the
C28x core. Conversely, the C28x core reads the GPIO state as ‘0’ when the GPIO is
mapped to the Cortex™-M3 core.
Workaround(s) None. This is fixed in Revision A silicon.