RSS
Sort by » date activity ▼ answers views votes

6 questions

Tagged
  • x
325
views
4
votes
2
answers
Last activity 2017-06-02 12:41:56 +0200 by BosseSand

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)

268
views
1
vote
1
answer
Last activity 2017-03-28 23:15:49 +0200 by John DeWitt flag of United States

Power consumption for nrf52 with TWI & GPIOTE [closed]

Hi,

I have an issue about power consumption with a board nrf52 10040. The consumption should be 100µA but is 500µA. I found an errata about that in 'http://infocenter.nordicsemi.com/pdf/nRF52832_Engineering_C_Errata_v1.5.pdf' (3.27).

I tried ... (more)

156
views
1
vote
1
answer
Last activity 2017-02-27 15:04:07 +0200 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)

177
views
no
votes
1
answer
Last activity 2016-11-23 15:00:36 +0200 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)

187
views
1
vote
1
answer
Last activity 2016-10-20 13:17:20 +0200 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)

205
views
1
vote
1
answer
Last activity 2016-10-17 19:30:25 +0200 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: 25341
  • Latest user: Felipe Nickel
  • Resolved questions: 10980
  • Unanswered questions: 3691
  • Total questions: 27082