Hi Tim, You could search for any spi device being initialized. Search for spi_dev_s being declared in boards folder for some board, use it as an example and do the same initialization.
Vadim Sent from Mail.ru app for iOS Tuesday, August 24, 2021, 3:16 PM -0400 from t...@jti.uk.com.invalid <t...@jti.uk.com.invalid>: >AT24 is I2C and this is well supported in NuttX. AT25 is SPI and is what I >have (AT25128) and it is not well supported, with no example code or boards >that support it (that I can find) > > > > > > > > > >From: Gregory Nutt < spudan...@gmail.com > >Reply to: < dev@nuttx.apache.org > >Date: Tuesday, 24 August 2021 at 20:11 >To: < dev@nuttx.apache.org > >Subject: Re: SPI EEPROM > > > > > >That’s AT24 I2C not AT25 SPI EEPROM unfortunatel, and from a quick look it >“just worked” ☹ > > > >There is support for the AT24 in other SAM boards. Search for AT24 in > >defconfigs, I find > > > >boards/arm/samv7/same70-xplained/ > >boards/arm/samv7/samv71-xult/ > >boards/arm/xmc4/xmc4500-relax > > > >There is even simulated AT24 support: > > > >boars/sim/sim/sim > > > >You should be able to duplicate the logic from the samv7 boards. > > > > >