Capturing with custom serial port configuration

nRF Util

tags
nRF Util

As mentioned in the section above, you can use the --input-serialport argument with the serial port name to have trace use the default serial port settings (1000000/8/N/1). You can customize these settings by passing additional options to --input-serialport.

For example, the following command will perform the same trace as before, but with baudrate set to 9600, flow control set to software, parity set to even and two stop bits:

nrfutil trace lte --input-serialport port=COM10,baud_rate=9600,stop_bits=2,parity=even,flow_control=software --output-raw raw-file.bin

See Capturing trace data from an nRF9160 modem to a binary file for more information.