* I would work on a F103. The full UAVCAN lib is too heavy for me, and I use plain C and not C++ anyhow. The LIBCANARD seems the right thing, but the last time I checked its code didn't looked ready to me. I just re-checked again, and it still looks incomplete. Is my impression correct (yes/no)?
Is it to be expected that something fully useable will appear in the next time (weeks/months), or would I essentially start from scratch?
(don't get me wrong, starting from scratch would be fine, I just would be very unhappy if two weeks later a fully working LIBCANARD would become available LOL)
Hi Olli,
1. The best adapter known to me that is currently available on the market is 8devices USB2CAN, I believe you were referring to it when mentioned the other thread. It doesn't match your price expectations, but in my experience it provides the best experience for the price compared to other options I tested. Regarding aliexpress and alike - I ordered one no-name adapter once from there, found zero documentation and zero customer support, 0/10 would not buy again. I know that Ben Dyer (a huge contributor to UAVCAN) had some experience using USBtin, but I'm not sure whether it was positive or not. Lastly, we can ship you a prototype of Zubax Babel (not available on the market yet) - a high-throughput/low-latency USB/CAN+UART/CAN SLCAN adapter that works with Win/Linux/Mac. If you're interested please contact me off the list.
2. Use SN65HVD232DR for CAN transceiver, and 0ZCH0050FF2G for a fuse (this one is rated for 0.5A, adjust if necessary).
3. As Antoine said, there should be no problem with using libuavcan on STM32F103. I personally used this library on this MCU without issues. You need to allocate about 20..30k of flash and about 6K of RAM for the library though. If that is not feasible, I suggest you to start with libcanard - it still lacks platform drivers, but you could port the STM32 one from libuavcan, it should be quite easy to do.
Pavel.
--
You received this message because you are subscribed to the Google Groups "UAVCAN" group.
To unsubscribe from this group and stop receiving emails from it, send an email to uavcan+un...@googlegroups.com.
To post to this group, send email to uav...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/uavcan/41a8f672-77bd-4860-8b7a-54bfaad3ee5b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
pl let me expand on your suggestion of making a custom driver for libuavcan
do I have it correctly that
(a) one "only" has to provide implementations for can.hpp and system_clock.hpp ?
(b) and in fact only for the classes
* ICanIface
* ICanDriver
* ISystemClock
but not CanFrame, CanFilterConfig, CanSelectMasks ?
If so, considering that some stm32 code is already there, why would it be better to make a new custom driver, that is, what is so bad about the current code which would make it easier to start from scratch instead of from it?
--
You received this message because you are subscribed to the Google Groups "UAVCAN" group.
To unsubscribe from this group and stop receiving emails from it, send an email to uavcan+unsubscribe@googlegroups.com.
To post to this group, send email to uav...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/uavcan/78bcd105-2259-4407-b99a-8059d546443e%40googlegroups.com.