3 Replies Latest reply on Sep 11, 2014 12:01 AM by llmcc_2157631

    puart cannot change baud rate

      Hi,

         I have just started using this product and I have a question, I am using version 2.1.0 of the SDK

      I am trying to set the baud rate of the puart to 19200,  I have tried the following

       

       

      const BLE_PROFILE_PUART_CFG hello_sensor_puart_cfg =

       

      {

          /*.baudrate  =*/ 19200,  //115200,

         /*.txpin  =*/ GPIO_PIN_UART_TX,

        /*.rxpin  =*/ GPIO_PIN_UART_RX,

      };

       

      Does not work, baud rate is set to the default  of 115200

       

      Tried

       

      puart_cfg->baudrate = 9600;

      puart_selectUartPads(puart_cfg->rxpin, puart_cfg->txpin, 0x00, 0x00);

       

      puart_init();

       

      Does not work, baud rate is set to the default of 115200.

       

      The puart is operational as I can send and received characters without any errors but only at 115200.

       

      Any help would be greatly appreciated.