Skip to content

Fix TSL2591 detection by adding command bit to register read#9215

Merged
fifieldt merged 1 commit into
meshtastic:developfrom
heathdutton:fix-tsl2591-detection-9124
Jan 8, 2026
Merged

Fix TSL2591 detection by adding command bit to register read#9215
fifieldt merged 1 commit into
meshtastic:developfrom
heathdutton:fix-tsl2591-detection-9124

Conversation

@heathdutton

Copy link
Copy Markdown
Contributor

TSL2591 requires the command bit (0xA0) to be OR'd with the register address when reading. Without this, the ID register read returns invalid data, causing misdetection as TSL2561.

Fixes #9124

@CLAassistant

CLAassistant commented Jan 8, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@fifieldt fifieldt added the bugfix Pull request that fixes bugs label Jan 8, 2026
@fifieldt fifieldt merged commit 86326f2 into meshtastic:develop Jan 8, 2026
76 of 77 checks passed
vicliu624 pushed a commit to vicliu624/firmware that referenced this pull request Jan 13, 2026
jeek pushed a commit to jeek/Meshtastic-Exploiteers-Hacker-Pager that referenced this pull request Jun 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix Pull request that fixes bugs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: TSL2591 mis-detection as TSL2561 on I²C address 0x29

3 participants