• TWI Issue With Peripheral Sensors

    I'm building some code off of the twi_master_using_app_twi example which is available in the SDK (v11.0.0). The two peripherals I'm working on are an accelerometer (LIS3DH) and gyroscope (L3GD20H). I'm able to read and confirm the WHOAMI registers…
  • I2C- SCL & SDA pin change!!

    Hi In my custom project I'm using pins P0.14 as SCL and P0.15 as SDA . I know the pins selection #define is in twi_master_config.h. But the question is whether I have to use twi_hw_master.c or twi_hw_master.c for this pin configuration? Do I have…
  • Ready to development TWI application while using softdevice

    Hi, I am developing a BLE application using SPI and TWI. (Using nRF51822) This discussion is about my survey in development zone for future develop the TWI part. I want to discuss... not just ask some specific question ;) I've used SPI slave to read…
  • I2C/TWI slave with nRF51822

    Hi I need to implement I2C slave side (up to 100kBit/s) on a nRF51822 chip. As far as i see the inegrated TWI peripherial only supportes the master side. Any ideas how to do it? The following ways came to my mind, but all seam not the way to go. …
  • I2C can't work properly when running BLE protocol

    Device: NRF51822; BMA250E Description: When I read BMA250E via I2C without BLE protocol, commnucation run well. And if there is no I2C commnucation, BLE protocol can also work properly. However if they work together, both of them will be abnormal…
  • How to synchronize receivers?

    Hello everyone, I want to create a real-time wireless sensor network. There are 8 sensors in the net. I use two nRF24LE1 as receivers to recieve the datas stimultaneously, so I have to use the MultiCeiver function. So how can I synchronize these two…
  • Is it possible to create a GPIO button interrupt without GPIOTE?

    Hello I'm using nrf51822 EK board. This is my first time to develop application in ARM system. I want to develop a ble application. This application can be shut down (system off) by pressing the button for 5 seconds. Since I read this " devzone…
  • Wireless sensor network with nRF24LE1 and nRF24L01+

    Does anyone use nRF24LE1 and nRF24L01+ to creat a small size wireless sensor network? Could you give me some advices? Thanks a lot!
  • is twi is compatible with SMBUS or not?

    hi, i am using a light sensor which is SMBUS serial interface, i tried to interface twi of nrf51822 with the sensor, but i am not able to get acknowledgement from the sensor, i want to know whether the twi of nrf51822 is compatible with SMBUS or not…
  • 5350 lcd running w/ rtc / ant

    Does the lcd clobber the tmr0 and/or ANT ??? We just went through several days of working w/ ns on running ANT w/ RTC with a resolution of using sd_ calls. Is the LCD the same story? Are there sd_ calls for the 6350?? tks!
  • TWI of nRF51822 is having internal twi engine or not?

    hi guys, i am writing a code for reading data from a sensor using twi interface, the twi is not working properly, here in SDK i found two examples of twi - sw_ nd hw_ is sw_ one is bit-banging one? or what? is the nrf51822 has internal twi engine or…
  • How to handle voltage mismatch on I2C/TWI bus as battery voltage drops?

    I need to connect an I2C/TWI device to the nRF51822. The I2C device is running at a fixed 3.3V (from a boost DC/DC), but the nRF51822 is powered directly from a CR2032 battery (starting at around 3.0V). As the battery voltage drops to 2V, now the I2C…
  • 2-wire communication between two nrf24le1 coding problem.

    i want to use 2-wire to do the communication of two nrf24le1. one is the master, another is slave. I don't know how to set up the master and slave. Is it the code shown below correct? P0.1 and P0.2 connect with two LED. master void I2C_ISP(void…
  • Start Timer in other Timer Timeout Handler

    Hi, Is it possible to start a Timer in an other Timeouht Handler? Or Do i have to use something other to do that? i use app_timer and Softdeive on the 51822. best regards Nils.
  • Is there a place to store a pointer that I can pick up in an interrupt handler?

    In my ADC interrupt service routine (ADC_IRQHandler), I'd like to have a pointer available that I could use to carry some state from the main app thread to the IRQ handler. Yes, I could do this by declaring a global, but I go to great lengths to avoid…
  • Problem with software, need help

    Hi, i have some troubles with my software which i doesn't understand maybe some one with more microcontroller Experience cann tell me how to solve this Problem. I have a method which waits for a Time, its like the nrf_delay but instead of this i…
  • How to write GPIOTE interrupt?

    Hi, i need to stop one of my Timer at the falling edge of a Pin. So i need a gpiote_interrupt, is this right? Can someone help me how i can do this? if i write something like GPIOTE_IRQHandler ( ) it doesn't work. best regards Nils
  • nRF51422 communicating with SAA1064 via TWI/I2C

    The last few weeks I'm working with the nRF51422 and run in to several TWI/I2C issues. All of them I could solve except an issue with a SAA1064 7segment display driver from NXP. Depending the device selection the I2C address of the SAA1064 should be…
  • Is there any describe about NVIC or Interrupt?

    I can't find registers about NVIC in REFERENCE MANUAL for nRF51822. Is there any other document? pls, tell me.
  • TWI with Softdevice Enabled

    So there seems to be a conflict between the TWI and the Softdevice. My I2C communication works over TWI fine in isolation but when i try to send data over ble the TWI doesnt seem to do anything. Are there any examples that use both? Maybe a procedure…
  • Using NRF51X22 as TWI Slave

    I am trying to figure out what is the best way to implement a TWI Slave functionality on the Nordic chips. The HW seems only to support the TWI Master. Is the only way to implement the bus drivers with default GPIO and GPIOTE? Somebody know if there…
  • I2C data interrupt lines

    I am trying to figure out how interrupts are set up for say a sensor with an interrupt line which signals when new data is ready. I am assuming you set up a GPIOTE somehow to trigger an interrupt routine which you can then use to setup the I2C connection…