- I2C and adc support for nRF5
Re: I2C and adc support for nRF5
toggle quoted messageShow quoted text
The current version of Zephyr support I2C driver for nRF5, you also can find some examples in samples/ directory, the samples/drivers/i2c_fujistsu_fram is a simple example which use both I2C write and
To test it just setup zephyr environment then cd to this sample directory, then:
$ mkdir build
$ cd build
$ cmake -DBOARD=nrf52_pca10040 ..
You'll find the built image on build/zephyr directory.
Also you can use this sample as reference to develop your own project based on I2C bus.
About the ADC, the nrf5 currently does not support driver to it, but you can of course use it by:
- providing a driver using the zephyr infrastructure;
- use ADC controller as part of your application.
Please let me know if this information was useful to you.
Hello everyone !!!
There is I2C support for nRF5 micro controllers, is there any sample code available to interface an I2C device with nRF5.
Also, is there adc support for nRF5 series controllers?
Jr. Embedded Engineer
Research & Development
Please consider the environment before printing this e-mail or its attachments.
Disclaimer: The information contained herein (including any accompanying documents) is confidential and is intended solely for the addressee(s). If you have erroneously received this message, please immediately delete it and notify the sender. Also, if you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this message or any accompanying document is strictly prohibited and is unlawful. The organization is not responsible for any damage caused by a virus or alteration of the e-mail by a third party or otherwise. The contents of this message may not necessarily represent the views or policies of Corvi
Zephyr-users mailing list
Felipe S. Neves
Embedded software & systems engineer
+55 11 96610 – 0855
Join email@example.com to automatically receive all group messages.