Raspberry Pi CM4 驱动高分辨率7寸MIPI屏幕
采用树莓派CM4通过DSI总线驱动1920*1200分辨率的7寸MIPI LCD屏幕,硬件采用KiCad设计,软件、硬件都开源
标签
树莓派
嵌入式系统
CM4
MIPI
refdesignshare
更新2022-02-01
4362

这是发布在Hackaday并开源在Github上的一款项目,使用树莓派CM4的DSI接口驱动7寸1920*1280分辨率的LCD屏幕。

板上有:

  • 标准的RPi 40-pin插座用于外设和集成
  • 用于连接显示器的4-lane MIPI DSI接口
  • 用于连接触摸屏的I2C接口
  • micro-SD卡座
  • USB 2.0 host连接器
  • PCM音频放大器,有3W的功率输出
  • USB-C供电连接器
  • micro-USB连接器用于刷新板上的eMMC
  • 通用的按键
  • 电源和状态指示LED
  • 安装固定的座

Fq_LbPS1PW5UVOZBs-5KNy_28lne

Fu5o0Lgpg-uQXQSKBZtY9ei_Ds-7

Flj4-w4gIYo-88v_N46HoKgrT5Gs

FvbgRHTKuIpQD9k7lMAQK6hCjZu5

FgNhwKiIzEoLLBEiC2igcCREk3Ie

Fj_JwVMhjjw-1FgBXWwC6QYwIGdo

Fq6nPrhu2aFbV39xwwi-h6fP94aT

Fpu6_19CytvSUwajago7CakYD-mk

 

Github上关于如何使用和配置该板卡的介绍:

This repository contains a PCB design and drivers for Raspberry Pi CM4 Сarrier with Hi-Res MIPI Display project.
For details, see https://hackaday.io/project/176098-raspberry-pi-cm4-arrier-with-hi-res-mipi-display

The display used is JDI LT070ME05000 with Goodix touch input driver IC. The project also uses MCP23008 IO expander to save some GPIO pins.

Raspberry Pi only supports its official 7-inch MIPI DSI display with FKMS(Fake/Firmware KMS) out of the box. To make the display work, we need to use full KMS and Linux kernel driver for the panel.

The PCB design is contained in the KiCAD directory.

Setup

  1. Install the latest Raspberry PI OS image, either on SD card (with CM4 Lite) or onto eMMC. With Lite version, you can use SD card instruction, otherwise use eMMC instruction.
    The jumper that enables boot from usb is located near the micro-USB connector on the PCB.

  2. Mount boot partition onto your computer.

  3. Enable and connect the serial console.

    1. Add enable_uart=1 to the config.txt file on boot partition.
    2. Use the serial interface to connect to Raspberry Pi: elinux.org instruction.
  4. Enable USB port.
    By default, to conserve power, USB is not enabled on CM4.
    To enable, add dtoverlay=dwc2,dr_mode=host to config.txt.

  5. Boot your Raspberry Pi and connect it to the internet. If you have a module without Wi-Fi, you need a USB Wi-Fi or Ethernet adapter. If Wi-Fi doesn't work, and you are receiving the message like "Could not communicate with wpa_supplicant" from raspi-config when trying to set up wireless network, you may need to add the following

    allow-hotplug wlan0
    iface wlan0 inet manual
    wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
    

    to /etc/network/interfaces and then reboot.

  6. On the Raspberry Pi,

    1. Install git and dkms:
    sudo apt-get update
    sudo apt-get install git dkms
    
    1. Clone the repository and install the drivers
    git clone https://github.com/renetec-io/cm4-panel-jdi-lt070me05000.git
    cd cm4-panel-jdi-lt070me05000
    ./setup.sh
    
  7. Enable display driver.
    Add the following in the end of /boot/config.txt:

    dtparam=i2c_vc=on   
    lcd_ignore=1   
    dtoverlay=vc4-kms-v3d-pi4,noaudio   
    dtoverlay=cm4-dsi-lt070me05000   
    
  8. Enable sound.
    Add the following to /boot/config.txt:

    # Sound configuration   
    dtparam=audio=on   
    dtoverlay=hifiberry-dac   
    dtoverlay=i2s-mmap   
    
  9. Reboot.

物料清单
附件下载
cm4-panel-jdi-lt070me05000.pdf
原理图, PDF格式,用KiCad绘制
cm4-panel-jdi-lt070me05000-master (1).zip
项目文件,包含KiCad设计的硬件资料以及相关的软件代码
团队介绍
Renetec, Inc. - https://www.renetec.io/
团队成员
Sasha Shturma
Engineer, entrepreneur, film photographer, obsessed with cats.
Igor Shturma
firmware engineer
评论
0 / 100
查看更多
目录
硬禾服务号
关注最新动态
0512-67862536
info@eetree.cn
江苏省苏州市苏州工业园区新平街388号腾飞创新园A2幢815室
苏州硬禾信息科技有限公司
Copyright © 2024 苏州硬禾信息科技有限公司 All Rights Reserved 苏ICP备19040198号