Difference between revisions of "Devzone posts"

From Wiki at Neela Nurseries
Jump to: navigation, search
m
m (^ UARTs and Multiple UARTs: - add brief description of post.)
 
(89 intermediate revisions by the same user not shown)
Line 1: Line 1:
<b>Keywords:</b>  Nordic Segger python script :: [[#nn-anchor--create-nordic-project-dot-py|create_nordic_project.py]] :: create Nordic project dot py
+
<b>Keywords:</b>  Nordic Segger python script :: [[#nn-anchor--create-nordic-project-dot-py|create_nordic_project.py]] :: create Nordic project dot py :: index.asp
  
 +
&nbsp;<br />
 
&nbsp;<br />
 
&nbsp;<br />
 +
 +
--- Overview ---
  
 
This page a starting point for references (links) to Nordic Devzone posts and additional notes on their respective issues.  This page also contains posts from [https://community.jaredwolff.com/ Jared Wolff Community forum], an excellent technical resource for design matters IoT related, and also Zephyr RTOS related.
 
This page a starting point for references (links) to Nordic Devzone posts and additional notes on their respective issues.  This page also contains posts from [https://community.jaredwolff.com/ Jared Wolff Community forum], an excellent technical resource for design matters IoT related, and also Zephyr RTOS related.
 +
 +
== 2021 Overview notes to review ==
  
 
On this page indentation of URLs highlights when one post refers or links to another.
 
On this page indentation of URLs highlights when one post refers or links to another.
 +
 +
Worth noting, Nordic Semi web site is organized into three domains:
 +
 +
&nbsp;
 +
<center>
 +
[https://nordicsemi.com primary Nordic Semi website] &nbsp; &nbsp; :: &nbsp; &nbsp; [https://devzone.nordicsemi.com Nordic Devzone] &nbsp; &nbsp; :: &nbsp; &nbsp; [https://infocenter.nordicsemi.com Nordic Semi Documentation]
 +
</center>
 +
&nbsp;
 +
 +
Searching for articles, tutorials and other materials in one domain does not in general appear to find or capture search results in the other two Nordic Semi site domains.  An on-line power profiling tool can be found indirectly at [https://devzone.nordicsemi.com Nordic Devzone] by entering search pattern "online power profiler".  The link to the profiler for nRF91xx family parts is:
 +
 +
<ul>
 +
*  https://devzone.nordicsemi.com/power/w/opp/3/online-power-profiler-for-lte Nordic Semi Online Power Profiler for nRF9160
 +
</ul>
 +
 +
Some related links to Nordic on-line power profiler:
 +
<ul>
 +
*  https://devzone.nordicsemi.com/power/w/opp Nordic power profilers for nRF91xx and nRF52 and 53 family SoCs and SiPs
 +
*  https://devzone.nordicsemi.com/power/w/opp/4/user-guide-lte Online power profiler user guide
 +
</ul>
 +
 +
A local wiki page is in progress as well relating to LTE modem commands, both universal ones and some of Nordic Semi's custom AT commands:
 +
 +
<ul>
 +
*  [[Lte_at_command_notes|LTE modem AT command notes]]
 +
</ul>
 +
 +
 +
A helpful summary of all firmware development tools offered by Nordic Semi:
 +
<ul>
 +
*  https://infocenter.nordicsemi.com/topic/ug_gsg_ses/UG/gsg/nrf_tools.html
 +
</ul>
 +
Nordic link to Segger and Segger Embedded Studio downloads:
 +
<ul>
 +
*  https://infocenter.nordicsemi.com/topic/ug_gsg_ses/UG/gsg/install_segger_tools.html
 +
</ul>
 +
  
 
<!-- comentario -->
 
<!-- comentario -->
 
  
 
== [[#top|^]] Nordic Semi Guides ==
 
== [[#top|^]] Nordic Semi Guides ==
Line 21: Line 62:
  
 
*  https://devzone.nordicsemi.com/f/nordic-q-a/87493/at-command-interface-library-removed-in-ncs-1-9-1
 
*  https://devzone.nordicsemi.com/f/nordic-q-a/87493/at-command-interface-library-removed-in-ncs-1-9-1
 +
 +
<!-- comentario -->
 +
 +
 +
 +
== [[#top|^]] - - - - - &nbsp; - - - - - &nbsp; - - - - - &nbsp; - - - - - &nbsp; - - - - - &nbsp; - - - - - &nbsp; - - - - - &nbsp; - - - - - &nbsp; - - - - - &nbsp; - - - - - &nbsp; ==
  
 
<!-- comentario -->
 
<!-- comentario -->
Line 29: Line 76:
 
2022
 
2022
 
<ul>
 
<ul>
 +
0615
 +
*  https://devzone.nordicsemi.com/f/nordic-q-a/89013/nrf52840dk-high-current-consumption-when-using-lipo-as-power-source
 +
0607
 +
*  https://devzone.nordicsemi.com/f/nordic-q-a/88693/power-optimisation-help  nRF52840 and Zephyr power optimization
 +
 
0415
 
0415
 
<ul>
 
<ul>
Line 166: Line 218:
 
2022
 
2022
 
<ul>
 
<ul>
 +
1027
 +
*  https://github.com/zephyrproject-rtos/zephyr/discussions/51733 - Zephyr discussions post on iis2dh driver and I2C instance ok discovery process
 +
 
0503
 
0503
 
<ul>
 
<ul>
 
*  https://devzone.nordicsemi.com/f/nordic-q-a/87540/creation-of-custom-dts-file-for-describing-custom-device-connections
 
*  https://devzone.nordicsemi.com/f/nordic-q-a/87540/creation-of-custom-dts-file-for-describing-custom-device-connections
 
</ul>
 
</ul>
 +
0623
 +
Example call to device_get_binding(), part of several lines of supporting code:
 +
*  https://devzone.nordicsemi.com/f/nordic-q-a/76226/device_get_binding-keep-returning-null
 +
 +
*  https://devzone.nordicsemi.com/f/nordic-q-a/74315/how-to-use-device_get_binding
 
</ul>
 
</ul>
  
Line 177: Line 237:
 
== [[#top|^]] To Configure Pins ==
 
== [[#top|^]] To Configure Pins ==
  
 +
2022
 +
<ul>
 +
0628
 +
<ul>
 +
*  [open]  https://devzone.nordicsemi.com/f/nordic-q-a/89425/how-exactly-do-you-enable-i2c0-i2c1-or-i2c3-on-the-nrf9160-dk
 +
</ul>
 +
 +
0503 <i>( <- note these dates reflect time of finding here at nn, not original post date of Devzone ticket )</i>
 +
<ul>
 +
Does nRF9160 have internal pull up resistors for i2c twim?
 +
*  https://devzone.nordicsemi.com/f/nordic-q-a/52455/does-nrf9160-have-internal-pull-up-resistors-for-i2c-twim
 +
 +
Post greater than four years old, discusses internal clocking diffs between nRF51 and nRF52 family parts:
 +
*  https://devzone.nordicsemi.com/f/nordic-q-a/36881/best-practice---delay-between-setting-pin-as-input-with-pull-up-pull-down-and-reading-the-pin
 +
</ul>
 +
 +
xx-xx
 +
<ul>
 
*  https://devzone.nordicsemi.com/f/nordic-q-a/14272/using-gpio-10-nfc-pin-to-drive-spi-sclk
 
*  https://devzone.nordicsemi.com/f/nordic-q-a/14272/using-gpio-10-nfc-pin-to-drive-spi-sclk
 +
</ul>
 +
 +
<!-- comentario -->
 +
 +
== [[#top|^]] Display Devices ==
 +
 +
GPIO and display related posts:
 +
 +
*  https://devzone.nordicsemi.com/f/nordic-q-a/89208/zephyr-ws2812-driver-undefined-reference-to-__device_dts_ord_68
 +
 +
<!-- comentario -->
 +
 +
== [[#top|^]] SPI and I2C ==
 +
 +
2022
 +
<ul>
 +
1024
 +
<ul>
 +
*  [unsolved]  https://devzone.nordicsemi.com/f/nordic-q-a/79080/including-specific-sensor-header-files  . . . post related to DT_ANY_INST_ON_BUS_STATUS_OKAY issue
 +
</ul>
 +
0628
 +
<ul>
 +
*  [open]  https://devzone.nordicsemi.com/f/nordic-q-a/89429/zephyr-sdmmc_spi-c-driver-is-very-disappointing-is-there-an-alternative-choice
 +
 +
*  [open]  https://devzone.nordicsemi.com/f/nordic-q-a/89434/nrfx-spim-and-zephyr-spi
 +
</ul>
 +
</ul>
  
 
<!-- comentario -->
 
<!-- comentario -->
Line 185: Line 290:
 
0331
 
0331
 
*  https://devzone.nordicsemi.com/f/nordic-q-a/73594/nrf9160-analog-input-pins/303576#303576
 
*  https://devzone.nordicsemi.com/f/nordic-q-a/73594/nrf9160-analog-input-pins/303576#303576
 +
 +
<!-- comentario -->
 +
 +
== [[#top|^]] Debugging ==
 +
 +
2022
 +
<ul>
 +
1027
 +
* [] https://github.com/zephyrproject-rtos/zephyr/issues/41677#issuecomment-1011605859 . . . undefined reference to `__device_dts_ord_xx' #41677
 +
 +
1025
 +
* [open] https://devzone.nordicsemi.com/f/nordic-q-a/93239/debugging-out-of-tree-device-driver-in-nrf-connect
 +
0620
 +
* [open] https://devzone.nordicsemi.com/f/nordic-q-a/89101/debug-uart  How to send Zephyr log messages to custom UART?
 +
* [open] https://devzone.nordicsemi.com/f/nordic-q-a/87240/nrf9160-using-uart-with-printf-without-all-the-debugging-outputs-from-zephyr
 +
</ul>
  
 
<!-- comentario -->
 
<!-- comentario -->
Line 190: Line 311:
 
== [[#top|^]] RTT Real Time Terminal Related ==
 
== [[#top|^]] RTT Real Time Terminal Related ==
  
 +
2022
 +
<ul>
 
0322
 
0322
 
*  https://devzone.nordicsemi.com/f/nordic-q-a/86100/not-able-to-use-nordic-proprietary-at-commands-on-nrf9160
 
*  https://devzone.nordicsemi.com/f/nordic-q-a/86100/not-able-to-use-nordic-proprietary-at-commands-on-nrf9160
  
 
*  https://devzone.nordicsemi.com/f/nordic-q-a/76957/zephyr-read-in-keys-from-the-rtt-terminal
 
*  https://devzone.nordicsemi.com/f/nordic-q-a/76957/zephyr-read-in-keys-from-the-rtt-terminal
 +
</ul>
 +
 +
<!-- comentario -->
 +
 +
== [[#top|^]] UARTs and Multiple UARTs ==
 +
 +
Question with dev board nRF5340DK regarding use of multiple UARTs and Bluetooth together:
 +
 +
*  https://devzone.nordicsemi.com/f/nordic-q-a/103034/using-uart0-and-uart1-in-the-app-cpu-with-bt-enabled-on-the-nrf5340dk
 +
 +
2024-03-20 WED
 +
 +
Devzone member Mataer asks about run time baud rate changes:
 +
 +
*  https://devzone.nordicsemi.com/f/nordic-q-a/109489/dynamically-change-devicetree-configuration-for-uart-in-firmware
 +
 +
<!-- comentario -->
 +
 +
== - - - - - - - - - - - - - - - - - - - -  - - - - - - - - - - - - - - - - - - - -  - - - - - - - - - - - - - - - - - - - - ==
 +
 +
<!-- comentario -->
 +
 +
== [[#top|^]] External Services ==
 +
 +
Zephyr Timing With Epoch
 +
<ul>
 +
*  https://devzone.nordicsemi.com/f/nordic-q-a/103032/zephyr-timing-with-epoch
 +
</ul>
 +
 +
<!-- comentario -->
 +
 +
== - - - - - - - - - - - - - - - - - - - -  - - - - - - - - - - - - - - - - - - - -  - - - - - - - - - - - - - - - - - - - - ==
  
 
<!-- comentario -->
 
<!-- comentario -->
  
 
== [[#top|^]] nRF LTE Modem and PSM Modes ==
 
== [[#top|^]] nRF LTE Modem and PSM Modes ==
 +
 +
Posts to Nordic Devzone relating to LTE modem Power Savings Mode:
 +
 +
0516
 +
About three years ago Norway developers discover iBasis SIM cards force Active Time period to zero, effectively disabling PSM:
 +
*  https://devzone.nordicsemi.com/f/nordic-q-a/48641/psm-tau-and-at
 +
 +
 +
How to interpret bit wise encodings of PSM parameters periodic-TAU, active time, periodic-TAU extended:
 +
*  https://devzone.nordicsemi.com/f/nordic-q-a/87451/role-of-active-time-in-psm-requests-granted-values
 +
 +
Others' posts:
 +
 
2022
 
2022
 
<ul>
 
<ul>
Line 226: Line 394:
 
*  https://devzone.nordicsemi.com/f/nordic-q-a/80988/thingy-91-agps-sample-tracks-satellites-but-does-not-get-fix  Thingy91 sample tracks but does not fix on satellites
 
*  https://devzone.nordicsemi.com/f/nordic-q-a/80988/thingy-91-agps-sample-tracks-satellites-but-does-not-get-fix  Thingy91 sample tracks but does not fix on satellites
 
</ul>
 
</ul>
 +
 +
<!-- comentario -->
 +
 +
== [[#top|^]] nRF9160 Modem Libraries ==
 +
 +
2022
 +
<ul>
 +
0707
 +
 +
*  [open]  https://devzone.nordicsemi.com/f/nordic-q-a/89775/can-the-modem-library-back-end-be-directed-to-an-external-modem
 +
</ul>
 +
 +
  
 
<!-- comentario -->
 
<!-- comentario -->
Line 239: Line 420:
  
 
== [[#top|^]] MQTT Related ==
 
== [[#top|^]] MQTT Related ==
 +
2022
 +
<ul>
 +
0509<br />
 +
*  https://devzone.nordicsemi.com/f/nordic-q-a/87728/mqtt-subscribe-and-unsolicited-messages  ticket 87728 - MQTT subscribe and unsolicited messages
 +
*  https://devzone.nordicsemi.com/f/nordic-q-a/76415/merging-application-mqtt_simple-and-gps/315628#315628 ticket 76415 - merging application mqtt_simple and gps
  
 
2021-12-31 FRI
 
2021-12-31 FRI
Line 245: Line 431:
 
2021-12-22 WED
 
2021-12-22 WED
 
*  https://devzone.nordicsemi.com/f/nordic-q-a/83058/mqtt-client---calling-nrf_getaddrinfo-couse-reset
 
*  https://devzone.nordicsemi.com/f/nordic-q-a/83058/mqtt-client---calling-nrf_getaddrinfo-couse-reset
 +
</ul>
  
 
2021-12-17 FRI
 
2021-12-17 FRI
Line 269: Line 456:
 
<!-- comentario -->
 
<!-- comentario -->
  
 +
== [[#top|^]] FOTA Firmware Over The Air Updates ==
 +
 +
<ul>
 +
*  https://devzone.nordicsemi.com/f/nordic-q-a/101606/device-becomes-un-updatable-forever-if-wrong-s0-s1-update-image-is-transferred-in-a-two-stage-bootloader-setup
 +
</ul>
 +
 +
<!-- comentario -->
 +
 +
== - - - - - - - - - - - - - - - - - - - -  - - - - - - - - - - - - - - - - - - - -  - - - - - - - - - - - - - - - - - - - - ==
 +
 +
<!-- comentario -->
 +
 +
 +
== [[#top|^]] Zephyr starting function ==
 +
 +
*  https://devzone.nordicsemi.com/f/nordic-q-a/59838/why-there-is-no-main-in-zephyr-thread-sample-codes
 +
 +
<!-- comentario -->
 +
''
 
== [[#top|^]] Zephyr and External Flash ==
 
== [[#top|^]] Zephyr and External Flash ==
  
Line 274: Line 480:
  
 
<!-- comentario -->
 
<!-- comentario -->
 +
 +
== [[#top|^]] Zephyr kernel issues ==
 +
 +
*  https://devzone.nordicsemi.com/f/nordic-q-a/87830/k_work_submit-schedules-in-atomic-context
 +
 +
<!-- comentario -->
 +
 +
== [[#top|^]] Battery Related Questions ==
 +
 +
2022
 +
<ul>
 +
0601
 +
<ul>
 +
To monitor a coin cell battery CR2032 and example schematic:
 +
*  https://devzone.nordicsemi.com/f/nordic-q-a/65417/nrf52840-coin-cell-battery-percentage-monitor
 +
</ul>
 +
</ul>
 +
 +
<!-- comentario -->
 +
 +
UICR and related issues:
 +
 +
2022
 +
<ul>
 +
0621
 +
<ul>
 +
*  [open] https://devzone.nordicsemi.com/f/nordic-q-a/89195/uicr-write-example-with-nrf9160-and-zephyr
 +
</ul>
 +
</ul>
 +
 +
<!-- comentario -->
 +
 +
== [[#top|^]] Zephyr DMA and EasyDMA ==
 +
 +
Zephyr DMA and EasyDMA . . .
 +
 +
*  https://devzone.nordicsemi.com/f/nordic-q-a/90219/using-qspi-with-dma-on-nrf5340dk
 +
 +
<!-- comentario -->
 +
 +
== [[#top|^]] DPPI Distributed Programmable Peripheral Interrupts ==
 +
 +
*  https://devzone.nordicsemi.com/f/nordic-q-a/79179/simple-blinky-example-with-dppi-for-nrf9160
 +
 +
A reference to DPPI driver code:
 +
*  https://github.com/nrfconnect/sdk-nrf/blob/v1.6.1/subsys/esb/esb.c#L563
 +
 +
<!-- comentario -->
 +
 +
== [[#top|^]] - - - - - &nbsp; - - - - - &nbsp; - - - - - &nbsp; - - - - - &nbsp; - - - - - &nbsp; - - - - - &nbsp; - - - - - &nbsp; - - - - - &nbsp; - - - - - &nbsp; - - - - - &nbsp; ==
 +
 +
 +
 +
<!-- comentario -->
 +
 +
== [[#top|^]] Code Test Coverage and Coverage Reports ==
 +
 +
*  https://devzone.nordicsemi.com/f/nordic-q-a/90166/enabling-coverage-reports-for-device-testing-with-nrf-connect-sdk
 +
 +
<!-- comentario -->
 +
 +
== - - - - - - - - - - - - - - - - - - - -  - - - - - - - - - - - - - - - - - - - -  - - - - - - - - - - - - - - - - - - - - ==
 +
 +
<!-- comentario -->
 +
 +
== [[#top|^]] Zephyr Project Configuration ==
 +
 +
Section started 2023-08-16.
 +
 +
*  (open) https://devzone.nordicsemi.com/f/nordic-q-a/102918/nrf5340-zephyr-child-image-image-build-issue
 +
 +
Forum post on configuring CLion first time of use:
 +
<ul>
 +
*  https://stackoverflow.com/questions/33267305/how-do-i-set-up-clion-to-compile-and-run
 +
</ul>
 +
 +
 +
<!-- comentario -->
 +
 +
== - - - - - - - - - - - - - - - - - - - -  - - - - - - - - - - - - - - - - - - - -  - - - - - - - - - - - - - - - - - - - - ==
 +
 +
<!-- comentario -->
 +
 +
== [[#top|^]] Toolchain Related ==
 +
 +
<!-- comentario -->
 +
 +
=== [[#top|^]] To Set cmake Options In SES ===
 +
 +
As of 2021-09-24, using Segger version xxx Nordic's version, this Segger IDE offers an extra menu item to open, build, flash and debug nRF SDK sample apps.  The initial dialog box which appears for this option is titled "nRF Connect Options".  Just left of the title there is a Nordic colored icon showing two links of chain, white on blue.
 +
 +
There are five input boxes, a mix of text inputs and drop down menus, and two sets of radio buttons.  The free form text input box titled "Extra CMake Build Options" is a key place to express custom configuration settings to `cmake`.  To use, for example, Zephyr's latest stable arm cross compiling toolchain in place of Nordic's close but not quite as recent chosen release of GNU ARM cross compiler toolchain, the following `cmake` option needs be entered here:
 +
 +
-DZEPHYR_TOOLCHAIN_VARIANT=zephyr
 +
 +
The default value for 'ZEPHYR_TOOLCHAIN_VARIANT' with Nordic's SDK v1.6.1 is 'gnuarmemb'.  It is not sufficient to set a variable by this name in the shell environment of Linux systems, nor is it sufficient to set a Segger global or project macro by this name equal to the string "zephyr".  This change in toolchain name or branding must be passed to `cmake` on its command line.  In Segger, we build with a button press, so the command line option is only accessible to us from certain limited place or places.  This text input box is our place to express needed custom command line options to `cmake` when working within SES.
 +
 +
 +
<!-- comment -->
 +
 +
<span id="nn-anchor--create-nordic-project-dot-py"></span>
 +
 +
=== [[#top|^]] create_nordic_project.py ===
 +
 +
<pre>
 +
ted@localhost:~/projects/zephyr-based/z4-sandbox-kionix-work/nrf/samples/nrf9160/at_client$ python3 /opt/ses-nordic/arm_segger_embedded_studio_v560_linux_x64_nordic/html/create_nordic_project.py
 +
Usage: create_nordic_project.py [-h] [--cmake-executable cmakeExecutable] [--cmake-option cmakeOption]
 +
                                [--python-executable pythonExecutable] [--ninja-executable ninjaExecutable]
 +
                                [--dtc-executable dtcExecutable]
 +
                                zephyrBaseDir toolchainDir studioDir buildDir boardDir boardName sourceDir
 +
 +
Arguments:
 +
  zephyrBaseDir      Zephyr base directory
 +
  toolchainDir      GCC toolchain directory
 +
  studioDir          Embedded Studio directory
 +
  buildDir          Build directory
 +
  boardDir          Board directory
 +
  boardName          Board name
 +
  sourceDir          Source directory
 +
 +
Optional arguments:
 +
  --help                                  Show this help message and exit
 +
  --ncs-toolchain-version versionNCS Toolchain version to use
 +
  --cmake-executable cmakeExecutable      CMake executable to use
 +
  --cmake-option cmakeOption              Add additional CMake option
 +
  --python-executable pythonExecutable    Python executable to use
 +
  --ninja-executable ninjaExecutable      Ninja executable to use
 +
  --dtc-executable dtcExecutable          DTC executable to use
 +
  --cmake-rerunRerun CMake in build folder
 +
ted@localhost:~/projects/zephyr-based/z4-sandbox-kionix-work/nrf/samples/nrf9160/at_client$
 +
</pre>
 +
 +
<!-- comment -->
 +
 +
== [[#top|^]] How to flash how to program ==
 +
 +
*  [some answers] https://devzone.nordicsemi.com/f/nordic-q-a/51740/how-can-we-flash-the-original-factory-out-of-the-box-fw-for-the-nrf9160
 +
 +
 +
<!-- comment -->
 +
 +
== [[#top|^]] Zephyr and Docker ==
 +
 +
2022
 +
<ul>
 +
0629
 +
<ul>
 +
*  [open]  https://devzone.nordicsemi.com/f/nordic-q-a/89477/project-cannot-be-built-in-a-docker-container
 +
</ul>
 +
</ul>
 +
 +
<!-- comment -->
 +
 +
== [[#top|^]] - - - - - &nbsp; - - - - - &nbsp; - - - - - &nbsp; - - - - - &nbsp; - - - - - &nbsp; - - - - - &nbsp; - - - - - &nbsp; - - - - - &nbsp; - - - - - &nbsp; - - - - - &nbsp; ==
 +
 +
<!-- comentario -->
 +
 +
  
 
== [[#top|^]] Posts To Follow - not yet sorted ==
 
== [[#top|^]] Posts To Follow - not yet sorted ==
 +
 +
As a note here which will also be mentioned near the beginning of this NN wiki page, it is as of 2022-05-09 Monday possible to access any Nordic Devzone post by its number, by entering a URL of the form <b>[https://devzone.nordicsemi.com/f/nordic-q-a/1/index.asp https://devzone.nordicsemi.com/f/nordic-q-a/nnnnn/index.asp]</b>.  This works for posts all the way down to Nordic Devzone's first post, post number 1, which was posted cerca 2013.
 +
 +
The following posts cover interesting and in many cases likely useful topics relating to low power, edge sensing devices.  These posts however are not yet sorted by NN wiki users.  They are here for further review, possibly on a rainy day, but in either case to fulfill future technical needs:
 +
 +
2023
 +
<ul>
 +
0418
 +
*  https://devzone.nordicsemi.com/f/nordic-q-a/98868/ncs-mcuboot-and-nvs
 +
*  https://devzone.nordicsemi.com/f/nordic-q-a/98871/arduino_header-usage
 +
 +
0412
 +
*  https://devzone.nordicsemi.com/f/nordic-q-a/98672/twim-drivers-don-t-work-with-power-management-runtime-enabled
 +
 +
0322
 +
*  https://devzone.nordicsemi.com/f/nordic-q-a/98006/how-to-create-a-custom-yaml-file
 +
 +
0221
 +
*  https://devzone.nordicsemi.com/f/nordic-q-a/96915/force-network-re-registration
 +
</ul>
 +
 +
2022
 +
<ul>
 +
 +
1002 Monday
 +
*  https://devzone.nordicsemi.com/f/nordic-q-a/92559/zephyr-custom-driver-out-of-tree-i2c
 +
 +
0927 Tuesday
 +
*  https://devzone.nordicsemi.com/f/nordic-q-a/92383/spi-interface-for-microsd-card
 +
 +
0715 Friday post to Nordic Devzone regarding micro ecc . . .
 +
*  [open] &nbsp;https://devzone.nordicsemi.com/f/nordic-q-a/90050/prebuilt-micro-ecc-library
 +
 +
0706
 +
*  [open] &nbsp;https://devzone.nordicsemi.com/f/nordic-q-a/89725/watchdog-timer-issues-and-pullup-on-nreset  . . . nRF9160 watchdog timer issue and 10k pull up on reset line.
 +
 +
0630
 +
*  [reply] &nbsp;https://devzone.nordicsemi.com/f/nordic-q-a/89523/does-mdk-8-15-0-include-workaround-for-errata-136
 +
 +
0614
 +
*  [replies] &nbsp;https://devzone.nordicsemi.com/f/nordic-q-a/88970/nrf9160-help-needed-to-find-reset-reboot-cause  . . . Thingy91, ncs 1.6.1 adds Memfault module for RAM based logging facility
 +
 +
0607
 +
*  [open] &nbsp;https://devzone.nordicsemi.com/f/nordic-q-a/88696/high-drive  High current drive question for infra-red LEDs
 +
 +
0520
 +
*  [open] &nbsp;https://infocenter.nordicsemi.com/topic/ref_at_commands/REF/at_commands/nw_service/cpsms_set.html
 +
</ul>
 +
 +
 +
0509
 +
*  https://devzone.nordicsemi.com/f/nordic-q-a/100/how-to-determine-nrf51822-laser-mark  ". . . mark answer as accepted to make clearer for other users . . ."
 +
*  https://devzone.nordicsemi.com/f/nordic-q-a/20181/nrf52-throughput-demo-blog-post  nRF52xx data throughput
 +
 
0329
 
0329
 
*  https://devzone.nordicsemi.com/f/nordic-q-a/86381/communication-between-nrf52-and-nrf91-on-the-nrf91dk
 
*  https://devzone.nordicsemi.com/f/nordic-q-a/86381/communication-between-nrf52-and-nrf91-on-the-nrf91dk
Line 383: Line 801:
 
2022 . . .
 
2022 . . .
 
<ul>
 
<ul>
 +
0601
 +
*  https://devzone.nordicsemi.com/f/nordic-q-a/88510/system-off-power-consumption-is-high
 +
<ul>
 +
Not able to find 'NARODIC' in searches, but here are some nRF5 SDK references at Nordic Semi site:
 +
(1)  https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v15.3.0%2Findex.html
 +
(2)  https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.3.0/pwr_mgmt_example.html
 +
(3)  https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.3.0/lib_pwr_mgmt.html
 +
</ul>
 +
 +
0512
 +
*  https://devzone.nordicsemi.com/f/nordic-q-a/87883/first-i2c-code-on-nrf-connect-i-think-i-m-close
 +
*  ...
 +
 +
0510
 +
*  https://devzone.nordicsemi.com/f/nordic-q-a/87784/adding-to-the-device-tree-with-overlays---zephyr  Developer SmallerPond "adding to the device tree with overlays" question
 +
 
0415
 
0415
 
*  https://devzone.nordicsemi.com/f/nordic-q-a/86996/on-setting-up-linux-vs-code-showing-error-in-running-command-make-gcc-gcc-multilib-g--multilib-libsdl2-dev
 
*  https://devzone.nordicsemi.com/f/nordic-q-a/86996/on-setting-up-linux-vs-code-showing-error-in-running-command-make-gcc-gcc-multilib-g--multilib-libsdl2-dev
Line 389: Line 823:
 
*  https://devzone.nordicsemi.com/f/nordic-q-a/85636/can-i-run-python-scripts-on-the-nrf52840-dk
 
*  https://devzone.nordicsemi.com/f/nordic-q-a/85636/can-i-run-python-scripts-on-the-nrf52840-dk
 
</ul>
 
</ul>
 
<!-- comment -->
 
 
== [[#top|^]] To Set cmake Options In SES ==
 
 
As of 2021-09-24, using Segger version xxx Nordic's version, this Segger IDE offers an extra menu item to open, build, flash and debug nRF SDK sample apps.  The initial dialog box which appears for this option is titled "nRF Connect Options".  Just left of the title there is a Nordic colored icon showing two links of chain, white on blue.
 
 
There are five input boxes, a mix of text inputs and drop down menus, and two sets of radio buttons.  The free form text input box titled "Extra CMake Build Options" is a key place to express custom configuration settings to `cmake`.  To use, for example, Zephyr's latest stable arm cross compiling toolchain in place of Nordic's close but not quite as recent chosen release of GNU ARM cross compiler toolchain, the following `cmake` option needs be entered here:
 
 
-DZEPHYR_TOOLCHAIN_VARIANT=zephyr
 
 
The default value for 'ZEPHYR_TOOLCHAIN_VARIANT' with Nordic's SDK v1.6.1 is 'gnuarmemb'.  It is not sufficient to set a variable by this name in the shell environment of Linux systems, nor is it sufficient to set a Segger global or project macro by this name equal to the string "zephyr".  This change in toolchain name or branding must be passed to `cmake` on its command line.  In Segger, we build with a button press, so the command line option is only accessible to us from certain limited place or places.  This text input box is our place to express needed custom command line options to `cmake` when working within SES.
 
 
 
<!-- comment -->
 
<span id="nn-anchor--create-nordic-project-dot-py"></span>
 
== [[#top|^]] create_nordic_project.py ==
 
 
<pre>
 
ted@localhost:~/projects/zephyr-based/z4-sandbox-kionix-work/nrf/samples/nrf9160/at_client$ python3 /opt/ses-nordic/arm_segger_embedded_studio_v560_linux_x64_nordic/html/create_nordic_project.py
 
Usage: create_nordic_project.py [-h] [--cmake-executable cmakeExecutable] [--cmake-option cmakeOption]
 
                                [--python-executable pythonExecutable] [--ninja-executable ninjaExecutable]
 
                                [--dtc-executable dtcExecutable]
 
                                zephyrBaseDir toolchainDir studioDir buildDir boardDir boardName sourceDir
 
 
Arguments:
 
  zephyrBaseDir      Zephyr base directory
 
  toolchainDir      GCC toolchain directory
 
  studioDir          Embedded Studio directory
 
  buildDir          Build directory
 
  boardDir          Board directory
 
  boardName          Board name
 
  sourceDir          Source directory
 
 
Optional arguments:
 
  --help                                  Show this help message and exit
 
  --ncs-toolchain-version versionNCS Toolchain version to use
 
  --cmake-executable cmakeExecutable      CMake executable to use
 
  --cmake-option cmakeOption              Add additional CMake option
 
  --python-executable pythonExecutable    Python executable to use
 
  --ninja-executable ninjaExecutable      Ninja executable to use
 
  --dtc-executable dtcExecutable          DTC executable to use
 
  --cmake-rerunRerun CMake in build folder
 
ted@localhost:~/projects/zephyr-based/z4-sandbox-kionix-work/nrf/samples/nrf9160/at_client$
 
</pre>
 
  
 
<!-- comment -->
 
<!-- comment -->

Latest revision as of 16:05, 20 March 2024

Keywords: Nordic Segger python script :: create_nordic_project.py :: create Nordic project dot py :: index.asp

 
 

--- Overview ---

This page a starting point for references (links) to Nordic Devzone posts and additional notes on their respective issues. This page also contains posts from Jared Wolff Community forum, an excellent technical resource for design matters IoT related, and also Zephyr RTOS related.

Contents

2021 Overview notes to review

On this page indentation of URLs highlights when one post refers or links to another.

Worth noting, Nordic Semi web site is organized into three domains:

 

primary Nordic Semi website     ::     Nordic Devzone     ::     Nordic Semi Documentation

 

Searching for articles, tutorials and other materials in one domain does not in general appear to find or capture search results in the other two Nordic Semi site domains. An on-line power profiling tool can be found indirectly at Nordic Devzone by entering search pattern "online power profiler". The link to the profiler for nRF91xx family parts is:

Some related links to Nordic on-line power profiler:

A local wiki page is in progress as well relating to LTE modem commands, both universal ones and some of Nordic Semi's custom AT commands:


A helpful summary of all firmware development tools offered by Nordic Semi:

Nordic link to Segger and Segger Embedded Studio downloads:


^ Nordic Semi Guides



^ ncs Changes in Newer than 1.6.1 Release



^ - - - - -   - - - - -   - - - - -   - - - - -   - - - - -   - - - - -   - - - - -   - - - - -   - - - - -   - - - - -  

^ Low Current Related

2022



^ DTS

2022


^ To Configure Pins

2022