Part Number: TCI6630K2L
Tool/software: TI-RTOS
Hi,
Currently i am running an LTE system with syslib rel 3.0.7.
I am observing some issue with msgcom channel communication.
With UE attach & data, system running fine, but when i start HO, after some successful ping-pong HO msgcom channel communication is stopped.
With Further debugging i found that some time the registered interrupt function is not called or some time Msgcom_get take too much time to retrieve the pckt "around 3 to 4 ms"
Msgcom creation code
chConfig.mode = Msgcom_ChannelMode_NON_BLOCKING;
chConfig.appCallBack = (MsgCom_AppCallBack)NULL;
chConfig.u.queueCfg.interruptMode = Msgcom_QueueInterruptMode_ACCUMULATED_INTERRUPT;
chConfig.u.queueCfg.accumulatorChannelType = Msgcom_AccumulatedChannelType_HIGH;
chConfig.u.queueCfg.maxPageEntries = 5;
chConfig.u.queueCfg.pacingTimerCount = 0;
chConfig.u.queueCfg.accumulatorChannel = ptrCfg->accChannelResponse[4].accChannel;
gPhysicalChHandle = Msgcom_create (PDCP_UL_CHANNEL_NAME, Msgcom_ChannelType_QUEUE, (Msgcom_ChCfg*)&chConfig, &errCode);
memset(&chConfig, 0, sizeof(chConfig));
chConfig.mode = Msgcom_ChannelMode_NON_BLOCKING;
chConfig.appCallBack = (MsgCom_AppCallBack)macUeOppIndChannelIsr;
chConfig.u.virtualChannelCfg.phyChannel = gPhysicalChHandle;
iccQueue_g[UEOPPIND_QUEUE].channelHandle = Msgcom_create (TI_MAC_UE_OPP_MSGCOM_CHN, Msgcom_ChannelType_VIRTUAL, (Msgcom_ChCfg*)&chConfig, &errCode);
Same kind of behavior observed when i tried changing L2 scheduling algo from RR to QOS.
In this scenario L2 is not able to receive packet sent by L1 "Msgcom channel is the high priority interrupt channel & the receiver task is the highest priority task" .
Its confirm that L1 is transmitting packet correctly but L2 registered interrupt function is not getting called after some time.
Its also confirmed that L2 code does not calling any Hwi_disable or system_interrupt disable function when issue observed.
Please help me to resolve this issue.
Let me know if u need any further information.
Thanks & Regards
Gautam Shah