Quantcast
Channel: 蓝牙论坛 - 最近的话题
Viewing all articles
Browse latest Browse all 7485

use of I2C interface for cc2541

$
0
0

       Now ,I use cc2541 to connect a max30100 with i2c interface.The max30100 is a  heartrate/SPO2  device.

       I see the example stack of ble4.0 which used i2c  is just  a  constant  address. However, the max30100 device is different. As a slave, the write_address is 0xAE and  the  read_address  is  0xAF. It  also  has  a  7 bit  I2c  interface  0x57.  When  I   initialize  ,  how  to  select  the address  .And  when I read  and write the register  of  max30100 , would  I  need  to change  the  write/read  address. How to use the  API of  I2c of  stack .

      For the reason that the max30100 is a  heartrate/SPO2  device, how can I use the heartrate stack and its API.

      Thank you


Viewing all articles
Browse latest Browse all 7485

Trending Articles