2023-11-05 06:30 AM
Hi,
I tried to make an easy test of this board. when the button sw3 is pushed, LED 2 shall start blinking.
Sadly it looks like my if statement equals always 0.
Measuring the voltage on the testpin it looks like my MCU is sinking the complete voltage, no matter if the button is pressed or not.
How do i configure the GPIO in a way that I could read from it without it to sink all the current?
And where do I find this SIUL Documentation I should read before dealing with the advanced settings?
if(pal_lld_readpad(PORT_F, sw3) == 1){
pal_lld_togglepad(PORT_F,led2);
osalThreadDelayMilliseconds(50);
};
sw3 = PF13 = Pin84
Solved! Go to Solution.
2023-11-09 10:13 PM
Hello,
Kindly check whether you disabled the OCD driver in the appropriate pin.
Thank you.
2023-11-09 10:13 PM
Hello,
Kindly check whether you disabled the OCD driver in the appropriate pin.
Thank you.
2023-11-15 01:09 AM
OMG!
How is one supposed to find that? Well hidden.
But thanks, it solves the problem.
Do you know where I can find information about all of these settings? The ODC options need some clarification, as well as the other options. More than the one sentence tooltip explanation?