In our application, the input to P02 is a square wave of 50 Hz. I am always reading low on this pin. We are using the same pin to detect a high condition which is working fine.
How to solve this issue?
Please help me.
Thank you
Device:

Hi Bharath,
How do you read the signal from the 580, are you polling it or using interrupts and what is the pin configuration ? Also check the signal voltage level of your input signal.
Thanks MT_dialog
We are usingGPIO_ConfigurePin(Port_0,pin_2, INPUT, PID_GPIO, false) to read the values. We are doing it in a systick interrupt which is called 250times/second.
The voltage level is 0V - 3V square wave.
The same pin will be driven high by external circuit and we are able to read that state. But when the same external circuit toggles this pin at 50Hz we are reading only low.
We have verified the voltage levels and frequency using a CRO.
Is there a different way to read the pin value?
Thank you
Hi Bharath,
There is no other function to read the status of a pin, have you tried to check your signal while sampling with the 580 and check how it behaves ? Also what is the configuration of your pin ? and is there any other component that interfiers with the connection between the pin of the 580 and signal source ? Also can you please try using other pins ?
Thanks MT_dialog