-->
Page 9 of 10

Re: "Basic" transpart serial/tcp bridge

PostPosted: Fri Jul 10, 2015 2:41 pm
by eriksl
The link was in my head. Please continue here: viewtopic.php?f=6&t=3959

Re: "Basic" transparent serial/tcp bridge

PostPosted: Fri Jul 10, 2015 2:46 pm
by eriksl
Normally I don't see any useful options onder the left icon, other than "report" but now it seems I may change my first post. Wow.

Your quoting the wikipedia that is based on an older SDK.

I repeat, the ESP8266 does NOT have any hardware for PWM. The old SDK had a more limited software implementation than the current one. Nothing more nothing less.

It's not really that difficult to implement a software PWM, I've done it myself. Just program the interrupt of a fast enough timer to go when the next PWM GPIO should flip and when the interrupt fires, flip the GPIO and calculate the time to the next PWM GPIO in clock ticks, and program the timer interrupt compare register for that. That's why multiple PWM's can't have duty cycles that are very close together, in the time the compare register is programmed, the timer already reached that point.

Re: "Basic" transparent serial/tcp bridge

PostPosted: Mon Nov 16, 2015 8:10 pm
by LievenMerckx
nice work, it inspired me on some own development.
i saw you mentioned some issue with pl2303 and parity settings.
i'm using a nodemcu board with cp2102 usb-serial an struggling to make it work for 8 bit even parity. it always give garbled data, even with correct setting of linux side and esp side.
8N1 setting are no problem.
is the esp8266 capable of generating correct parity ?

Re: "Basic" transparent serial/tcp bridge

PostPosted: Tue Nov 17, 2015 10:00 am
by eriksl
LievenMerckx wrote:is the esp8266 capable of generating correct parity ?

That may very well the core of the issue.