Hi,
I'm integrating a VCNL4010 over an I2C connection via an nRF52 DK.
Noting there is a Vishay VCNL4040 sensor driver, has anyone written one for the VCNL4010? It would be greatly received and save me a stack of time!
many thanks, Philip
Hi,
I'm integrating a VCNL4010 over an I2C connection via an nRF52 DK.
Noting there is a Vishay VCNL4040 sensor driver, has anyone written one for the VCNL4010? It would be greatly received and save me a stack of time!
many thanks, Philip
Hello Philip,
I see that you've left the case open for the forum to chime in (which is great) since we don't write drivers for third party devices. All the third party drivers that are present within nRF Connect SDK (NCS) comes through Zephyr, which NCS is based upon.
But that said, there are a driver present within the SDK. You can find it here: https://github.com/nrfconnect/sdk-zephyr/tree/main/drivers/sensor/vishay
There's a couple of samples found within <SDK>\zephyr\samples\sensor\vcnl4040 which works for the adafruit stm feather, meaning that you will have to add the board support for the nRF52DK yourself.
https://academy.nordicsemi.com/courses/nrf-connect-sdk-fundamentals/ and https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/ (maybe with focus on Lesson 7 Device driver model) should be very helpful with this.
In addition, since you're reaching out to the forums, I would also recommend that you have a look at the Zephyr discord forums (https://discord.com/invite/Ck7jw53nU2) found at https://zephyrproject.org/learn-about/
There might be other developers who's done the same thing that you're trying to do there.
Let me know if this answers your question and I would recommend you to go through the academy courses if you're relatively new to Nordic and NCS
Kind regards,
Andreas