This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

MCB2300 Influence of TCPnet on RTX scheduler

Hi !

I'm using MCB2300 and Tcpnet V3.7.

I have the following application :

process tsk :
while( true )
    Wait (event)
    led0_off
    do some stuff


timer1 match interrupt :
    led0_on
    set event

process tsk has the highest priority.

I check with oscilloscope latency time which is about 25us, and is stable.
When I used TCPNet (with 100ms tick) I noticed that the latency time jitters up to 43 us.

The only way I reproduced this phenomenon is creating a task that loops (for()) and has some code with tsk_lock()/tsk_unlock().

So my conclusion is that even if TCPnet is standalone it "detects" RTX presence and disable the scheduler to protect some non-reentrant functions ?

What do you think about it ?