Page 1 of 2
[TODO] AT91SAM7 CAN Driver
Posted: Thu Feb 21, 2013 3:44 pm
by FlorianS
Hi,
i just spent a little time to test the driver. I additionally inserted the errorhandling ststus to the driver (that's why i included the highlevel driver files).
I hope you enjoy it.
Florian
P.S. some more drivers will follow in the next weeks.
Re: AT91SAM7 CAN Driver
Posted: Thu Feb 21, 2013 3:47 pm
by Tectu
Thank you very much for sharing your work! Would you like to include your driver into the community repository?
~ Tectu
Re: AT91SAM7 CAN Driver
Posted: Thu Feb 21, 2013 5:11 pm
by FlorianS
Hi,
i hope the driver will find it's way to one of the next chibios versions
Greetings
Florian
Re: AT91SAM7 CAN Driver
Posted: Thu Feb 21, 2013 6:50 pm
by Giovanni
Hi,
Some new drivers have been added to the AT91SAM7 platform, did you see them? better to not duplicate effort
your CAN driver will be added too. The platform looks quite complete now, almost at the same level of the STM32.
I am going to appoint a new maintainer for this platform and open a dedicated forum, of course it would be possible to have two maintainers if you are interested too.
The idea is to make each platform have its own maintainers, more info will follow during next weeks.
Giovanni
Re: [TODO] AT91SAM7 CAN Driver
Posted: Mon Mar 04, 2013 8:31 pm
by Giovanni
Moved here from contributions.
Giovanni.
Re: [TODO] AT91SAM7 CAN Driver
Posted: Fri Jun 07, 2013 2:13 pm
by FlorianS
Hi,
I'm really sorry in a small modification before I sent you the driver i made a little/big mistake. In Line 525 (can_lld_transmit(...)) of can_lld.c (old: canp->base->CAN_IER = CAN_MB(CAN_TxMB0); ) must be for sure:
Code: Select all
canp->base->CAN_IER = 1 << CAN_MB(CAN_TxMB0);
because CAN_MB(CAN_TxMB0) gives the mailbox number (0...7) but it needs to be 0b0100 for mailbox 3 (not 0b0011).
Stupid me! SORRY!
Florian
Re: [TODO] AT91SAM7 CAN Driver
Posted: Thu Oct 10, 2013 1:25 pm
by FlorianS
Hi,
I'm wondering if the (AT91SAM7) CAN Driver will be integrated in the next version of ChibiOS. Can I somehow support that?
Regards,
Florian
Re: [TODO] AT91SAM7 CAN Driver
Posted: Thu Oct 10, 2013 4:00 pm
by Giovanni
Hi Florian,
The maintainer of this area hasn't been very active of late, would you be interested in help maintaining this port and integrate the driver yourself?
Giovanni
Re: [TODO] AT91SAM7 CAN Driver
Posted: Fri Oct 11, 2013 2:28 pm
by FlorianS
Hi,
If you allow I'll integrate the driver my way and I try to help maintainining as much as possible.
I'd need some tutorial for that.
Regards,
Florian
Re: [TODO] AT91SAM7 CAN Driver
Posted: Fri Oct 11, 2013 4:54 pm
by Giovanni
Hi,
You need a sourceforge account , I will enable it to access the repository.
Helping maintaining means keeping the code and demos in release-able order, on this platform there isn't really much to do because it is very static. Probably I will not even port it over to ChibiOS 3.0 if there isn't a clear demand for it.
Giovanni