i2c

I2C and SPI drop out when BLE connection starts on DA14681 Dev Board

Wed, 2017-10-04 12:58 -- jetsonindustries

We're working on a IoT device using the Dialog DA14681 MCU, LIS331HH accelerometer and MMC3416 magnetometer.

everything connects up well and we get readings from both sensors (accel via SPI and Magneto via I2C).

The moment we initiate BLE connection it all goes horribly wrong.

Generate I2C Restart signal

Thu, 2017-02-09 15:31 -- jamesleo-konka

Hi, Dialog,
I don't find a sample to use the Restart signal in demo project.
By referencing the Html help file, I found there is a function called 'hw_i2c_set_restart_enabled '. Is this the only one key step for generate Restart signal?
Will the hardware generate a Restart signal when user operate I2C in sequence of 'write - read' action? like this:
Start device_addr(w) A reg_addr Restart device_addr(r) A data A data ...Stop

Limitations to using pin 1_2 and 1_3

Fri, 2016-05-27 09:04 -- ankitdaf

Hi

I came across a custom board design around the Da14580 which has something peculiar in it's schematic. It states that "P1_2 and P1_3 cannot be toggled when 16 MHz XTAL is" .(the last word is cut off).

Is there any restriction on using pin 1_2 and 1_3 ? Is there any special dependency on the XTAL or some other peripheral ?

I tried looking for this in the datasheet but didn't find anything

Can I safely use it in my design for I2C ?

Thanks,

How to perform a I2C burst write?

Fri, 2015-12-25 07:31 -- kenneth.er

Hi all,

I'm rather new to the DA14580 SDK and have been trying to port the EEPROM I2C code to control my fuel gauge chip. So far, I have success in the reading portion but not so much on the writing portion. To transmit command over I2C, I have been using SEND_I2C_COMMAND(). However, this code will always append the slave address before the 1 byte data. How do I just simply transmit 1 byte over the I2C w/o transmitting the slave address as well?

My apology if this has been answered before but I couldn't seem to find the answer on the forum. Thank you for your help!

Secondary Bootloader Necessary?

Mon, 2015-12-21 11:23 -- mabraun

Hi Dialog Team,

we are planning to use an external I2C EEPROM (ST M24256) in our design. I have read through AN-B-001, AN-B-023 and UM-B-012, now I want to make sure I understand the following correctly:

1. The ST M24256 EEPROM has a page size of 64 byte. The default page size of the DA14580 is 256 byte. My understanding is that we have to use a secondary bootloader to change the page size to 64 byte. Is that correct?

I2C_TAR_REG and I2C start condition

Fri, 2015-11-27 15:19 -- Laszlo.fabian

Dear Dialog Team,

I am working on a i2c project with the BLE module, I am trying to develop an i2c_core driver to build on it, I started with the sdk i2c_eeprom project however
when writing the i2c_tar_reg the start condition is not generated, when i write to the cmd register then it generates a start sends the byte and generates a stop condition too.

Is this intended to be like this?

Best regards,
Laszlo

I2C Slave

Thu, 2015-11-05 00:14 -- Krutarth

Hi,
I am trying to use Max44009 Ambient light sensor along with the PAN1740 module. Any valid address that i read with the help of I2C drivers is zero. Even when i have not written any values to any registers and default reset values are not zero still the register reads to be zero. Can you tell me any specific reason this might happen.

Thanks and Regards,

When the chip wakes from the extende sleep, it begin to advertise, but the I2C doesn't work.

Mon, 2015-09-28 03:18 -- wzh16622

I make the DA14580 into extended sleep, the BLE stop advertising. When I use WAKEUP TIMER driver to wake up the system via the button(I have add the periph_init()), and it start to advertising. The smartphone can use the APP to connect to the chip, and communicate(The chip can return the data, which sent from the smartphone APP, to the smartphone.).But when I send the command to make the chip to read the senser via the I2C, it doesn't work. I missed some important details? Thanks a lot.

Pages

Subscribe to RSS - i2c