Re: STM32F030 and SPWF01 WiFi Module
Posted: Tue Dec 15, 2015 7:57 pm
Giovanni wrote:The timeout does not matter, it is the execution time of those handlers that you should verify. If you don't get data fast enough the queue will fill.
Giovanni
Code: Select all
chEvtWaitOneTimeout(EVENT_MASK(1), MS2ST(1));
in my code having this set to MS2ST(1) makes a difference, dont get any overruns, normally i'd have this set to MS2ST(10) but this gives overruns.
i've currently also got the uart interrupt priority at 1 and the
Code: Select all
#if !defined(SERIAL_BUFFERS_SIZE) || defined(__DOXYGEN__)
#define SERIAL_BUFFERS_SIZE 128
#endif