nRF54L15 zephyr-epaper example with ePaper Breakout board

Hello,

Could you specify for which board and screen this zephyr-epaper example is supposed to work correctly?

I tried with ePaper Breakout Board but nothing appears in the screen.

This same board works fine with XIAO ESP32-S3 board (+ 2.13" screen) and Arduino example.

Regards

The board definitions do not support any sample that needs the dfu feature currently, nrf54L15_partition.dtsi needs to be adjusted to fit the memory only on the SOC.
The version that exists in my repository right now maps memory that does not exist. I should have a fix out today. Seeed should have an official fix soon too, from what I’ve heard from that team.

It’s trying to allocate enough space to do OTA updates.

The example provided in the official repository compiles correctly.
I don’t need OTA for zephyr-epaper example.

I’ll see if I can get that to work with a different e-paper adaptor I have sitting around and let you know if i find out anything helpful.

1 Like

I found in app.overlay that it is configured for uc8179_7inch5_epaper_gdew075t7 screen.

	uc8179_7inch5_epaper_gdew075t7: uc8179@0 {
		compatible = "gooddisplay,gdew075t7", "ultrachip,uc8179";

I found this Zephyr doc:
https://docs.zephyrproject.org/latest/boards/shields/waveshare_epaper/doc/index.html

I have a wild speculation, what pin is the epaper busy line mapped to on the NRF, I’ll bet it’s one of the pins that’s not interrupt capable.

BUSY is D5 on this board:

And D5 for the other board:

I am trying with this config:

/ {
	chosen {
		// zephyr,display = &uc8179_7inch5_epaper_gdew075t7;
		zephyr,display = &waveshare_epaper_gdey0213b74;
	};

	/* 
		WAVESHARE e-Paper Raw Panel Shield
		https://docs.zephyrproject.org/latest/boards/shields/waveshare_epaper/doc/index.html
	*/
	mipi_dbi_xiao_epaper {
		compatible = "zephyr,mipi-dbi-spi";
		spi-dev = <&xiao_spi>;
		dc-gpios = <&xiao_d 3 GPIO_ACTIVE_HIGH>;
		reset-gpios = <&xiao_d 0 GPIO_ACTIVE_LOW>;	
		write-only;
		#address-cells = <1>;
		#size-cells = <0>;

		/*
			2.13" Monochrome eInk / ePaper Display with 122x250 Pixels
			waveshare_epaper_gdey0213b74
				eInk SPI Pins	XIAO
				RST		D0
				CS		D1
				DC		D3
				BUSY	D5
				SCK		D8
				MOSI	D10 
		*/
		waveshare_epaper_gdey0213b74: waveshare_epaper_gdey0213b74@0 {
			compatible = "gooddisplay,waveshare_epaper_gdey0213b74";
			mipi-max-frequency = <4000000>;
			reg = <0>;
			width = <250>;
			height = <122>;
			busy-gpios = <&xiao_d 5 GPIO_ACTIVE_LOW>; 

			softstart = [17 17 17 17];

			full {
				pwr = [07 07 3f 3f];
				cdi = <07>;
				tcon = <0x22>;
			};
		};
	};
};

&xiao_spi {
    status = "okay";
	cs-gpios = <&xiao_d 1 GPIO_ACTIVE_LOW>;
};

Well, I got as far as building and flashing it, but my problem is my working 54l15 is part of a device already, and my spare is semi bricked, so I can’t non destructively connect my e-paper… new project figure out un softbricking.

For some reason the attached epaper driver fires up the motor controller, turns one direction, them the other and then just presents a serial terminal to my PC over usb… so it’s definitely trying to do stuff

Hi there,

Did you build your config, for the Driver board or the breakout board?

The error log seems to indicate the driver.h is for a different board?
I would also ask if you have it working on the Xiao Nrf52840 ?

HTH
GL :slight_smile: PJ :v:

Hello,

It seems to me that this configuration page is only used for the Arduino library, right?
This topic is for the Zephyr example.

It is work on xiao_7_5_inch_epaper_panel

xiao_7_5_inch_epaper_panel is based on XIAO-C3. I think it would be nice for users to offer a second option for Zephyr/nrf54l15 with a more affordable screen to validate the functionality.

I think I broke my board too. The upload isn’t working anymore.