µTasker Forum

µTasker Forum => NXPTM M522XX, KINETIS and i.MX RT => Topic started by: neil on February 01, 2010, 09:32:23 AM

Title: Ethernet pin as IO?
Post by: neil on February 01, 2010, 09:32:23 AM
Hi Mark,
   I am using the Ethernet on the 52259, and dont use the FEC_TXER pin. Can I use this pin as I/O, and have the Ethernet module to continue as normal?

Regards
Neil
Title: Re: Ethernet pin as IO?
Post by: mark on February 01, 2010, 11:33:25 AM
Hi Neil

You should be able to use this. After the Ethernet interface has been configured (usually happens before the application has started) use the following command to set the pin back to GPIO use (it will have been set to FEC_TXER mode):

    PTJPAR &= ~TJ_FEC_TXER_FUNCTION;  // configure the FEC_TXER pin back to GPIO mode

Regards

Mark