hi, i could not toggle PTA3 pin for MC9S08SH32 , even i toggle low , it always gives output voltage as high
config below
PTADD is set to0x08;
已解决! 转到解答。
Hi @anandhram1988,
The first step is to set the pin as an output in the Port A Data Direction Register (PTADD).
To change the logic level, you need to write to the Port A Data Register (PTAD).
When you write a value to the PTAD register for PTA3, are you able to see the changes on the pin?
Best Regards,
Pablo
Hi @anandhram1988,
The first step is to set the pin as an output in the Port A Data Direction Register (PTADD).
To change the logic level, you need to write to the Port A Data Register (PTAD).
When you write a value to the PTAD register for PTA3, are you able to see the changes on the pin?
Best Regards,
Pablo