2 Replies Latest reply on Nov 15, 2018 8:12 PM by veredz_2582751

    USBUART: Max. length of received message

    veredz_2582751

      Hello,

       

      I'm using USBUART in PSOC5 with FreeRTOS

      In USBUART_episr.c I added the following code:

       

      CY_ISR(USBUART_SOF_ISR)

      {

           ....

           /* `#START SOF_USER_CODE` Place your code here */

           if (USBUART_DataIsReady()!=0 && USBUART_GetCount ()!=0)

           {

                 //Send semaphore to ReceiveTask 

           }

           /* `#END` */

            .....

      }

       

      void vReceiveTask( void *pvParameters )

      {

               while (1)

               {

                       USBUART_GetData (...)

               }

      }

       

      From the PC I want to send one message to the serial port that will be received in USBUART.

      What is the maximum message I can send ?

       

      Thank you,

      Zvika