Re: nrf52 input buffer

2021-01-11 Thread Matias N.
I will make a PR with a fix soon. It seems that the input buffer is internally connected under certain conditions. But I found some case where the pin value was not being read correctly so I suppose this could be the issue. Best, Matias On Mon, Jan 11, 2021, at 06:33, raiden00pl wrote: > It loo

Re: nrf52 input buffer

2021-01-11 Thread raiden00pl
It looks like a bug. But for some reason with the input buffer turned off, reading the input pin still works (nrf52840). niedz., 10 sty 2021 o 19:17 Matias N. napisaƂ(a): > Hi, > while debugging the issue I mentioned in the other thread, I found > something strange: when configuring a pin as inp

nrf52 input buffer

2021-01-10 Thread Matias N.
Hi, while debugging the issue I mentioned in the other thread, I found something strange: when configuring a pin as input on nRF52, the input buffer is not enabled (by clearing the relevant INPUT bit of the PIN_CFG register): https://github.com/apache/incubator-nuttx/blob/master/arch/arm/src/nrf