Search Result

0 results found on Nordicsemi

All results

75386 results found on DevZone

NordicSemi

DevZone - first 10 hits

SPI slave interruption not called after __WFE

Module: nRF52810 SDK: 14.2 Softdevice: S132 v5.1.0 Hi, I modified the serial dfu bootloader exemple to use the SPI slave 0 instead of the UART to communicate between the host MCU and the nRF chip. Everything works fine when i keep the debug messages on with the NRF_LOG_ENABLE define set to 1. When i try to run my code with NRF_LOG_ENABLE set to 0 the nRF chip doesn't respond to SPI transaction anymore.. I suspect the wait_for_event () function below called after bootloader initialization: static void wait_for_event() { while (true) { app_sched_execute(); if (!NRF_LOG_PROCESS()) { #ifdef BLE_STACK_SUPPORT_REQD (void)sd_app_evt_wait(); #else __WFE(); #endif } } } When i remove the __WFE() call or run in debug with probe attached the code runs OK and the MCU get the SPI response. What can i do to have the SPIS interruption triggered even after a WFE call ?

forum

10/21/2021

Individual data usage identification of LTE / MQTT connections

Hi Dev team, I have an application working on the Thingy91 that sends the data of the sensors through MQTT to our server. I was interested in knowing the data usage of the whole sending process as such. I found an AT command : AT%XCONNSTAT that gives me the details of the overall data transmission in kB which is really good. However, I was more interested in knowing about the details of the individual data usage of MQTT connection, the LTE connection to the carrier etc. I usually connect to the LTE and keep it in the PSM mode, and connect to MQTT to send the data and then disconnect it. Is there a way to estimate as to how much data the MQTT connection consumes and how much the LTE connection consumes individually ? Regards, Adeel.

forum

10/21/2021

Problems creating app on Mac using VSC and nRF Connect

I'm trying to setup nRF Connect in VSC on a Mac. I've followed the various tutorials and created a new app from "hello world" template. I selected a nrf52840dk as a board and I'm getting these cmake warnings/failures: { "resource": "/opt/nordic/ncs/v1.7.0/zephyr/cmake/app/boilerplate.cmake", "owner": "cmake-configure-diags", "severity": 8, "message": "CMake Deprecation Warning at /opt/nordic/ncs/v1.7.0/zephyr/cmake/app/boilerplate.cmake:37 (cmake_policy):The OLD behavior for policy CMP0079 will be removed from a future version\nof CMake.\n\nThe cmake-policies(7) manual explains that the OLD behaviors of all\npolicies are deprecated and that a policy should be set to OLD only under\nspecific short-term circumstances. Projects should be ported to the NEW\nbehavior and not rely on setting a policy to OLD.", "source": "CMake (cmake_policy)", "startLineNumber": 37, "startColumn": 1, "endLineNumber": 37, "endColumn": 10000, "relatedInformation": [ { "startLineNumber": 24, "startColumn": 1, "endLineNumber": 24, "endColumn": 1000, "message": "In call to 'include' here", "resource": "/opt/nordic/ncs/v1.7.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake" }, { "startLineNumber": 102, "startColumn": 1, "endLineNumber": 102, "endColumn": 1000, "message": "In call to

forum

10/21/2021

nRF52833 LFXO question

I am considering using this part from MAXIM (MAX31343). https://datasheets.maximintegrated.com/en/ds/MAX31343.pdf it is an RTC plus a 5ppm oscillator output that I can use for the nRF52833 LFXO. Upon checking the datasheet for the MAXIM part I see the CLKO pin is 32.875Khz and not 32.768 as needed by the nRF. It is very accurate at 5ppm. Is the absolute frequency a deal breaker here? Harry

forum

10/21/2021

How to read memory map of nRF52840 DK generated by nRF Connect Programmer

I have created an application using SoftDevice S112 using board pca10056e and installed it on the nRF52840 DK. I want this application to run on the nRF52805 so I want to get an idea of how big the application is since the nRF52805 has limited memory. So I flashed the DK, ran it, and then used nRF Connect's Programmer application to read the flash memory map on the DK. What surprised me was the size of the application. It seemed quite large; at least a lot larger than I expected. The application was also broken up into several sections, including sections at high memory. There wasn't much free space though part of that was graphics as the widths are clearly not to scale. The HEX file was generated by the Segger IDE which always seems a lot larger than that generated by Keil. Of course that is the HEX

forum

10/21/2021

nRF52840 DK (PCA10056) at 1.8V VEXT: Interface MCU sporadically resetting

Hi, Again the topic which has already been discussed several times in this forum. I just want to share my experience and perhaps help other users having difficulties. The DK's voltage margins when being supplied with 1.8V are really tight. With my external 1.8V being slight low (-0.9%: 1.784V), the interface MCU resets sporadically. Here is why (I think, at least) using this MCU datasheet : VDD_SAM measured at 1.764V (-20mV) due to voltage drop across voltage follower and different load switches on the DK. MCU core voltage measured at 1.605V (-179mV) under load (debugging). MCU core regulator dropout is <150mV (datasheet) MCU reset falling threshold: <1.62V with 1.50V nominal (there is a value swap in the SAM datasheet, but this is the value which makes sense). So the minimum VDD_SAM allowed in this configuration is 1.77V with no margins at all. In my case, depending on the fabrication

forum

10/21/2021

Automating commands sent to a BLE device via nRF Connect mobile App (iOS)

I'd like to automate (script) the process of sending commands to my device using the nRF connect app (iOS). Is this possible?

forum

10/21/2021

How to create a standalone project from the SDK example?

Hey everyone! I'm trying to mobilize one of my projects into a colleague's computer, but many errors are happening on his end. He's using Keil, and I'm using Segger. Thanks for all the helpers :)

forum

10/21/2021

Long Range Bluetooth MESH

Hi to everyone, I'm evaluating an application consisting of a bluetooth mesh where each node sends a status message to the others. The area where the nodes will be deployed could be very wide. The nodes are supposed to be moveable and, besides, some of them could get disconnected if they haven't nodes near them. Are there any possibilities that Nordic is developing a mesh based on BLE 5 long range? If not, what do you suggest me? Thanks

forum

10/21/2021

NRF51 flash endurance @ 105degC

Hi, in the datasheet you specify 10years @ 40degC and when extrapolating the spec to 105degC i get 0.2years 10/(e^((-0.6/8.623e-5)*(1/(105+273)-1/(40+273)))=0.2 the above formula comes from ti appnote https://www.ti.com/lit/an/slaa392a/slaa392a.pdf?ts=1634796879518&ref_url=https%253A%252F%252Fwww.google.com%252F but should be valid for all flash. The NRF51822 is speced to run at 105degC but the endurance specified in the datasheet implies that the flash will get corrupted after 2.5months Is this correct? We are running validation at 250deC for the upcoming 10days for 50 parts to measure ourself but do you have any input/results of your own tests?

forum

10/21/2021