This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

radio_test sample can not work on my nrf5340DK

NCS version:v1.5.1

board:nRF5340DK(0.11.0)

first,i use SES Embedded open radio_test project and choose nrf5340dk_nrf5340_cpunet ,and use [west flash --erase] download net core code after build in SES.

second,i use SES open empty_app_core project and choose nrf5340dk_nrf5340_cpuappns,and use [west flash] download app core code after build in SES.

three serial port in my PC :  come13/com14/com15, some data returns from com15:

SPM: NS image at 0x8000
SPM: NS MSP at 0x20008498
SPM: NS reset vector at 0x83f1
SPM: prepare to jump to Non-Secure image.?** Booting Zephyr OS build v2.4.99-ncs2  ***
Flash regions		Domain		Permissions
00 01 0x00000 0x08000 	Secure		rwxl
02 63 0x08000 0x100000 	Non-Secure	rwxl

Non-secure callable region 0 placed in flash region 1 with size 32.

SRAM region		Domain		Permissions
00 03 0x00000 0x08000 	Secure		rwxl
04 63 0x08000 0x80000 	Non-Secure	rwxl

Peripheral		Domain		Status
00 NRF_P0               Non-Secure	OK
01 NRF_CLOCK            Non-Secure	OK
02 NRF_RTC0             Non-Secure	OK
03 NRF_RTC1             Non-Secure	OK
04 NRF_NFCT             Non-Secure	OK
05 NRF_NVMC             Non-Secure	OK
06 NRF_UARTE1           Non-Secure	OK
07 NRF_UARTE2           Secure		SKIP
08 NRF_TWIM2            Non-Secure	OK
09 NRF_SPIM3            Non-Secure	OK
10 NRF_TIMER0           Non-Secure	OK
11 NRF_TIMER1           Non-Secure	OK
12 NRF_TIMER2           Non-Secure	OK
13 NRF_SAADC            Non-Secure	OK
14 NRF_PWM0             Non-Secure	OK
15 NRF_PWM1             Non-Secure	OK
16 NRF_PWM2             Non-Secure	OK
17 NRF_PWM3             Non-Secure	OK
18 NRF_IPC              Non-Secure	OK
19 NRF_VMC              Non-Secure	OK
20 NRF_FPU              Non-Secure	OK
21 NRF_EGU1             Non-Secure	OK
22 NRF_EGU2             Non-Secure	OK
23 NRF_DPPIC            Non-Secure	OK
24 NRF_REGULATORS       Non-Secure	OK
25 NRF_DCNF             Secure		SKIP
26 NRF_CTRLAP           Secure		SKIP
27 NRF_SPIM4            Non-Secure	OK
28 NRF_WDT0             Non-Secure	OK
29 NRF_WDT1             Non-Secure	OK
30 NRF_COMP             Non-Secure	OK
31 NRF_LPCOMP           Non-Secure	OK
32 NRF_PDM0             Non-Secure	OK
33 NRF_I2S0             Non-Secure	OK
34 NRF_QSPI             Non-Secure	OK
35 NRF_NFCT             Non-Secure	OK
36 NRF_MUTEX            Non-Secure	OK
37 NRF_QDEC0            Non-Secure	OK
38 NRF_QDEC1            Non-Secure	OK
39 NRF_USBD             Non-Secure	OK
40 NRF_USBREGULATOR     Non-Secure	OK
41 NRF_P1               Non-Secure	OK
42 NRF_OSCILLATORS      Non-Secure	OK
43 NRF_RESET            Non-Secure	OK
44 NRF_GPIOTE1          Non-Secure	OK

but when i send some debugging commands to com13 or 14,nothing return.

Parents
  • Hi,

    Receiving nothing from COM ports 13 and 14 is as expected. When you connect a nRF5340 DK to a computer, the last COM port will have logging output from the application core. This is COM port 15 in your case, which you say you get some data from. The first COM port, here 13, is logging from the network core, if this is available, and the middle COM port is silent. Although the radio test sample is designed to run on the network core, you interact with the sample through the application core. 

    What happens if you send the commands in the radio test sample on COM port 15? 

    Best regards,

    Marte

Reply
  • Hi,

    Receiving nothing from COM ports 13 and 14 is as expected. When you connect a nRF5340 DK to a computer, the last COM port will have logging output from the application core. This is COM port 15 in your case, which you say you get some data from. The first COM port, here 13, is logging from the network core, if this is available, and the middle COM port is silent. Although the radio test sample is designed to run on the network core, you interact with the sample through the application core. 

    What happens if you send the commands in the radio test sample on COM port 15? 

    Best regards,

    Marte

Children
Related