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;
Solved! Go to Solution.
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, i tried the above steps still the issue is same is there any other steps or reasons but for port B i can able to get the voltage based on toggling
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