• ILI9341 Command List (and datasheet) attached.

    Since searching in attachments (imgs) is not that great, I'm instrumentalizing the data copied from the .pdf and get myself a little tooling going... you may notice where it is going... (done up to line #32 far for the GC9A01 commands, more and code will follow in a bit).

    var ct /* cmds target GC9A01 */ = `
    A| Command Function
    +| D/CX | RDX | WRX | D17-8 | D7 | D6 | D5 | D4 | D3 | D2 | D1 | D0 | HEX |
    5| Read Display Identification Information 2
    +| 0 | 1 | ↑ | XX | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 04h |
    -| 1 | ↑ | 1 | XX | X | X | X | X | X | X | X | X | XX |
    -| 1 | ↑ | 1 | XX |8 ID_1[7:0]                    | 00 |
    -| 1 | ↑ | 1 | XX |8 ID_2[7:0]                    | 9A |
    -| 1 | ↑ | 1 | XX |8 ID_3[7:0]                    | 01 |
    6| Read | Display Status
    +| 0 | 1 | ↑ | XX | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 09h |
    -| 1 | ↑ | 1 | XX | X | X | X | X | X | X | X | X | XX |
    -| 1 | ↑ | 1 | XX |7 D[31:25]                 | X | 00 |
    -| 1 | ↑ | 1 | XX | X |3 D[22:20] |4 D[19:16]     | 61 |
    -| 1 | ↑ | 1 | XX | X | X | X | X | X |3 D[10:8]  | 00 |
    -| 1 | ↑ | 1 | XX |3 D[7:5]   | X | X | X | X | X | 00 |
    1| Enter Sleep Mode
    +| 0 | 1 | ↑ | XX | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 10h |
    1| Sleep OUT
    -| 0 | 1 | ↑ | XX | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 11h |
    1| Partial Mode ON
    -| 0 | 1 | ↑ | XX | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 12h |
    1| Normal Display Mode ON
    -| 0 | 1 | ↑ | XX | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 13h |
    1| Display Inversion OFF
    -| 0 | 1 | ↑ | XX | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 20h |
    1| Display Inversion ON
    -| 0 | 1 | ↑ | XX | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 21h |
    1| Display OFF
    -| 0 | 1 | ↑ | XX | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 28h |
    1| Display ON
    -| 0 | 1 | ↑ | XX | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 29h |
    Column
    Address | Set
    0 | 1 | ↑ | XX | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 2Ah
    1 | 1 | ↑ | XX | SC[15:8] | 00
    1 | 1 | ↑ | XX | SC[7:0] | 00
    1 | 1 | ↑ | XX | EC[15:8] | 01
    1 | 1 | ↑ | XX | EC[7:0] | 3Fh
    Page | Address
    Set
    0 | 1 | ↑ | XX | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 2Bh
    1 | 1 | ↑ | XX | SP[15:8] | 00
    1 | 1 | ↑ | XX | SP[7:0] | 00
    1 | 1 | ↑ | XX | EP[15:8] | 00h
    
    1 | 1 | ↑ | XX | EP[7:0] | EFh |
    Memory | Write
    0 | 1 | ↑ | XX | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 2Ch |
    1 | 1 | ↑ | D[17:0] | XX
    .....
    ...
    .
    `;
    

    5 Attachments

    • ILI9341_cmds1.png
    • ILI9341_cmds2.png
    • ILI9341_cmds3.png
    • ILI9341_cmds4.png
    • ILI9341_cmds5.png
About

Avatar for allObjects @allObjects started