I successful use SPI by Zepher, I want communication with LCD Display but cant use SPI Data/Command option GPIO for config LCD !
zephyr,gc9a01.yaml
description: My spi device binding compatible: "zephyr,gc9a01" include: spi-device.yaml
.overlay
&spi1 { cs-gpios = <&gpio0 29 GPIO_ACTIVE_LOW>; gc9a01:gc9a01@0 { compatible = "zephyr,gc9a01"; reg = < 0 >; spi-max-frequency=<30000000>; label = "gc9a01"; }; };
send data:
spi_write_dt(&gc9a01,&spi_buffer_tx_set);
I read the datasheet of nrf52840 & i found D/CX SPI configuration!
How i must use that in Zephyr and how must i config GPIO for that??