RSS
Sort by » date activity ▼ answers views votes

5 questions

Tagged
  • x
86
views
4
votes
1
answer
Last activity 2017-03-22 11:03:37 +0100 by ndarkness

How can I reuse this library into TWI library in nrF52?

Hello all,

I am trying to make use of some Adafruit libraries for some sensors in my nrF52pca10040, the libraries are these twoAdafruit_BME280.cpp, Adafruit_BME280.h and Adafruit_TSL2591.h,Adafruit_TSL2591.cpp

They both make use of either SPI or ... (more)

98
views
1
vote
1
answer
Last activity 2017-02-27 15:04:07 +0100 by Jørgen Holmefjord flag of Norway

Write command for HRMI board using TWI

Hello,

I am trying to implement a Heart Rate Monitor Interface (HRMI) board with my nRF52, using the TWI_sensor example from SDK 12.2. I am running into trouble Writing to commands to the peripheral I2C address. Here is the ... (more)

93
views
no
votes
1
answer
Last activity 2016-11-23 15:00:36 +0100 by Stian flag of Norway

i2c/twi detup on register level

Hello I'm trying to setup i2c/twi communication between nrf52832 with oled driver SH1107 but i need to do it in hardware instead of software but on the register level.

void initI2c()
{
    NRF_TWIM0->SHORTS = 0x00001780;
    NRF_TWIM0->INTEN = 0x019C0022;
    NRF_TWIM0- ...
(more)

110
views
1
vote
1
answer
Last activity 2016-10-20 13:17:20 +0100 by Jørgen Holmefjord flag of Norway

BLE not advertising when TWI pins are changed

Hi devs,

I am working in an nRF52 DK. The attached example is not working when I change the SCL and SDA pins of TWI1 module. This is also not working if I disable TWI1 and enable TWI0!! The device ... (more)

119
views
1
vote
1
answer
Last activity 2016-10-17 19:30:25 +0100 by AmiguelS

I2C code conversion help needed

Hi,

I need to read data from MLX90615. It is a temperature sensor which follows I2C to read data. I got a sample code for this which is given below.

float receiveTemperature(int Temperature_type) {
    int dev = (0x5B << 1);                               // 5B is ...
(more)

Statistics

  • Total users: 17051
  • Latest user: Jaxon Clement
  • Resolved questions: 8868
  • Unanswered questions: 2386
  • Total questions: 20786

User menu

    or sign up

Recent questions