Skip to contentSkip to conversation

SI1133 light sensor: Is there anything to refer to?

DISCUSSION Olivier Dugas 2 participants 3 messages Jun 19, 2017 IIO

lore
Share & tools
lore
#0 lore raw

Hi,

We've recently been trying to make the SI1133 light sensor work according to what's written in its datasheet. Unfortunately many questions remain and the si1145.c driver seems largely different from si1133. We believe that any code sample would be of a great help. Are you aware of any driver, unmerged patch or other code sample for this sensor?

Regards,

Signature · 2 lines
Olivier Dugas, Ing., M.Sc.
Sonatest Advanced Products
#1 lore raw

Hello Olivier,

Quoted 5 lines

We've recently been trying to make the SI1133 light sensor work according to what's written in its datasheet. Unfortunately many questions remain and the si1145.c driver seems largely different from si1133. We believe that any code sample would be of a great help. Are you aware of any driver, unmerged patch or other code sample for this sensor?

the si1133 belongs in the same family as the si1153 which has a different register layout than the previous chips, so I think a separate driver is needed

I do have an eval board for the si1153 and started a driver, but it's not ready for submission (yet), the si1133 should be a lot simpler than the si1153

regards, p.

Signature · 2 lines
Peter Meerwald-Stadler
Mobile: +43 664 24 44 418
#2 lore raw

Excellent news. I'll keep a watch for this new driver to show up.
In the meantime, we just got the sensor to respond correctly using i2cget|set commands.

FYI, the issue we had was that the reset value of ADCCONFIGx is not 0x00 (as specified by the datasheet), but 0x0f, which selected no photodiode. Hence, we received only noise values.

Thanks a lot and have a good day

Signature · 1 line
Olivier Dugas
Quoted 17 lines · Peter Meerwald-Stadler

Hello Olivier,

Quoted 5 lines

We've recently been trying to make the SI1133 light sensor work according to what's written in its datasheet. Unfortunately many questions remain and the si1145.c driver seems largely different from si1133. We believe that any code sample would be of a great help. Are you aware of any driver, unmerged patch or other code sample for this sensor?

the si1133 belongs in the same family as the si1153 which has a different register layout than the previous chips, so I think a separate driver is needed

I do have an eval board for the si1153 and started a driver, but it's not ready for submission (yet), the si1133 should be a lot simpler than the si1153

regards, p.