4 Replies Latest reply on Jun 2, 2016 7:02 AM by MichaelF_56

    Peripheral UART

      How do i configure peripheral UART

      I want to use P_UART for communicating with other MCU & DEBUG_UART for DEBUGGING.

      Thanks ,


        • 1. Re: Peripheral UART

          Take a look at the following sample application: /WICED-Smart-SDK/Apps/puart_control


          I believe this provides an example of what you are trying to accomplish.


          There is @puart_control AppNote in the SDK as well under /WICED-Smart-SDK/Apps/puart_control/PUART-Control.pdf

          • 2. Re: Peripheral UART

            If you're attempting to set these up simultaneously you'll run into problems. UART protocol doesn't support multi-slave implementations.


            1. For PUART traces, insert in your APLLICATION_INIT() after bleapp_set_cfg:




            Ensure that your pin numbers are properly configured in the puart_cfg table:


                      // Following structure defines UART configuration

                      const BLE_PROFILE_PUART_CFG wiced_sense_puart_cfg =


                          /*.baudrate   =*/ 115200,

                          /*.txpin      =*/ GPIO_PIN_UART_TX,

                          /*.rxpin      =*/ GPIO_PIN_UART_RX,



            2 .PUART Communication with other MCU:

                 As MichaelF_56, said the puart_control app in the SDK demonstrate an extremely detailed interface.


                 For a more basic understanding of PUART implementation see: Connecting an external board to the BCM2073X via the PUART.



            2 of 2 people found this helpful
            • 3. Re: Peripheral UART

              Is it Possible to use Both UART simultaneously(One for DEBUG & Other for communication with other MCU)?

              • 4. Re: Peripheral UART

                The HCI UART for all intents and purposes is a programming interface only.  You can also route debug traces to the HCI UART per the instructions in the WICED Smart Quick Start Guide (SDK 2.x and TAG4 Board), but again, if you application requires some form of UART access, only the peripheral UART is available to the application.

                1 of 1 people found this helpful