This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/AM3352: Can RT-Linux achieve 3 40ms interval interrupt response without loss event

Part Number: AM3352

Tool/software: Linux

Is RT-linux preemptive kernel? in customer system, there are 3 RS-485 connected to critical sensor, each must complete send out 32byte write command, 300byte read within 40ms, and there are EMAC TCP/IP in system, Is it achievable on AM3352?

  • Hi Tony,

    Yes the RT-Linux kernel does support preemption but please consider what that means. Please take into account that threads can be made to not be preempt-able through thread scheduling policies and priorities.

    Concerning the RS-485 UARTs and the network traffic. This is a very specific question that I think can only be answered by testing or modeling. This I think would be true for any RT Linux system since the key measure is that is the overall system latency based on what it is running in terms of system loading. In the use case here there are some variables to be considered, what is the speed of the UART and the system loading caused by this as well what is the network bit rate intended.

    I would recommend getting a Beagle Bone Black and an RS-485 cape and perform some testing for this use case on the RS-485. Please take into account that there are some options for improving RT latency by using scheduling policies and thread priorities.

    Best Regards,
    Schuyler