メインコンテンツにスキップ

MIPI DSI Screen Development

DuoS and Duo Module 01 support screens with MIPI DSI interface. The maximum output resolution is 1920x1080 (1080P@60fps RGB24-bit).

Adding a New Screen

Pull the SDK code duo-buildroot-sdk, refer to the commit: a84a2e84f, this commit is to add support for Milk-V 8-inch 800x1280 screen, create a new screen parameter file based on the dsi_milkv_8hd.h file, and then add the new screen definition to sample_dsi_panel.h and sample_dsi.c, and then refer to buildroot sdk compilation Compile and generate a new firmware package test.

In addition to generating the entire firmware, you can also use the step-by-step compilation method. Replace build_all in the compilation guide with build_middleware. The generated test file is middleware/v2/sample/mipi_tx/sample_dsi. You can use scp to upload sample_dsi to the device for testing.

The test command is (note that the --panel= parameter is replaced with the newly added screen):

sample_dsi --panel=MILKV_8HD
devmem 0x0a088094 32 0x0701000a

The screen will display color stripes.

Document Pictures

Reference

  1. CV181x Screen Docking Guide