DEVZONE BLOG FEED

In SDK v8.1 we added the TWI driver (nrf_drv_twi.c). Unfortunately the nrf_drv_config.h file wasn't updated correctly with the new driver.The symptom is the error with "TWI_COUNT is missing". Here is what should be added to nrf_drv_config.h:/* TWI */#define TWI0_ENABLED 0#if (TWI0_ENABLED == 1)#define TWI0_CONFIG_FREQUENCY NRF_TWI_FREQ_100K#define TWI0_CONFIG_SCL 0#define TWI0_CONFIG_SDA 1#define TWI0_CONFIG_IRQ_PRIORITY APP_IRQ_PRIORITY_HIGH#define TWI0_INSTANCE_INDEX 0#endif#define TWI1_ENABLE...

15.05.2015

Common FAQ on DFU

 This post covers some Q&A topics regarding Device Firmware Update:Questions:A. What happens if something fails when doing DFU, would my device ever get bricked ?B. How the vector table be forwarded when doing DFU ? C. How do we do buttonless DFU ?D. Why bonding could be an issue with DFU ?E. How do I program the original application via programmer (JLINK), not by DFU bootloader ? F. I can't debug the bootloader, why and what I need to change to debug ...

One way to program the nRF51822Bluetooth Smart Beacon Kit is to usethe nRF51 DK. This gives you a fullscale development platform (the nRF51DK). This blog will go thru the steps needed to program the softdevice and upload the application. If you have never used Keil, nRFgo Studio or the nRF51 DK before it is recommended to go thru the tutorials covering these topics first.To program the Beacon Kit you need: Keil MDK-ARM v5 nRFgo Studio nRF51822 Bluetooth Smart Beacon Kit nRF51 DK Adapter cable (or an...

DEVZONE FORUM

hi, as we know, the device need to being linked in 1.28s if Advertising types is BLE_GAP_ADV_TYPE_ADV_DIRECT_IND ,but my host can't link device in 1.28s,so i want to link specific host by whitelist,but i can't achieve,i see log by MCP in the follow:[11:23:14.5]Connected to address:DAFB328A3A10[11:23:14.5]Starting a Read information Request on the whole remote DB[11:23:14.6]lost connection to divice Reason:BTLE_CONN_FAILED_TO_BE_ESTABLISHED[11:23:14.6]SERVER:Received packet-[11:23:14.6]SERVER:Received Link...

If using nFR51822 and s110 BLE stack, is it possible to extend range by adding PA/LNA?...

Hello folks, I have modified the SPI Master Loop example from the package so that I could communicate with the ADXL 345 accelerometer. I use the "spi_master_send_recv()" function to send in master's command. On my oscilloscope, I see the byte I send out from the MOSI, however I do not get any response from my accelerator's side. I checked the accelerometer's connection and they are fine. Am I using the wrote function for communication? Any ideas? Thank You in advance Milad....