3.4.4 LCD Display

The PIC32CXMTSH-DB integrates an LCD customized for the smart metering application field. This LCD is driven directly by the PIC32CXMTSH generating the driving signals for the 8 common lines and the 20 segments. The LCD layout and its relative pinout are described below:

Figure 3-22. LCD Layout
Figure 3-23. LCD Schematic
Table 3-16. LCD Pinout
Pin No Pin Name PIO Pin No Pin Name PIO
1 Segment 0 PB24 15 COM1 PA21
2 Segment 1 PB23 16 COM2 PA22
3 Segment 2 PB20 17 COM3 PA23
4 Segment 3 PB17 18 COM4 PA24
5 Segment 4 PB15 19 COM5 PA25
6 Segment 5 PB13 20 COM6 PA26
7 Segment 6 PB11 21 COM7 PA27
8 Segment 7 PB9 22 COM8 PA28
9 Segment 8 PB8 23 Segment 14 PB10
10 Segment 9 PB7 24 Segment 15 PB12
11 Segment 10 PB6 25 Segment 16 PB14
12 Segment 11 PB5 26 Segment 17 PB16
13 Segment 12 PB4 27 Segment 18 PB18
14 Segment 13 PB3 28 Segment 19 PB22
Table 3-17. LCD Pinout vs Segment
PIN COM1 COM3 COM3 COM4 COM5 COM6 COM7 COM8
1 15A 15B 15F 15G 15C 15E 15D P8
2 14A 14B 14F 14G 14C 14E 14D P7
3 13A 13B 13F 13G 13C 13E 13D P6
4 12A 12B 12F 12G 12C 12E 12D P5
5 11A 11B 11F 11G 11C 11E 11D
6 10A 10B 10F 10G 10C 10E 10D P4
7 9A 9B 9F 9G 9C 9E 9D
8 P2 6D 6C 6E 6G 6B 6F 6A
9 P3 7D 7C 7E 7G 7B 7F 7A
10 P9 8D 8C 8E 8G 8B 8F 8A
11 P10 P11 P12 P13 P15 P16 P17
12 8 7 6 5 4 3 2 1
13 P18 9 11 10 11’ 12 13 14
14 P30 P31 P32 P33 P20 P19 P21 P22
15 COM1
16 COM2
17 COM3
18 COM4
19 COM5
20 COM6
21 COM7
22 COM8
23 P29 P28 P26 P25 P24 P23
24 P1 5D 5C 5E 5G 5B 5F 5A
25 COL2 4D 4C 4E 4G 4B 4F 4A
26 3D 3C 3E 3G 3B 3F 3A
27 COL1 2D 2C 2E 2G 2B 2F 2A
28 1D 1C 1E 1G 1B 1F 1A