Skip to main content
GLau.1
Associate
October 6, 2021
Question

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 ri

  • October 6, 2021
  • 0 replies
  • 861 views

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?

0693W00000FBZzuQAH.png 

I set VSEL to 1(External source) by the code below in MCU initialization

CLK_PeripheralClockConfig(CLK_Peripheral_LCD, ENABLE);

LCD->CR2 |= 0x01;

CLK_PeripheralClockConfig(CLK_Peripheral_LCD, DISABLE);

0693W00000FBa38QAD.png 

    This topic has been closed for replies.