# 506 questions

Tagged
• x
22
views
no
1

I am trying to configure the CryptoCell on an NRF52840 to use AES-CBC encryption with PKCS7 padding. When I call the following function, it returns SASI_AES_ILLEGAL_PADDING_TYPE_ERROR:

SaSiAesUserContext_t ctx;

SaSiError_t err = SaSi_AesInit(&ctx,
SASI_AES_ENCRYPT,
SASI_AES_MODE_CBC,


Is Padding supported for AES-CBC ... (more)

9
views
no
no

Hello, I am using nrf52840 PDK, sdk 13.0.0. I managed to read accel, gyro data from the MPU9250 using MPU library based on this example. However, I got magnetometer reading 0. I've checked this question and this ... (more)

27
views
no
1

Hi

Is there an example in the SDK or anywhere that displays the use of LE Advert Extensions? I have been browsing softdevice v6.0.0-6.alpha and I came across the structure ble_gap_cfg_adv_config_t; however, this is not used anywhere ... (more)

17
views
1
vote
1

## How to establish GATT services in Keil5?

I am considering nRF51840 chip to use in my project, I have found good examples for it, but I still have a question if there is a special method to establish new services and characteristics for the GATT protocol.

Simplicity ... (more)

52
views
2
1

## nRF52840-PDK bricked

I purchased the nRF52840-PDK the other day and when it came in today Booted it up and it worked fine. I went to load the example nrf52840_xxaa_side_header.hex from the github page onto the board with the drag and drop ... (more)

35
views
no
no

## Send and receive a string via access layer

Hi Team

I studied the examples for Bluetooth 5 mesh but i didn't find an example to communicate through access leyer. Can you give us some example lines of code, how this can be done? I'm working with ... (more)

34
views
1
vote
1

## I want to set up a serial communication between arduino and nrf52840 ?

i have programmed a arduino to send data(int value) on tx ,rx pin .How shoul i set up the nrf52 (the pin no of rxd and txd on nrf are p0.6 and p0.8).Which example should i ... (more)

31
views
1
vote
1

Hello, I am using nrf52840 PDK, sdk 13.0.0 for my college project. I am trying to rewrite this nrf mpu example, in order to read data from MPU9255 and observe the data in a serial port monitoring tool ... (more)

34
views
no
no

## [nRF52840] USB Vendor Specified Interface Class

Hello,

I would like to implement a Vendor Specified Interface Class for use with libusb on the nRF52840 USB. There are examples of HID, CDC, Audio, etc. But it is not clear to me how to define my own class ... (more)

154
views
no
1

## nRF52840 USB CDC ACM Windows 10 Unknown USB Device

Hi,

I compiled (using ARM GNU) and run the USB CDC ACM example found on SDK_14_0_0. I have windows 10.

Windows 10 do not reckognize it as a CDC device and instead I am getting an 'Unkown USB Device (Device ... (more)

35
views
no
1

## Change VDDH POF threshold when softdevice is enabled

I would like to measure the VDDH voltage (lithium ion battery) on a nrf52840 with the power fail comparator. If the voltage drops below the threshold, I want to reduce the threshold until I know the voltage.

The SDK says ... (more)

30
views
1
vote
1

## nRF52840-QIAABB rx sensitivity using DCDC

Hi, as per subject, I would like to know the trade-offs of using the internal DCDC vs LDO when it comes to RX sensitivity specific to the nRF52840-QIAABB variant. From this post https://devzone.nordicsemi.com/questi... it says that ... (more)

66
views
no
1

## NRF52840 production dates?

Is this chip for sale yet? I see dev. kits, but still 28 week lead time everywhere. We were talking about adding it to a product, but the owner is shooting me down because of this.

What is going on?

40
views
1
vote
1

## NRF52840 USB CDC ACM Secure DFU Bootloader Example

Hi,

I am testing the USB CDC ACM Secure DFU Bootloader example via NRF52840. softdeivce uses 5.0.0-2 alpha and uses SDK version 14.1.

I have a problem.

I ran Erase all through nRFgo Studio and programmed Softdeivce ... (more)

101
views
no
2

## nrf52840 availability USA 12-12-17

Hello, we would like to consider this chip for a product, but I have been waiting for this to be on sale for purchase since February 2017. It's still 12 weeks out and it's nearly the end of ... (more)

57
views
1
vote
1

## nRF52840 Current Consumption

Hi,

the following are the TX's current consumption for 0 dBm from the datasheet:

I assume the second line refers to the measurements when the internal LDO is used and where VDD is supplied at 3V. Can someone confirm ... (more)

52
views
no
no

## nrf52840 reading GPS via UART

Hi, I am trying to connect the nrf52840 to GPS module, and I hope that the dk could read the GPS information via UART. I try to modify from this example nRF5_SDK_14.2.0_17b948a\examples\peripheral\uart, but I open ... (more)

79
views
no
1

## any example about nrf52840 connecting to GPS, UART communication [closed]

Hi, I am trying to connect the GPS module with the nrf52840, and the development kit reads the GPS information via UART, I wonder if there are any examples? I read the example/peripheral/UART, but it is UART loop ... (more)

129
views
1
vote
1

## nRF52840 - changes of reference design

I'm currently working with an own hardware with a nRF52840. We had some time to get the radio working, because we copied the schematic of the PDK. In the reference design of the nRF52840 PDK, the connection between DEC4 ... (more)

45
views
no
no

## nRF52840 REG0 Buck Usage

Hi, is it possible to use the onboard buck regulator of the nRF52840 to supply the 3V for the rest of the circuitry while nRF52840 is off (and also for the nRF52840 while it is on)? As you might have ... (more)

28
views
no
no

## USBD without logging

Hello. I have the problem with USB connection with NRF_LOG_ENABLED. I am using my custom board, NRF52840 QIAABB version. I have enabled CLI over RTT, softdevice. I am using SDK14. I also use patch for error [187]. With NRF_LOG_ENABLED (with ... (more)

34
views
no
no

## nRF52840 AABB DTM problem [closed]

Hi All!

we are trying to tune Antenna use DTM over UART from examples.

It is works fine for AAAA IC but doesnot for AABB IC.

Why, what's possible problem?

thx!

27
views
no
no

## NRF52840 boot/flash strategy

Hi there,

I am considering the NRF52840 to build our new platform but I am struggling to find information about how the device Firmware is programmed.

Apart from SWD, can it be flashed over BLE, UART, USB?

I havent been ... (more)

88
views
1
vote
1

## NRF52840 USB MSC

Hi Everyone,

I am developing a device that needs to record data from ADC onto a onboard NAND memory. Following the USB MSC example for NRF52840, it seems like the device is emulating as the flash drive with the onboard ... (more)

23
views
no
1

## ping pong in between 2 application base addresses

Hi, I would like to use ping pong mechanism to prevent faulty application update on nRF52840. Is there a way to build a single image to run at 2 different addresses? How should we tweak the linker file?

Thank you, Min-Ching

82
views
no
2

## nRF52840 IC marking question

Hi Nordic Engineers!

we bought 110 nRF52840 IC's for Field tests. 10 of them marked Q1AAAA / 1716AK another 100 marked Q1AABB / 1745AC

What is difference between series ? Why AAAA works but AABB all fail ?

226
views
2
2

## nrf52840 Q1AABB ble advertising problem

Hi, I have a problem with advertising on nrf52840q1aabb chip. I used example code ble_app_template on nrf52840q1aaaa revision and everything works fine but after changing mcu to nrf52840q1aabb application stops advertising - It's not detected by nRF Connection. I used ... (more)

35
views
no
1

## nfc_t4t_response_pdu_send returns NRF_ERROR_INVALID_STATE

I am trying to use nfc_t4t_lib in NFC_T4T_EMUMODE_PICC mode. After receiving an APDU I am doing some calculations and sending reply with nfc_t4t_response_pdu_send. If calculations take some time, I am getting NRF_ERROR_INVALID_STATE as a result.

I have some questions:

1. How ...
(more)

53
views
1
vote
1

## FDS leaves a "hole" in flash?

Hi,

I have seen some curious behavior with the FDS module. I'm using nRF5SDK 14.2.0 with s140_nrf52840_5.0.0-2.alpha, with FreeRTOS. In short: In some cases it seems that doing writes/updates that collide somehow will ... (more)

76
views
no
1

## Linker Script creation problem with Segger Embedded Studio

May need to post this question to Segger, but I'd figure I'd ask here.

Have a nRF52832 project that compiles, links, and runs fine on the 52832/10040 dev kit board.

Wanted to run the same code on ... (more)

#### Statistics

• Total users: 26289
• Latest user: Malinda Buddicom
• Resolved questions: 11535
• Total questions: 28672

## Recent blog posts

• ### Difference between nRF52840 Engineering A and B reference designs

Posted 2018-01-15 12:27:08 by Martin Børs-Lind
• ### [For Hire] Expert development services of custom Hardware devices | IoT solutions | Mobile Apps

Posted 2018-01-15 09:08:42 by Ilya Surinsky
• ### Rust bindings to nrf52 series

Posted 2018-01-12 23:23:07 by Coleman McFarland
• ### Show And Tell: Poly - Building an RC Airplane The Hard Way

Posted 2018-01-05 01:17:57 by Daniel Veilleux
• ### Bluetooth on a desktop computer (Windows, Mac, Linux)

Posted 2018-01-04 17:56:57 by kbaud

## Recent questions

• ### Nrf ESB using nrf_esb_suspend, nrf_esb_disable functions

Posted 2018-01-20 19:31:28 by Amigo
• ### BLE multi communication

Posted 2018-01-20 18:30:08 by paul
• ### ANT tx slots missed during channel scanning

Posted 2018-01-20 18:27:27 by dlip
• ### Everything You Need to Know About Printed Lanyards

Posted 2018-01-20 18:01:16 by Fermin Murtagh
• ### LPCOMP Interrupt Resets MCU (nRF51-DK)

Posted 2018-01-20 15:32:47 by Anthony