MISMO⋅tech
MISMO⋅tech
Is there any progress with the alert implementation?
Thanks for the great library and your feedback. A Teensy 3.6 or 4 with two isolated CAN transceivers would be an easy solution but they are barely available at the...
Yes it looks like jiauka started multi buffer and interrupt support but never finished it. ``` //TODO #if 0 CANbus->setNumTXBoxes(NumTxMailBoxes); // With this support system can have different buffers for...
I looked at the STM32 LL CAN driver again and it looks like "NEW_LIB" is actually using interrupts if wait_sent == false https://github.com/jiauka/STM32F1_CAN/blob/master/STM32F1_CAN.cpp I will try to get a test...
Sorry I try to understand the changes necessary. Could you explain the problem or missing part with fast packets? - It should get sent with interrupt to make sure the...
I defined the delay() and millis() function and figured out how to deal with the mix of C and C++. I finally managed to compile it with STM32CubeIDE but the...
Thank you for your help. I updated the STM32 CAN lib and it works for me so far. It is meant to be used with STM23CubeIDE and STM32 HAL. Different...
How is sendFromTxRing(prio) called if CANSendFrame is not called? Should I call it from CAN TX Mailbox Empty callback? Can I use 0xFF as prio?
The new STM32 HAL CAN lib gives no control which TX mailbox is used. HAL_CAN_AddTxMessage() choses alway the fist empty mailbox. You can chose between lowest ID or FIFO mailbox...
I don't understand. If I use FIFO inside mailboxes there should not be an ordering problem. That is what it is for. They get sent in the order they get...