I try to use PG1 as an input on a EZBoard BF518 with an ethernet link.
Trouble is when I activate the input driver with *pPORTGIO_INEN |= 0x0002, the Ethernet link stops receiving messages.
Attachments show the effect of INEN bit 1 set and clear on the EMAC_RX_STAT register.
The PORTG_FER is not set for PG1, so I don't understand why EMAC is concerned.
Could you tell me where am I wrong ?