9 years, 4 months ago.

Problem using I2C with BLE

Hi,

I am starting to integrate my I2C code with my BLE code (based on the heart rate project). As soon as I add the line I2C i2c_(p30,p7); my code stops working properly (it was working before adding this line, i.e. BLE advertising was working).

I see that there seems to be a problem accessing I2C when using the softdevice (https://devzone.nordicsemi.com/question/309/best-place-to-get-started/#reply-316) Is there a nicer way of dealing with this? i.e. using the mbed I2C functions?

Thanks,

Mordechai

Question relating to:

The nRF51 Development Kit is a single-board development kit for Bluetooth Smart, ANT and 2.4GHz proprietary applications using the nRF51 Series SoC. This kit supports both development for both nRF51822 …

I do have the same problem. How ca I add mbed_src? Is it possible inside the Web-IDE?

posted by Joerg Hubschneider 27 Oct 2015

1 Answer

9 years, 4 months ago.

can you try replacing the mbed library with mbed-src and retry? I believe this problem may have been addressed in mbed-src.

Accepted Answer

It works now, thanks!

posted by Mordechai Brodt 10 Dec 2014