I use STM8L152 in my product. VLCD is connected to external pull-up 3.3V. If uart communication occur, VLCD is pulled down to low level. I short connect VLCD and PD1 and set VSEL to 1 then use PD1 to detect the falling edge. Is there any potential risk?
Since I short connect VLCD and PD1, when there is uart communication, there will be communication waveform like below on VLCD pin, will this affect MCU work? I set VSEL to 1(External source) by the code below in MCU initialization CLK_Peripheral...