Does NRF5340 have an example code for QSPI driving uLED display peripherals ?

Hi Nrodic,

Does NRF5340 have an example code for QSPI driving uLED display peripherals (for example, I need to drive this display chip: JBD013VGA, As per the attached datashell)? I found similar code (v2.3.0/zephyr/drivers/flash/nrf_qspi_nor. c), but there are no examples related to driver display peripherals. I have just come into contact with this platform, although it helps with documentation( developer.nordicsemi.com/.../driver.html )I have clearly introduced the API usage specifications, but I still hope to have a similar reference code so that I can import it better.

We look forward to your reply.

Thank you very much.JBD013VGA 4010 Datasheet_V2.21c_for_jg(1).pdf

Parents
  • Hi,

    As mentioned by  , the QSPI peripheral in nRF5340 is tailored for interface with external NOR flash devices. The Instruction set is described in the documentation and you need to read the datasheet of the uLED display to see if this supports the same instruction set. It is also possible to setup and Sending custom instructions according to the datasheet of your device, which is what Jimmy have done in the blog post you linked.

    The blog post uses the nrf_drv_qspi API from nRF5 SDK, but it should be very similar to the nrfx_qspi API supported in nRF Connect SDK.

    I'm not aware of any examples supporting uLED displays like you ask for, you will have to implement the driver yourself according to the commands described in the datasheet of the device.

    Best regards,
    Jørgen

  • Hi Jørgen,

    Okay, first of all, thank you for your patient explanation;


    I looked at the datasheet of this uLED(JBD013VGA), and the opcode of the write data buffer is 0x62,
    but nrf5340 QSPI PP40 instruction opcode is 0x32,

    nrf5304:

    So it seems that the default instructions cannot be directly used for data writing,
    In the custom instruction, I see the timing chart showing IO2, and IO3 has no data,

    so it cannot drive this uLED, Is this understanding correct?

    Thanks.

Reply
  • Hi Jørgen,

    Okay, first of all, thank you for your patient explanation;


    I looked at the datasheet of this uLED(JBD013VGA), and the opcode of the write data buffer is 0x62,
    but nrf5340 QSPI PP40 instruction opcode is 0x32,

    nrf5304:

    So it seems that the default instructions cannot be directly used for data writing,
    In the custom instruction, I see the timing chart showing IO2, and IO3 has no data,

    so it cannot drive this uLED, Is this understanding correct?

    Thanks.

Children
No Data
Related