A bug that prevents communication with the ADS1256
Closed this issue · 0 comments
Habraken commented
On a RaspberryPi4, running buster and the lasted version of bcm2835 lib (https://www.airspayce.com/mikem/bcm2835 version 1.71) there is a bug that causes the RadiometerRun and RadiometerLiveView to not being able to receive data from the ADS1256.
The bug is located in line 681 of RadiometerRun.c:
bcm2835_spi_setBitOrder(BCM2835_SPI_BIT_ORDER_LSBFIRST );
This needs to be:
bcm2835_spi_setBitOrder(BCM2835_SPI_BIT_ORDER_MSBFIRST );