Hello,
I want to set the PORTA1 and PORTA2 pins as communication pins for UART0.
I use code:
PORTA_PCR1 |= PORT_PCR_MUX(2);
PORTA_PCR2 |= PORT_PCR_MUX(3);
or:
PORTA_PCR14 |= PORT_PCR_MUX(3);
PORTA_PCR15 |= PORT_PCR_MUX(3);
The debug result is unexpected interrupt as showed on snapshot:
StanoR_0-1639693180211.png
When I use other than PORTA, e.g. PORTE, there is no issue.
Why PORTA causes issue and how to solve it?
Thanks,
Stano.