Mohsin455

Help on RTCS configuration

Discussion created by Mohsin455 on Feb 6, 2013
Latest reply on Feb 12, 2013 by Syed Moosvi

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

Outcomes