Hi,
I'm trying to use an AT25 SPI EEPROM. I have built and modified the example in "..zephyr\samples\drivers\eeprom" adding the following node to the dts file shown below...
&spi3 { pinctrl-0 = <&spi3_default>; pinctrl-1 = <&spi3_sleep>; pinctrl-names = "default", "sleep"; cs-gpios = <&gpio0 11 GPIO_ACTIVE_LOW>; status = "okay"; at25db0: at25db041e@0 { compatible = "atmel,at25"; reg = <0>; spi-max-frequency = <8000000>; size = <DT_SIZE_K(512)>; pagesize = <512>; address-width = <24>; timeout = <5>; status = "ok"; };
It builds and reports no errors on reading or writing but does not actually write data to the at25.,
If I open Kconfig from VSCODE ACTIONS menu (Guiconfig) then under EEPROM there is an option for Atmel AT25 SPI EEPROM support, however it will not let me select it. I have tried adding
DT_HAS_ATMEL_AT25_ENABLED
HELP!