Sensirion / embedded-i2c-sgp40

The SGP40 is Sensirion’s new digital VOC (volatile organic compounds) sensor designed for easy integration into air purifiers or demand-controlled ventilation.
BSD 3-Clause "New" or "Revised" License
8 stars 5 forks source link

SGP41 in DMA mode #4

Closed remyhx closed 4 months ago

remyhx commented 4 months ago

Hi. For polling we use two bytes for the address/command and six for the humidity/temperature/crc input. Is it also possible to work with only a 16-bit address/command, so I could use DMA readout to avoid too much processor work? (The algorithm should be fed with a 1 second readout.)

LeonieFierz commented 4 months ago

Hi @remyhx

The measure command always needs the humidity/temperature/crc to be set. If compensation is not needed, you can send the fixed default values, but still the bytes need to be sent.

Best regards, Léonie