I have missed this post yesterday. I'm happy to tell you that I has not able to break it! Everything looks to be working as expected. Nice work! Thank you very much!
Type: Posts; User: tecnico.solarboat
I have missed this post yesterday. I'm happy to tell you that I has not able to break it! Everything looks to be working as expected. Nice work! Thank you very much!
It works as expected! Both on Teensy 3.2 and 3.5.
Compiler throws:
Only CAN0 works on Teensy 3.2/3.5
static_assert(_bus == CAN0, "Only CAN0 works on Teensy 3.2/3.5");
^
***...
At least for me, with Paltformio if I declare
FlexCAN_T4<CAN1, RX_SIZE_256, TX_SIZE_16> Can0;
it compiles for Teensy 3.2 and 3.5 but it obviously does not do anything.
Thank you very...
First of all thank you very much for you willingness to help! I can confirm that this works in a Teensy 3.5 with a Kvaser generating random CAN data. I have another Teensy 3.2 board with me but the...
If you can have a look that would be nice, check this example.
What if I want that function to be part of my own C++ class so that I can do an Object Oriented Callback Interface? Is there any possibility to do so with this library?
Hello tonton81,
We have been using Teensy 3.X boards for a while now with Collin80's FlexCan_Library. In his library there is a CANListener class that has a frameHandler function that can be...
Good point you have there. I didn't thought of that because I have only one device on the bus. That should be the reason why SPI.begin() does not take care of the configurations.
I didn't though of that. I will give it a try when I'm near the board. Afterwards I will post the result.
Nonetheless I think this should be considered as a bug. SPI.begin() should put the bus in...
The problem is that SPI.setDataMode is deprecated by Arduino see https://www.arduino.cc/en/Reference/SPISetDataMode and this behaviour causes the slave (LTC 68111) to ignore the first message because...
If SPI settings are set to SPI_MODE3 clock signal should idle at HIGH but before doing:
SPI.beginTransaction(LTC6811_SPI_config);
and after doing SPI.begin(); being