Page 3 of 3
Re: Doubt regarding drivers implementation
Posted: Sun Oct 13, 2019 8:28 pm
by 0x3333
Giovanni,
Do you consider adding the Software Serial driver to ChibiOS? Currently, I'm maintaining a fork in GitHub(
https://github.com/0x3333/chibios_svn_m ... /README.md) but would be nice to have this driver upstreamed.
I'm using this driver for some time now and it works great.
Thanks.
Re: Doubt regarding drivers implementation
Posted: Sun Oct 13, 2019 8:52 pm
by Giovanni
Hi,
It looks "compliant" enough, having a more standard demo with GPT as could source would be a bonus.
Have you tested limits? what is a reasonable upper speed limit?
Another topic, do you need to have it under your copyright? if so then it should go in the community repository, I need to keep a copyright clean code base, I do re-licensing for the commercial version. Keeping the name as credits/author is not a problem.
Giovanni
Re: Doubt regarding drivers implementation
Posted: Sun Oct 13, 2019 9:00 pm
by 0x3333
I have some problems calculating the tick using GPT(I couldn't calculate the multiplier correctly), but I did make it work after some struggling, I'll post an example, so it works with all compatible boards/cpus in ChibiOS.
I tested up to 115200, but the CPU got pretty busy, maybe because the multiplier was at 4, reducing to 2 would save a lot of CPU time. I'm working with 9600 with 6 instances, works great.
Re: Doubt regarding drivers implementation
Posted: Thu Oct 17, 2019 8:48 pm
by 0x3333
No problem regarding the copyright, I'll change in my repo.
Edit 1: Done, changed the copyright in my repo.