Hi all!
First time poster but avid consumer of Jared’s videos.
I’m new to Zephyr, nRF SDK and embedded in general.
I’m building a project that requires multiple ePaper screens (6 in total). I managed to get my whole setup working with 1 screen, but when i add a second one, it doesn’t show any image.
I suspect that my device tree has something wrong with it:
Here is my spi node.
&spi0 {
compatible = "nordic,nrf-spim";
status = "okay";
sck-pin = < 17 >;
mosi-pin = < 19 >;
miso-pin = < 20 >;
cs-gpios = <&gpio0 03 GPIO_ACTIVE_LOW>,
<&gpio0 04 GPIO_ACTIVE_LOW>;
epd1: ssd16xxfb@0 {
compatible = "solomon,ssd16xxfb";
label = "ssd16xx01";
spi-max-frequency = <4000000>;
reg = <0>;
width = <200>;
height = <200>;
pp-width-bits = <8>;
pp-height-bits = <16>;
dc-gpios = <&gpio0 23 GPIO_ACTIVE_LOW>;
reset-gpios = <&gpio1 22 GPIO_ACTIVE_LOW>;
busy-gpios = <&gpio1 21 GPIO_ACTIVE_HIGH>;
gdv = [00];
sdv = [41 a8 32];
vcom = <0x00>;
border-waveform = <0x05>;
tssv = <0x80>;
};
epd2: ssd16xxfb@1 {
compatible = "solomon,ssd16xxfb";
label = "ssd16xx02";
spi-max-frequency = <4000000>;
reg = <1>;
width = <200>;
height = <200>;
pp-width-bits = <8>;
pp-height-bits = <16>;
dc-gpios = <&gpio1 06 GPIO_ACTIVE_LOW>;
reset-gpios = <&gpio1 05 GPIO_ACTIVE_LOW>;
busy-gpios = <&gpio1 04 GPIO_ACTIVE_HIGH>;
gdv = [00];
sdv = [41 a8 32];
vcom = <0x00>;
border-waveform = <0x05>;
tssv = <0x80>;
};
};
Is there something in here that is incorrect?
Thanks for your help all!
Idriss