Re: SPI api example...

2023-07-11 Thread Alan C. Assis
Hi Ed On 7/11/23, Ed Sutter wrote: > On 7/11/2023 2:00 PM, Alan C. Assis wrote: >> Hi Ed, >> >> Are you the Ed Sutter from uMon bootloader author? >> >> On 7/11/23, Ed Sutter wrote: >>> Hi, >>> Are there any examples of application code accessing a SPI device on >>> Nuttx? >>> Thanks, >> Normall

Re: SPI api example...

2023-07-11 Thread Ed Sutter
On 7/11/2023 2:00 PM, Alan C. Assis wrote: Hi Ed, Are you the Ed Sutter from uMon bootloader author? On 7/11/23, Ed Sutter wrote: Hi, Are there any examples of application code accessing a SPI device on Nuttx? Thanks, Normally NuttX applications don't access the SPI Bus directly, an SPI devi

Re: SPI api example...

2023-07-11 Thread Alan C. Assis
Hi Ed, On 7/11/23, Ed Sutter wrote: > On 7/11/2023 2:00 PM, Alan C. Assis wrote: >> Hi Ed, >> >> Are you the Ed Sutter from uMon bootloader author? > Yep. Hi Alan! > I just finished I2C and used apps/system/i2c as my test. Nice! I2CTools is very useful to verify if the device is in the bus and

Re: SPI api example...

2023-07-11 Thread Ed Sutter
On 7/11/2023 2:00 PM, Alan C. Assis wrote: Hi Ed, Are you the Ed Sutter from uMon bootloader author? Yep.  Hi Alan! I just finished I2C and used apps/system/i2c as my test. I'm just getting old I guess... I didn't even notice the spi peer directory there. If it is similar in function to the ap

Re: SPI api example...

2023-07-11 Thread Ed Sutter
On 7/11/2023 1:57 PM, Tim Hardisty wrote: On 11/07/2023 18:28, Ed Sutter wrote: Hi, Are there any examples of application code accessing a SPI device on Nuttx? Thanks, Ed Plenty - MAX31855 K-type thermocouple interface for example. Look at the examples in the Applications setup within menuco

Re: SPI api example...

2023-07-11 Thread Alan C. Assis
Hi Ed, Are you the Ed Sutter from uMon bootloader author? On 7/11/23, Ed Sutter wrote: > Hi, > Are there any examples of application code accessing a SPI device on Nuttx? > Thanks, Normally NuttX applications don't access the SPI Bus directly, an SPI device needs to be exported through the driv

Re: SPI api example...

2023-07-11 Thread Tim Hardisty
On 11/07/2023 18:28, Ed Sutter wrote: Hi, Are there any examples of application code accessing a SPI device on Nuttx? Thanks, Ed Plenty - MAX31855 K-type thermocouple interface for example. Look at the examples in the Applications setup within menuconfig. SPI devices will be accessed via char