Help on RTCS configuration

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Help on RTCS configuration

763 Views
Mohsin455
Contributor IV

Hi All,

        I am using MQX 3.8 in my application. During the initial development stage we had issues with

        RTCS as the RTCS by default was not correctly configured. Can anyone please advise a correct configuration for high

        Ethernet usage ?

       

        Also if someone could provide some information how the following are related with each other will really help :Rx-Tx ring length, RTCSPCB and msgpool.

       

    Default settings:   

    #define BSPCFG_RX_RING_LEN       8

    #define BSPCFG_TX_RING_LEN       4

       

    _UDP_max_queue_size = 1;

   

    _RTCSPCB_init = 4

    _RTCSPCB_grow = 0;

    _RTCSPCB_max  = 4;

   

    _RTCS_msgpool_init = 8

    _RTCS_msgpool_grow = 2

    _RTCS_msgpool_limit = 8

   

    #define ENET_FRAMESIZE_MAXDATA     1500

   

   

   

   Modified settings:

    #define BSPCFG_RX_RING_LEN       4

    #define BSPCFG_TX_RING_LEN       4

   

    _UDP_max_queue_size = 5;

   

    _RTCSPCB_init = 4

    _RTCSPCB_grow = 2;

    _RTCSPCB_max  = 6;

   

    _RTCS_msgpool_init = 8

    _RTCS_msgpool_grow = 2

    _RTCS_msgpool_limit = 8

   

    #define ENET_FRAMESIZE_MAXDATA     600   /*The reason for this is our max packet size is always less than 600 */



Thanks,

Mohsin

Tags (1)
0 Kudos
1 Reply

357 Views
freescale_sid
Contributor I

Hi,

         I am also facing similar issues. I also need to know information on how these are related : Rx-Tx ring length, RTCSPCB and msgpool. This will realy help in configuring the RTCS correctly.

Syed

0 Kudos