We have a custom product based on the nRF52840 and we are preparing to test it for the FCC Certification.
For this can you please give us guidance or give reference code if required for this process
We have a custom product based on the nRF52840 and we are preparing to test it for the FCC Certification.
For this can you please give us guidance or give reference code if required for this process
The best option is to use "radio test" for this, see: https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/peripheral/radio_test/README.html
In "radio test" exampe code Uart used for send the CLI commnd,
In our custom board we have not any external connector for uart pins but we have usb connector.
so can you please give us "radio test" exampe code using USB so we can give CLI commnd using usb
Hi,
You can enable usb cdc as the backend for the shell subsys by adding these files to the radio_test project.
boards/nrf52840dk_nrf52840.overlay:
/ {
chosen {
zephyr,console = &cdc_acm_uart0;
zephyr,shell-uart = &cdc_acm_uart0;
};
};
&zephyr_udc0 {
cdc_acm_uart0: cdc_acm_uart0 {
compatible = "zephyr,cdc-acm-uart";
label = "CDC_ACM_0";
};
};
boards/nrf52840dk_nrf52840.conf:
CONFIG_STDOUT_CONSOLE=y CONFIG_USB_DEVICE_STACK=y CONFIG_USB_DEVICE_PRODUCT="Zephyr CDC ACM sample" CONFIG_USB_DEVICE_PID=0x0001 CONFIG_LOG=y CONFIG_USB_DRIVER_LOG_LEVEL_ERR=y CONFIG_USB_DEVICE_LOG_LEVEL_ERR=y CONFIG_SERIAL=y CONFIG_UART_INTERRUPT_DRIVEN=y CONFIG_UART_LINE_CTRL=y CONFIG_USB_DEVICE_INITIALIZE_AT_BOOT=y
Remember to reconfigure your project (ie. delete the build folder and regenerate the cmake files) after adding such files to the radio_test/boards/ catalogue.
Kind regards,
Håkon
I used segger embedded studio so how i can do configuration for segger embedded studio?and i can directly give CLI commnd and it can work or i want to modifie the code?
Hi,
shell/log does not have a usb backend in nRF5 SDK, so you will have to use NCS to get this up and running.
Does your design have any unused GPIOs routed out? For instance on test-points or similar?
Kind regards,
Håkon
Hi,
shell/log does not have a usb backend in nRF5 SDK, so you will have to use NCS to get this up and running.
Does your design have any unused GPIOs routed out? For instance on test-points or similar?
Kind regards,
Håkon
Thank you for your response,
Now i am able to send and receive the data using uart,
In CLI Command one command is "start_tx_modulated_carrier" and argument is "<packet_num>" so what is "packet num" can you please give a example.
Hi,
Glad to hear that you got it working!
For continuous transmission, do not give an argument.
Kind regards,
Håkon
ok thank you