Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: tecnico.solarboat

Search: Search took 0.00 seconds.

  1. Replies
    872
    Views
    120,829

    I have missed this post yesterday. I'm happy to...

    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!
  2. Replies
    872
    Views
    120,829

    It works as expected! Both on Teensy 3.2 and 3.5....

    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");
    ^
    ***...
  3. Replies
    872
    Views
    120,829

    At least for me, with Paltformio if I declare ...

    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...
  4. Replies
    872
    Views
    120,829

    First of all thank you very much for you...

    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...
  5. Replies
    872
    Views
    120,829

    If you can have a look that would be nice, check...

    If you can have a look that would be nice, check this example.
  6. Replies
    872
    Views
    120,829

    What if I want that function to be part of my own...

    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?
  7. Replies
    872
    Views
    120,829

    Hello tonton81, We have been using Teensy 3.X...

    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...
  8. Good point you have there. I didn't thought of...

    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.
  9. I didn't though of that. I will give it a try...

    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...
  10. The problem is that SPI.setDataMode is deprecated...

    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...
  11. SPI.begin() does not set Clock HIGH in SPI_MODE3

    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
Results 1 to 11 of 11