How bardia-afshar/max31855-max6675-stm32 works
This repository provides STM32 HAL drivers and MicroPython ports for MAX31855 and MAX6675 thermocouple converters, plus polling and DMA example projects. In the primary workflow, an application configures a driver with SPI and chip select, starts a read, and retrieves decoded temperature and fault status; DMA reads complete asynchronously. The MicroPython classes provide a separate synchronous read-and-decode path. Relationships between the STM32 drivers and example applications are documented, but example source was not sampled, so their internal calls are not asserted.
Main entry points: max31855.c MAX31855 driver · max6675.c MAX6675 driver · max31855.py MAX31855 Python class · max6675.py MAX6675 Python class
Components 15
STM32 HAL Drivers
- MAX31855 driver
library/max31855/max31855.c - MAX6675 driver
library/max6675/max6675.c
MicroPython Ports
- MAX31855 Python class
library/micropython/max31855.py - MAX6675 Python class
library/micropython/max6675.py
STM32 Examples
- MAX31855 polling example
examples/max31855_polling - MAX31855 DMA example
examples/max31855_dma - MAX6675 polling example
examples/max6675_polling - MAX6675 DMA example
examples/max6675_dma
Other components
- STM32 application
- STM32 HAL SPI/GPIO
- MAX31855 converter
- MAX6675 converter
- Temperature and status
- MicroPython runtime
- MicroPython board
Connections 18
- STM32 application → MAX31855 driver: configures and reads
README.md - STM32 application → MAX6675 driver: configures and reads
README.md - MAX31855 driver → STM32 HAL SPI/GPIO: transfers via
library/max31855/max31855.c - MAX6675 driver → STM32 HAL SPI/GPIO: transfers via
library/max6675/max6675.c - MAX31855 converter → MAX31855 driver: sends SPI frame
README.md - MAX6675 converter → MAX6675 driver: sends SPI frame
README.md - MAX31855 driver → Temperature and status: decodes temperatures and faults
library/max31855/max31855.c - MAX6675 driver → Temperature and status: decodes temperature and fault
library/max6675/max6675.c - MicroPython board → MAX31855 Python class: runs
library/micropython/max31855.py - MicroPython board → MAX6675 Python class: runs
library/micropython/max6675.py - MAX31855 Python class → MicroPython runtime: uses Pin and SPI
library/micropython/max31855.py - MAX6675 Python class → MicroPython runtime: uses Pin and SPI
library/micropython/max6675.py - MAX31855 Python class → Temperature and status: returns fault and Celsius
library/micropython/max31855.py - MAX6675 Python class → Temperature and status: returns fault and Celsius
library/micropython/max6675.py - MAX31855 polling example → MAX31855 driver: uses polling driver
README.md - MAX31855 DMA example → MAX31855 driver: uses DMA driver
README.md - MAX6675 polling example → MAX6675 driver: uses polling driver
README.md - MAX6675 DMA example → MAX6675 driver: uses DMA driver
README.md