Page 1 of 1

[M258] LCD Loading and Short Circuit Detection

Posted: 02 Dec 2021, 09:36
by chhsieh3
  • Application: This sample code uses charge pump timeout to calculate the current overall load value of the LCD, and then scans based on the timeout value to detect whether the LCD pins are abnormal.
  • BSP Version: M251/M252/M254/M256/M258 Series CMSIS BSP V3.01.002
  • Hardware: NuMaker-M258KE Ver1.1
This example code "LCD_Loading_And_Short_Circuit_Detection" mainly uses the current maximum time of the charge pump timeout to infer the current overall LCD overall driving load. Then use the charge pump timeout time as the timeout time for scanning each Segment Pin and Common Pin to test whether the current LCD drive load is abnormal and whether there is a short circuit.

You can download the sample code at https://www.nuvoton.com/resource-downlo ... 1201155027