-->
Page 1 of 1

Sming and softuart

PostPosted: Mon Jan 30, 2017 5:37 pm
by gaara
Hi,

We're trying to port the softuart library (https://github.com/plieningerweb/esp8266-software-uart) to use within the Sming framework, however, RX always gives out garbage. We've tried all sorts of baud rate but it doesn't seem to make much difference. Does this library interfere with Sming's interrupt architecture? Is there any way around this issue? We absolutely need to use some kind of software serial.

Thanks,
Alex

Re: Sming and softuart

PostPosted: Wed Feb 01, 2017 7:36 am
by gaara
Turns out there were some os_printf functions being called and was messing up the timings of the calculations within Softuart_Intr_Handler. Once we removed those, RX started behaving correctly.