Forum Rule: Always post complete source code & details to reproduce any issue!
Page 2 of 2 FirstFirst 1 2
Results 26 to 38 of 38

Thread: Teensyduino 1.49 Released

  1. #26
    Senior Member
    Join Date
    Dec 2015
    Location
    LA
    Posts
    183
    Quote Originally Posted by Rezo View Post
    ...
    Shouldn't it have prompted the installer?
    ..
    Rezo, you don't need to do anything else. It's all pre-installed in the Teensyduino.app when you unzip it. The instructions haven't been updated for the super easy Catalina install. The main odd
    thing, but doesn't really matter is the Application is called Teensyduino in the finder and info but Arduino in it's menu bar. Probably should move it to the Application folder, but it doesn't matter.

  2. #27
    Junior Member
    Join Date
    Jan 2020
    Location
    Auburn, WA
    Posts
    3
    Just downloaded 1.49 and installed over 1.48 in arduino-1.8.10, os is Ubuntu-64 18.04.3 LTS
    I can not find the QuadTimer library, there is no library with this name and doing a search of the teensy library directory for IRQ_QTIMER only returns uses in the PulsePosition library.
    Is this library there and I just can't see it or is it missing from the latest install?

  3. #28
    Senior Member+ KurtE's Avatar
    Join Date
    Jan 2014
    Posts
    7,649
    Which Quad Timer Library?

    The user @luni has their own library that includes Quad Timer... Mentioned in a current thread:
    https://forum.pjrc.com/threads/59112-TeensyTimerTool

    PWM uses it for some IO pins...

    The ADC Library - current stuff the @pedvide just pulled in Pull request optionally uses a couple of Quad timers (i.e. those not used for IO pins on T4).

  4. #29
    Junior Member
    Join Date
    Jan 2020
    Location
    Auburn, WA
    Posts
    3
    Quote Originally Posted by KurtE View Post
    Which Quad Timer Library?

    The user @luni has their own library that includes Quad Timer... Mentioned in a current thread:
    https://forum.pjrc.com/threads/59112-TeensyTimerTool

    PWM uses it for some IO pins...

    The ADC Library - current stuff the @pedvide just pulled in Pull request optionally uses a couple of Quad timers (i.e. those not used for IO pins on T4).
    The one that is mentioned in the 1.49 release notes in the first post of this thread, I assume that it should be included with the 1.49 install.

  5. #30
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    12,388
    it is in : ...\hardware\teensy\avr\cores\teensy4\pwm.c

    Part of PWM code for analogWrite and analogWriteFrequency

    // ...
    void quadtimerWrite(IMXRT_TMR_t *p, unsigned int submodule, uint16_t val)
    void quadtimerFrequency(IMXRT_TMR_t *p, unsigned int submodule, float frequency)
    // ...

  6. #31
    Junior Member
    Join Date
    Jan 2017
    Posts
    17
    Maybe it should be "QuadEncoder" instead of "QuadTimer" ? I think the encoder library is new in 1.49 and not in the news list.

  7. #32
    Senior Member+ KurtE's Avatar
    Join Date
    Jan 2014
    Posts
    7,649
    Quote Originally Posted by Frank2 View Post
    Maybe it should be "QuadEncoder" instead of "QuadTimer" ? I think the encoder library is new in 1.49 and not in the news list.
    Yes I believe the update list meant to say QuadEncoder as it was attributed to @mjs513...

  8. #33
    Junior Member
    Join Date
    Jan 2020
    Location
    Auburn, WA
    Posts
    3
    Quote Originally Posted by KurtE View Post
    Yes I believe the update list meant to say QuadEncoder as it was attributed to @mjs513...
    OK, so I'm not going crazy. I see that the QuadEncoder library is new and from some of the above comments I now have some examples on using the QuadTimers on Teensy4.0
    Thanks,

    Back to lurking mode.

  9. #34
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    12,388
    Quote Originally Posted by KurtE View Post
    Yes I believe the update list meant to say QuadEncoder as it was attributed to @mjs513...
    I wondered about that when I visited the first post ...

  10. #35
    Looks like with Teensyduino 1.49 deafult SD library is having issues. Basic example ReadWrite is now failed to Init SDCard function. I am using Teensy 4.0

    Hardware connection is SPI. Pins 11,12,13 and 4 as CS

    Click image for larger version. 

Name:	Teensy_SDerror.jpg 
Views:	20 
Size:	43.4 KB 
ID:	18887
    Last edited by HallMark; 01-27-2020 at 03:47 PM.

  11. #36
    Senior Member+ mjs513's Avatar
    Join Date
    Jul 2014
    Location
    New York
    Posts
    5,597
    Hard to help debug since we do not know what your hook up is for a sd card reader. Are you hooked up to SPI or using SPI1 etc. Or what your wiring looks like. Did you remember to change the CS pin for the pin you are using?

  12. #37
    Quote Originally Posted by mjs513 View Post
    Hard to help debug since we do not know what your hook up is for a sd card reader. Are you hooked up to SPI or using SPI1 etc. Or what your wiring looks like. Did you remember to change the CS pin for the pin you are using?
    Sorry, I missed that out. Post Updated. Hardware connection is SPI. Pins 11,12,13 and 4 as CS.
    If I am not wrong I was having this setup working with previous version 1.48. I am going to try that out tomorrow as I also have to downgrade Arduino.

  13. #38
    Quote Originally Posted by HallMark View Post
    Sorry, I missed that out. Post Updated. Hardware connection is SPI. Pins 11,12,13 and 4 as CS.
    If I am not wrong I was having this setup working with previous version 1.48. I am going to try that out tomorrow as I also have to downgrade Arduino.
    I just downgrade to Teensyduino 1.48 and SD Card ReadWrite example is working fine. And Same Example same hardware setup it gets SD Card Init failed with Teensyduino 1.49.
    Teensy 4.0
    Hardware connection is SPI. Pins 11,12,13 and 4 as CS.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •