User Tools

Site Tools


lcd

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
lcd [2024/09/30 13:54] – created arisoturalcd [2025/03/16 15:26] (current) arisotura
Line 8: Line 8:
 Before displaying anything, the LCD must be initialized with the following sequence. Before displaying anything, the LCD must be initialized with the following sequence.
  
-First, configure the LCD [[GPIO]] (at 0xF0005100) as an output, by setting it to 0xC200. Then set it to zero, wait atleast 5 milliseconds, set it to one, wait atleast 15 milliseconds. This sequence seems to prepare the LCD for I2C communication.+First, configure the LCD [[GPIO]] (at 0xF0005100) as an output, by setting it to 0xC200. Then set it to zero (0xC200), wait atleast 5 milliseconds, set it to one (0xC300), wait atleast 15 milliseconds. This sequence seems to prepare the LCD for I2C communication.
  
 Then, to identify the LCD, perform the following I2C transactions, one line being a single transaction: Then, to identify the LCD, perform the following I2C transactions, one line being a single transaction:
Line 16: Line 16:
   - Send bytes 0xB0, 0x03.   - Send bytes 0xB0, 0x03.
  
-The first bytes received in the second transaction are the LCD's ID. There are two possible values:+The first bytes received in the second transaction are the LCD's ID. There are two possible values:
  
-^ ID         ^ LCD type  +^ ID         ^ LCD type   
-| 0x08922201 | JDI       +| 0x08922201 | JDI R69208 
-| 0x00000002 | Panasonic |+| 0x00000002 | Panasonic MN838985 |
  
 Any other value would indicate a communication failure. Any other value would indicate a communication failure.
 +
 +Note: not sure if any retail gamepads are equipped with the Panasonic LCD. The diagnostics firmware only supports the JDI one.
  
 The second part of the initialization procedure depends on the LCD type. The second part of the initialization procedure depends on the LCD type.
Line 79: Line 81:
 Where A is setting A, B is setting B, and C is 0x01 when turning on the backlight, 0x00 when turning it off. Where A is setting A, B is setting B, and C is 0x01 when turning on the backlight, 0x00 when turning it off.
  
-As a last step, send command 0x12 to the UIC to actually toggle the backlight.+As a last step, send [[UIC#command_12|command 0x12 to the UIC]] to actually toggle the backlight.
  
 The LCD should now be ready to go. The LCD should now be ready to go.
lcd.1727704448.txt.gz · Last modified: 2024/09/30 13:54 by arisotura

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki