Missing events
Posted: Sat Nov 07, 2015 7:33 pm
Greetings,
I am using ChibiOS-RT 3.0.x on an STM32F4. This question relates to usage model of serial driver as an event source.
After receiving a complete packet from the seriallist port, a transport task dispatches to another task that will in turn route it to the proper command handler.
My usage model is such that I unregister from the event source (serial driver) until the command is processed. Upon command completion the transport task is notified by the command task that it is time to register for events again.
I have noticed that when under have load I would stop receiving CHN Input available events
I was able to work around this problem by flushing the input queue before I re-register.
I am hopeful the users in this forum or the Chibios creator can enumerate the proper sequence of operations I need to perform to implement the desired behavior for my application.
Thanks in advance.
Acaraje
I am using ChibiOS-RT 3.0.x on an STM32F4. This question relates to usage model of serial driver as an event source.
After receiving a complete packet from the seriallist port, a transport task dispatches to another task that will in turn route it to the proper command handler.
My usage model is such that I unregister from the event source (serial driver) until the command is processed. Upon command completion the transport task is notified by the command task that it is time to register for events again.
I have noticed that when under have load I would stop receiving CHN Input available events
I was able to work around this problem by flushing the input queue before I re-register.
I am hopeful the users in this forum or the Chibios creator can enumerate the proper sequence of operations I need to perform to implement the desired behavior for my application.
Thanks in advance.
Acaraje