Baudrate serial with Dongle BLE nrf52840

Hi,


I use a dongle BLE nrf52840 with a software Bluetooth shell from NCS 2.0.
I use this dongle with this sample as a central device, i connect it to peripheral and receive 6 notifications at 10Hz and one more at 50Hz.
I use a socket to be connected to my dongle BLE with my PC.
To be able to save all my data i used to play with the serial baudrate.


1 ) Is it ok to configure baudrate with Uart_line_ctrl_set ?


2) Is it possible to configure Buadrate to 1M or even more (4M) for transmission ?

If it's possible, how to configure it ?

If it's not , is there another way to have all my datas ?

Regards,

Pierre-Yves

Parents Reply
  • i have this configuration : in my ovverlay:

     

           
           &zephyr_udc0 {
                  cdc_acm_uart0: cdc_acm_uart0 {
                         compatible = "zephyr,cdc-acm-uart";
                         label = "CDC_ACM_0";
                  };
           };
           

    And i tried to put uart0 to 1M :

    &uart0 {
    	compatible = "nordic,nrf-uarte";
    	status = "okay";
    	current-speed = <1000000>;// <115200>;
    	pinctrl-0 = <&uart0_default>;
    	pinctrl-1 = <&uart0_sleep>;
    	pinctrl-names = "default", "sleep";
    };
    

    Here we have the current-speed i spoke about. I'm i correct when i say that this is the monitor speed of the shell command interface ?

Children
Related