I would like to use upper ports (P5-P7) as GPIO on C8051F064.
I turned EMI off on these pins: EMI0CF = 0x10;
Ports are in Push-pull mode (P6MDOUT = 0xFF;)
But P6 = ~P6; does not show the signal at the pins.
Could you please give me a hint how to solve it?
I also tried open drain mode with 360 Ohm pull-up to 5V, with the same effect.
The problem is solved: I forgot to specify SFRPAGE = CONFIG_PAGE.
P4-P7 work only in CONFIG_PAGE.