Search results

  1. A

    Teensy 4.0 QuadTimer interrupt for TLC5940

    Is it really impossible to set the timers so that after 4096 clock cycles GSCLK there are two signals BLANK and XLAT, the latter with interruption? For example like this: Start GSCLK, count down 4096 clock cycles. Turn on GSCLK interrupt Activate the BLANK (High) signal during 3 clock cycles...
  2. A

    Teensy 4.0 QuadTimer interrupt for TLC5940

    Paul, hi! Thank you for your work. It's a big step towards promoting the Teensy platform. However, I have one more big favor to ask of you. How do I set up the QuadTimer for pins 19 (QuadTimer3 Module0) and 18 (QuadTimer3 Module1) for XLAT and BLANK respectively? I understand that FlexPWM...
  3. A

    Teensy 4.0 QuadTimer interrupt for TLC5940

    Paul, thank you so much! This is great! Thank you for your support and help! I'm going to try the library today! I will let you know the results!
  4. A

    Help with CAN Bus on Teensy 4.0

    Hi xpeedster! First you need to specify the make and model of the car you want to connect to, to make sure the connection is possible. Then look at the schematic and make sure that the circuit has a termination resistor of 120 ohms Third, you need to know the speed of the CAN bus you are...
  5. A

    Please help with FlexPWM & QuadTimer

    Hi MarkT! Indeed, the chip is controlled by the SPI bus - it transmits data about which LED to turn on, what its brightness, etc. (in my case the chip controls the backlight) However, the chip to generate the switching of the LEDs to ground must receive the reference signal (GSCLK - 4096 clock...
  6. A

    Please help with FlexPWM & QuadTimer

    Hi everyone! :) I'm trying to port code from Teensy 3.x to Teensy 4.0 I need help with the following lines of code that are for Teensy 3.x. They need to be refined so that they work on Teensy 4.0 //BLANK_PIN -> pin 18 (A4) -> QuadTimer3 Module1 //XLAT_PIN -> pin 19 (A5) -> QuadTimer3 Module0...
  7. A

    UAVCAN 1.0 for Teensy 4.0

    I will share my version of UAVCAN for Teensy 4.0 with the community. https://github.com/astekachev/UAVCAN_T4 I will also publish here correspondence with the developer who helped me to port the product to Teensy 4.0 https://forum.uavcan.org/t/uavcan-for-teensy-4-0/1556 Good luck with your...
  8. A

    FlexCAN_T4 - FlexCAN for Teensy 4

    Hi tonton81! It runs fine when library added to /Users/iuser/Documents/Arduino or with command add zip library file in Arduino IDE. But in my case, the library is located in a folder on the desktop. Therefore, when you compile it, you get an error that the .TPP files is not found. I solved this...
  9. A

    FlexCAN_T4 - FlexCAN for Teensy 4

    I renaming .tpp files to _template.h and adjust the include statement accordingly. I don't know yet if this solution will work fine. Because I don't understand how templates work at all. For posterity - this problem occurs only in the Arduino IDE, in the PlatformIO this problem does not arise...
  10. A

    FlexCAN_T4 - FlexCAN for Teensy 4

    Hi everyone! In file included from /Users/iuser/Desktop/CODE/sketch/config.h:19:0, from /Users/iuser/Desktop/CODE/sketch/sketch.ino:16: /Users/iuser/Desktop/CODE/sketch/src/drivers/tja1051/FlexCAN_T4.h:560:26: fatal error: FlexCAN_T4.tpp: No such file or directory #include...
  11. A

    TLC5940 led driver on Teensy 4.0

    Hi! I solved the problem as follows. Hope it helps. https://forum.pjrc.com/threads/69090-Teensy-4-0-QuadTimer-interrupt-for-TLC5940?p=296530&viewfull=1#post296530
  12. A

    Teensy 4.0 QuadTimer interrupt for TLC5940

    I didn’t wait for help here. It turned out to be faster to write own code. But I still did not figure out how to work with registers, so I had to write the code as I can. /* AVSTech lib for TLC5940 and Teensy 4.0 TEST See original https://github.com/PaulStoffregen/Tlc5940 */ #include...
  13. A

    Teensy 4.0 QuadTimer interrupt for TLC5940

    Hi everyone! I am trying to write an add-on for the TLC5940 library for Teensy 4.x. I have already used this library for the Teensy 3.6 platform and am now migrating to the Teensy 4.0 platform. I am not good at working with registers and it is still very difficult for me to understand counters...
Back
Top