NXP Semiconductors OM13500 User Manual Download Page 10

 

 

NXP Semiconductors 

UM10744 

 

OM13500 & OM13500A user manual 

UM10744 

All information provided in this document is subject to legal disclaimers. 

© NXP B.V. 2013. All rights reserved. 

User manual 

Rev. 1 — 23.September 2013 

10 of 14 

4.  Software code example 

Section 8 of the PCA9620 data sheet contains all the commands and their description. In 

order to be able to write software for this driver, it will be necessary to read the 

datasheet. 
Below, an example for the configuration of the PCA9620 for use with the LCD on this 

board is listed. Exact details of how to write the functions are left to the programmer. This 

example shows the data to be sent to the PCA9620 to configure it for the module on this 

board. 
These settings will also work for PCA8537. 
 

I2CWrite[0] = PCA9620_ADDR; 

   I2CWrite[1] = 0b10000000;  

// control byte

 

   I2CWrite[2] = 0xCC;       

// Internal oscillator, no CLKOUT 

 

   I2CWrite[3] = 0b10000000;  

// control byte

 

   I2CWrite[4] = 0xC3;       

// Charge pump enabled, Vlcd = 3*Vdd

 

   I2CWrite[5] = 0b10000000;  

// control byte

 

   I2CWrite[6] = 0xCB;       

// Temp. compensation and meas, enabled

 

   I2CWrite[7] = 0b10000000;  

// control byte

 

   I2CWrite[8] = 0x47;       

// set VLCD, MSB=0111

 

   I2CWrite[9] = 0b10000000;  

// control byte

 

   I2CWrite[10] = 0x5A;       

// set VLCD, LSB=1010. VLCD = 6.66 V

 

   I2CWrite[11] = 0b10000000;  

// control byte

 

   I2CWrite[12] = 0x00;       

// Set MUX mode to 1:8

 

   I2CWrite[13] = 0b10000000;  

// control byte

 

   I2CWrite[14] = 0xC5;       

// Set 1/4 bias

 

   I2CWrite[15] = 0b10000000;  

// control byte

 

   I2CWrite[16] = 0xD4;       

// Driving scheme A, charge pump 1 MHz

 

   I2CWrite[17] = 0b10000000;  

// control byte

 

   I2CWrite[18] = 0x72;       

// Set frame-frequency = 240 Hz

 

   I2CWrite[19] = 0b10000000;  

// control byte

 

   I2CWrite[20] = 0x39;       

// Display enable

 

   I2CWrite[21] = 0b10000000;  

// control byte

 

   I2CWrite[22] = 0x80;       

// Set Data pointer = 0 

 

I2CWrite[23] = 0b00100000;

   // Write to DDRAM 

 
  

 

 
 
 

Summary of Contents for OM13500

Page 1: ...CA9620 segment driver The OM13500A is the same board but instead of PCA9620 PCA8537 is mounted The latter has a reduced number of segment outputs and therefore is not able to drive all display element...

Page 2: ...ject to legal disclaimers NXP B V 2013 All rights reserved User manual Rev 1 23 September 2013 2 of 14 Contact information For more information please visit http www nxp com For sales office addresses...

Page 3: ...us The PCA8537 can be easily connected to a microcontroller by either the two line I2 C bus PCA8537AH or a three line bidirectional SPI bus PCA8537BH Communication overheads are minimized using a disp...

Page 4: ...document is subject to legal disclaimers NXP B V 2013 All rights reserved User manual Rev 1 23 September 2013 4 of 14 2 Board description and layout Fig 1 shows the top view of the board Fig 1 Top vie...

Page 5: ...is not used This external voltage VLCD_EXT can be adjusted using potentiometer POT1 PCA9620 and PCA8537 include a temperature compensated internal VLCD generator The third power supply option allows...

Page 6: ...d by NXP Code Red Technologies and Embedded Artists includes an integrated JTAG debugger LPC Link so there is no need for a separate JTAG debug probe The target portion of the board can connect to exp...

Page 7: ...ddition a few SMD 0 resistors are mounted for I2 C address selection The expectation is that these will seldom be removed but it allows selecting a different I2 C slave address for PCA9620 resistors R...

Page 8: ...OM13500 OM13500A user manual UM10744 User manual UM10744 Rev 1 23 September 2013 All information provided in this document is subject to legal disclaimers 8 of 14 NXP B V 2013 All rights reserved Fig...

Page 9: ...M10744 All information provided in this document is subject to legal disclaimers NXP B V 2013 All rights reserved User manual Rev 1 23 September 2013 9 of 14 Fig 3 PCB layout The LPCXpresso board and...

Page 10: ...for PCA8537 I2CWrite 0 PCA9620_ADDR I2CWrite 1 0b10000000 control byte I2CWrite 2 0xCC Internal oscillator no CLKOUT I2CWrite 3 0b10000000 control byte I2CWrite 4 0xC3 Charge pump enabled Vlcd 3 Vdd I...

Page 11: ...uments listed below provide further useful information They are available at NXP s website www nxp com 1 LPCXPresso Getting started with NXP LPCXpresso 2 PCA9620 Product data sheet 3 PCA8537 Product d...

Page 12: ...ty for any assistance with applications or customer product design It is customer s sole responsibility to determine whether the NXP Semiconductors product is suitable and fit for the customer s appli...

Page 13: ...0744 All information provided in this document is subject to legal disclaimers NXP B V 2013 All rights reserved User manual Rev 1 23 September 2013 13 of 14 7 List of figures Fig 1 Top view of OM13500...

Page 14: ...office addresses please send an email to salesaddresses nxp com Date of release 23 September 2013 Document identifier UM10744 8 Contents 1 Introduction 3 2 Board description and layout 4 2 1 Power Su...

Page 15: ...Mouser Electronics Authorized Distributor Click to View Pricing Inventory Delivery Lifecycle Information NXP OM13500UL OM13500AUL...

Reviews: