| Electronic Components Datasheet Search |
|
PCA2117DUGS/DA Datasheet(PDF) 58 Page - NXP Semiconductors |
|
|
|||||||||||||||||||||||||||||
PCA2117DUGS/DA Datasheet(HTML) 58 Page - NXP Semiconductors |
|
58 / 107 page ![]() PCA2117 All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2015. All rights reserved. Product data sheet Rev. 4 — 8 April 2015 58 of 107 NXP Semiconductors PCA2117 Automotive LCD driver for character displays i2c_write(0x11); // Select Memory Address 0: Point to first row in the CGRAM i2c_write(0x80); // Repeated Start condition startI2C(); SendI2CAddress(0x76); // MSB (Continuation bit CO) = 0, no more control bytes will follow, RS[1:0]= 01 // next bytes are RAM data bytes written in the CGRAM column 0 i2c_write(0x20); // Here the data bytes to define the character // Behind the write commands the 5x8 dot matrix is shown, the 1 represents a on pixel. // The Euro currency character can be recognized by the 0/1 pattern (see Figure 37) // 00110 i2c_write(0x06); // 00110 i2c_write(0x09); // 01001 i2c_write(0x08); // 01000 i2c_write(0x1E); // 11110 i2c_write(0x1E); // 11110 i2c_write(0x08); // 01000 i2c_write(0x09); // 01001 i2c_write(0x06); // 00110 i2c_stop(); // Until here the definition of the character and writing it into the CGRAM. Now it // still has to be displayed. See below. // PCA2117, setting of proper display modes startI2C(); // PCA2117 slave address for write, SA0 is connected to VDD SendI2CAddress(0x76); // MSB (Continuation bit CO) = 1, more control bytes will follow, RS[1:0]= 10 // next byte is a command byte on register page "10" i2c_write(0xC0); // Set display configuration to right to left, column 80 to 1. Row data displ. top to // bottom 1 to 16. P-bit='1' Q-bit = '1 i2c_write(0x06); // MSB (Continuation bit CO) = 1, more control bytes will follow, RS[1:0]= 10 // next byte is a command byte on register page "10" i2c_write(0xC0); // Set to character mode, full display, icon blink disabled i2c_write(0x08); // MSB (Continuation bit CO) = 1, more control bytes will follow, RS[1:0]= 11 // next byte is a command byte on register page "11" i2c_write(0xE0); // Set voltage multiplier to 2 and enable chargepump i2c_write(0x84); // MSB (Continuation bit CO) = 1, more control bytes will follow, RS[1:0]= 11 // next byte is a command byte on register page "11" i2c_write(0xE0); // Set Vlcda MSB i2c_write(0xA2); // MSB (Continuation bit CO) = 1, more control bytes will follow, RS[1:0]= 11 // next byte is a command byte on register page "11" |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |