cancel
Showing results for 
Search instead for 
Did you mean: 

Using the PXS_RFIN as GPIO

johnathan
Associate
Posted on December 05, 2013 at 13:53

Hello

I am using the STM8TL touch IC and need to use the PXS_RFIN pin as an IO to drive a LED ie PA7. If I disable the Prox engine then the LED can be toggled, but if I enable the Prox engine then the LED can not be toggled anymore...

The PXS_CR2, NOISEDETEN bit is disabled. Are the any other bits I must set to use the PXS_RFIN pin as a GPIO?

Thanks

John

#gpio #pxs_rfin #stm8tl53g4
1 REPLY 1
johnathan
Associate
Posted on December 05, 2013 at 15:43

yip, sorted it. had a sneaky PXS_CR2 register being masked in that I missed ...

so you only need to disable the NOISEDETEN bit