Other Parts Discussed in Thread: HALCOGEN
Hello everyone,
I am an software engineer and working on a project with the TMS570LS1224 MCU.
I am trying to use pull up and pull down in input mode, and open drain and push pull in output mode using GIO pins.
I want to use the LED in GIOB[1] as open drain and push pull respectively with output mode, and I want to use the button in GIOB[2] with input mode as pull up and pull down respectively. Thus, I will see the effects of pull up, pull down, open drain and push pull in input and output modes.
Unfortunately, even though I made the configurations in HalCoGen, I cannot see the correct effect after running my code. The button always works as a pull up (even if I enable pull down). A similar situation happens with output configurations and it does not work correctly.
How can I accurately see the effects of pull-up, pull-down, push-pull and open drain?
Thank you for your help
Greetings
Fatih