How can I correctly interface and read data from the ADuCM355 sensor using a Teensy4.1 microcontroller, and what are the key configuration parameters to ensure accurate readings?
To correctly interface and read data from the ADuCM355 sensor using a Teensy4.1 microcontroller, ensure that the data type used to hold the sensor data is a signed 24-bit integer. The issue with incorrect readings, such as over-increasing by 100 times, was resolved by adjusting the sensitivity parameter. Additionally, there is an ongoing pull request addressing the unpacking of data as 4 bytes instead of 3, and the incorrect display of negative values. The pull request can be found at: https://github.com/analogdevicesinc/EVAL-ADICUP3029/pull/125. The READ_AVG_PPB register averages 10 samples, with each sample taking approximately 2.2 ms, resulting in a total averaging time of around 30 ms. The measurement time and update rate are configurable, with default values of 500 ms and 1 s, respectively. The READ_RAW_PPB register can be read at any time and provides a single sample. An updated .hex file is available for the ADICUP3029 to address the issue with negative values: https://ez.analog.com/cfs-file/__key/communityserver-discussions-components-files/334/6013.ADuCM3029_demo_5F00_cn0428_5F00_cn0429.zip.