Tool/software:
PC → QNX TDA4AL Board ping test
Doing a test in this situation. It checks the response time on the QNX board displayed on the PC. On average, it takes 0.09 ms to respond, but the delayed response of 20 to 100 ms occurs intermittently.
A function called cpsw_MonitorPhy is called every two seconds on the qnx driver.
Symptoms are as follows.
Case 1. If you annotate Enet_periodicTick, there is no delay response.
Case 2. If only mutex_lock and unlock in Enet_periodicTick function are annotated, there is a delay response.
(It doesn't seem to be a mutex effect)
case 3. Network fails to annotate TI function Enet_getPerHandle or EnetPer_periodicTick
Enet_getPerHandle, EnetPer_periodicTick seems to be a problem, but I wonder if functions like delay are used within that function.