1
NXPTM M522XX, KINETIS and i.MX RT / DIO internal PullDown
« on: May 28, 2026, 02:20:06 PM »
Hi Mark,
Hope you are doing well..
Its been quite a while since i have done anything on the MFC52259, and dont have anymore much info on programming it. I am wondering if utasker has something I can use for setting PortA for input and assigning internal pulldown. Im using the Port A , pin 5 as input as follows:
DDRAN &= ~PORT_AN_BIT5; //se
if(PORTIN_SETAN & GSM_PWCTRL_PIN)
...
But it must be using internal pullups , I really want internal pulldown. Can t add resistor as the units are already in the field.
Many thanks
Neil
Hope you are doing well..
Its been quite a while since i have done anything on the MFC52259, and dont have anymore much info on programming it. I am wondering if utasker has something I can use for setting PortA for input and assigning internal pulldown. Im using the Port A , pin 5 as input as follows:
DDRAN &= ~PORT_AN_BIT5; //se
if(PORTIN_SETAN & GSM_PWCTRL_PIN)
...
But it must be using internal pullups , I really want internal pulldown. Can t add resistor as the units are already in the field.
Many thanks
Neil

); // set up PLL to generate the required frequency