AnsweredAssumed Answered

How to config mc9s12's PADx Pin as normal I/O

Question asked by 明哲 张 on Jul 8, 2017
Latest reply on Jul 10, 2017 by 明哲 张

Hi,guys.I'm using mc9s12g64 's PAD6 and PAD7 as  IIC BUS PIn, But I found PAD6(SDA ) Can't read the input state(0 or 1) , i have already set the DDRX as input and read the PTI1AD's value, but i found nothing changed whether the input is high or low,based on the datasheet ,i try to set the ATDDIEN_6 as 1 to enable the digital input ,but no affect.did I forget some other settings?

Outcomes