rcsim opened a new pull request, #16779:
URL: https://github.com/apache/nuttx/pull/16779

   ## Summary
   
   This commit adds support for MAX31855 and MAX6675 thermocouple sensors on 
the STM32F401RC-RS485 board via SPI1. It also updates the board documentation 
accordingly.
   
   ## Impact
   
   
   Is new feature added? Is existing feature changed? Yes, added MAX31855 and 
MAX6675  support to STM32F401RC-RS485.
   Impact on user (will user need to adapt to change)? Yes, users will be able 
to utilize the MAX31855 and MAX6675 on the STM32F401RC-RS485.
   Impact on build (will build process change)? No
   Impact on hardware (will arch(s) / board(s) / driver(s) change)? Yes, 
ARM/STM32F401RC-RS485.
   Impact on documentation (is update required / provided)? Yes, 
STM32F401RC-RS485 was updated.
   Impact on security (any sort of implications)? No.
   Impact on compatibility (backward/forward/interoperability)? No
   
   ## Testing
   
   I confirm that changes are verified on the local setup and work as intended:
   
   Build Host(s): OS: Ubuntu 24.04, CPU: Intel i7-8850H, Compiler: GCC 13.3.0
   Target(s): arch: arm, board: stm32f401rc-rs485, config: usbnsh
   
   Configuration:
   CONFIG_STM32_SPI1=y
   CONFIG_SENSORS=y
   CONFIG_SENSORS_MAX31855=y
   CONFIG_EXAMPLES_MAX31855=y
   
   or
   
   CONFIG_STM32_SPI1=y
   CONFIG_SENSORS=y
   CONFIG_SENSORS_MAX6675=y
   CONFIG_EXAMPLES_MAX31855=y (same example works for both)
   
   Test:
   NuttShell (NSH) NuttX-12.10.0
   nsh> ls /dev/temp0
    /dev/temp0
   nsh> max31855
   Unable to open file /dev/temp1
   Unable to open file /dev/temp2
   Unable to open file /dev/temp3
   Starting...
   Channel SSP0/SPI1 Device 0: Temperature = 24!
   Channel SSP0/SPI1 Device 1: Not enabled!
   Channel SSP1/SPI2 Device 0: Not enabled!
   Channel SSP1/SPI2 Device 1: Not enabled!
   
   Channel SSP0/SPI1 Device 0: Temperature = 25!
   Channel SSP0/SPI1 Device 1: Not enabled!
   Channel SSP1/SPI2 Device 0: Not enabled!
   Channel SSP1/SPI2 Device 1: Not enabled!
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to