1 Reply Latest reply on Nov 10, 2014 7:08 AM by BoonT_56

    How to set up PUART flow control?

    JaHu_1711326

      I used the below to set up PUART flow control,

           puart_selectUartPads(((bleprofile_puart_p_cxfg->rxpin / 16) << 5) | (bleprofile_puart_p_cfg->rxpin % 16),

                     ((bleprofile_puart_p_cxfg->rxpin / 16) << 5) | (bleprofile_puart_p_cfg->rxpin % 16),

                     3, 1);

           puart_init();

           puart_flowOn();

      and the WP pin of my test platform is set to P32.

      There are only 16 bytes of data received and some data lost when transferring over 16 bytes of data.

      The RTS pin of the PUART seems not work.

       

      Thanks!

      Jack Huang