Add I2C and SPI drivers to DSPS project

6 posts / 0 new
Last post
prasanth.velliy...
Offline
Last seen:1 year 10 months ago
加入:2016-02-18 12:18
Add I2C and SPI drivers to DSPS project

If we want to add additional I2C and SPI drivers to the existing DSPS device project, Where and How to add them in the Project Window/File system ??

Device:
MT_dialog
Offline
Last seen:2months 2 weeks ago
工作人员
加入:2015-06-08 11:34
Hi prasanth.velliyangiri,

Hiprasanth.velliyangiri,

In the sdk_driver folder left click and add Existing files to Group 'sdk_driver' navigate to the following directory ..\v_5.150.2\sdk_580\sdk\platform\driver\i2c_eeprom in order to add the i2c driver file, also remember to include the i2c_eeprom.h file in your include paths.

Thanks MT_dialog

Bharath
Offline
Last seen:1 year 5 months ago
加入:2016-04-14 07:03
Hi,

Hi,
How can we send the data received from spi interface using DSPS profile?
Please tell the steps to do this.

Thank you

prasanth.velliy...
Offline
Last seen:1 year 10 months ago
加入:2016-02-18 12:18
Hi,

Hi,
Sorry , i haven't used the spi interface , please refer IOT smart band project you will get some ideas about using spi interface..
see the fucntion user_send_ble_data() in dsps this function receives data from uart & sends data via BLE.

Bharath
Offline
Last seen:1 year 5 months ago
加入:2016-04-14 07:03
On calling the function user

On calling the function user_send_ble_data(), there is a software reset occurring and my code stops. What might be the problem?

MT_dialog
Offline
Last seen:2months 2 weeks ago
工作人员
加入:2015-06-08 11:34
Hi Bharath,

Hi Bharath,

You mean a platform reset ? this occurs whenever the code can't allocate any memory since you 've run out.

Thanks MT_dialog