We have upgraded the community system as part of the upgrade a password reset is required for all users before login in.

Interrupt based serial read using IRQ



  • I am working on building a system which gets data from serial port UART/USB. Implementation is python based.
    The issue I am facing is I don't want to use infinite while loop. I have seen implementation with select, multi thread and pyserial but i know pyserial internally using select and I am bit confused about the overall implementation.

    Another aspect I have looked into is using IRQs and I probed the file /proc/interrupts and found some IRQs for UART - 11 and USB - 3.

    My question is how to use them to make proper interrupt based serial communication.


Log in to reply
 

Looks like your connection to Community was lost, please wait while we try to reconnect.