Hello David and Thanks
I don’t know if using PE I can configure PORTxPCRn register.
In my application I’m using two PortA inputs PTA1 & PTA2
To solve yours suggestion and I tried to use Pins1:PinSetting option.
There was no improvement in SW bouncing reduction.
I’m attaching my configuration.
I think that my configuration is wrong, using debugger I have seen that “PFE” remains low.
I think that using assembly can solve the problem but I don’t know how to do this (I have hardware experience).
Do you have any recommendations.
Thanks
Shaul
Using low pass filter (RC) at input solves the problem but I prefer software solution.