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.
Doubt regarding drivers implementation
- Giovanni
- Site Admin
- Posts: 14455
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1076 times
- Been thanked: 922 times
- Contact:
Re: Doubt regarding drivers implementation
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
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
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.
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.
Who is online
Users browsing this forum: No registered users and 12 guests