hello can we interface multiple i2c device with nrf51822? how??
hello can we interface multiple i2c device with nrf51822? how??
You can have multiple i2c (twi) slaves on the same bus. The address is used to communicate to the different devices (so the devices need to have different addresses). Connect them like this (no need for external pullup as internal is used in the driver).
You can have two TWI instances as seen in the instance table in the Product Specification page 37. With two TWI instances you can not have any SPI or SPIS instance as they use the same ID or address (see the same table).
You can have two TWI instances as seen in the instance table in the Product Specification page 37. With two TWI instances you can not have any SPI or SPIS instance as they use the same ID or address (see the same table).