I2C peripheral

Adding Sensors into DA14681 Wearable DK

Tue, 2019-09-24 18:49--mrdobson

Hi,

To give some background, I'm working with the DA14681 Wearable Development Kit and version 1.0.8 of the wearable SDK. I am using the "target_apps\wrbl" project from the software dev kit as a template.

I am adding a new sensor via I2C and have built a working driver for the new device. I have been able to successfully read from (via printf statements to the UART) and write to registers on the sensor with a set of simple dummy functions that I run in main.c at boot.

It's difficult to add I2C function

Wed, 2017-02-15 09:35--jamesleo-konka

Hi Dialog,
One week has gone, but I can't add I2C in hrp_sensor project.
At beginning, I study the peripherals_demo and get know something about dg_configUSExxx and file system of a project.
Then I moved to hrp_sensor project because it enable the ble function, that's my goal.
It's not easy to get understood the project peripherals_demo, files nested deeply, main.c -> periph_setup.c --> demo_i2c.c .....
The project hrp_sensor is simple, only 2 files.
But, the simple work for adding I2C into hrp_sensor is stucked.

Subscribe to RSS - I2C peripheral