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

Search:

Type: Posts; User: manitou

Page 1 of 10 1 2 3 4

Search: Search took 0.02 seconds.

  1. FWIW, over a wider temperature range, a crystal's...

    FWIW, over a wider temperature range, a crystal's response to temperature change is a quadratic. See
    https://forum.pjrc.com/threads/24628-Interesting-Temperature-Data
    (I sometimes put my teensy in...
  2. Replies
    4,122
    Views
    423,307

    teensyThreads.zip looks to be 2 years old! use...

    teensyThreads.zip looks to be 2 years old! use git clone, or download master.zip from the "Clone or download" dropdown menu
  3. i think your sketch needs Teensy3Clock.set() to...

    i think your sketch needs Teensy3Clock.set() to set the RTC time. See File > Examples > Time > TimeTeensy3

    https://www.pjrc.com/teensy/td_libs_Time.html

    a sketch setting RTC from compile TIME...
  4. Replies
    4,122
    Views
    423,307

    OK, compiling imxrt-size.c on linux, i don't get...

    OK, compiling imxrt-size.c on linux, i don't get anything printed. FIX: the problem is in printnumbers() all printf's need \n instead of \r
    Are the numbers supposed to be good? are the flash/RAM...
  5. Indeed, for the T4, all of the flash is copied to...

    Indeed, for the T4, all of the flash is copied to RAM (hardware/teensy/avr/cores/teensy4/startup.c), so FASTRUN has no meaning for T4. You can keep things in flash by using PROGMEM. RAM is further...
  6. Visit core...

    Visit core hardware/teensy/avr/cores/teensy4/pwm.c to see calculation of quadtimer PWM prescale and divider. With 150mhz bus clock, lowest frequency is 150000000/128/65536 = 17.881393 hz. From...
  7. I have some T4 timer sketches at...

    I have some T4 timer sketches at https://github.com/manitou48/teensy4

    GPT isn't used by Teensy core, but recent T4 update to threads library is using GPTx
  8. Replies
    4,122
    Views
    423,307

    The order of incantations may be tricky. The...

    The order of incantations may be tricky. The audio lib (output_mqs.cpp) does CORE_PIN12_CONFIG = 2 as part of MQS init. you could override that with
    SW_MUX_CTL_PAD_GPIO_AD_B0_05 = 1; which directs...
  9. I ran your sketch (no audio shield attached),...

    I ran your sketch (no audio shield attached), optimize Faster

    4K FFT
    T4 1254 us 3% 313KB arm_math.h v1.5.1
    T3.6 7073 us 15% 188KB v1.5.3
    T3.5 11538 us 25%


    I also have...
  10. Supporting TCP/UDP/IP requires packet arrival...

    Supporting TCP/UDP/IP requires packet arrival management, buffer management, and timer management (timeout and retransmit). The beta testing on T3.6 used polling and lwIP. mbed and NXP SDK have more...
  11. here is summary of beta testing T3.6 with Paul's...

    here is summary of beta testing T3.6 with Paul's limited-production Ethernet shield:
    https://forum.pjrc.com/threads/34808-K66-Beta-Test?p=109161&viewfull=1#post109161
  12. Do you have results for same test on T3.5 or T3.6...

    Do you have results for same test on T3.5 or T3.6 (with DSP lib upgraded to same version as T4)? I think Paul had complained that the newer versions of DSP lib consume a lot more RAM.
  13. Replies
    4,122
    Views
    423,307

    Check the T4 ref manual, MQS has alternate pin...

    Check the T4 ref manual, MQS has alternate pin configurations, but the alternate pins may not be brought out on the T4. There is also the pin crossboar (XBAR) that might have a configuration for...
  14. Replies
    4,122
    Views
    423,307

    I don't think the audio GUI knows about MQS yet,...

    I don't think the audio GUI knows about MQS yet, but the library supports AudioOutputMQS, left right channel pins (10 12).
    I changed output on WavFilePlayer to use AudioOutputMQS and it worked
    ...
  15. Replies
    5
    Views
    183

    I don't know the part number for T4 crystals or...

    I don't know the part number for T4 crystals or how to adjust the 24mhz for the QTIMER, but of course crystal frequency changes with temperature and each T4 crystal could have a different frequency...
  16. Replies
    10
    Views
    235

    may not be relevant, but here is a sketch that...

    may not be relevant, but here is a sketch that does T4 RTC interrupts ...
    https://github.com/manitou48/teensy4/blob/master/rtchp.ino

    also see ...
  17. Replies
    4,122
    Views
    423,307

    Yes. for T4 PWM, discrete PWM frequencies are...

    Yes. for T4 PWM, discrete PWM frequencies are 150mhz/2, 150/3, 150/4, 150/5 .... so 75mhz, 50mhz, 37.5 mhz, 30mhz, 25, 21.428,18.75 ....
  18. Replies
    4,122
    Views
    423,307

    Note pin 10 (and all quadtimer PWM pins) can't do...

    Note pin 10 (and all quadtimer PWM pins) can't do 75mhz, see my post
    https://forum.pjrc.com/threads/54711-Teensy-4-0-First-Beta-Test?p=212043&viewfull=1#post212043
    the core PWM quadtimer driver...
  19. Replies
    11
    Views
    305

    none of the solutions suggested above provide an...

    none of the solutions suggested above provide an "analog" voltage -- they all are generating square waves, and duty cycle determines "average voltage"
  20. Replies
    4,122
    Views
    423,307

    T3* max PWM (FTM) is F_BUS/2 -- so usually 30 MHz...

    T3* max PWM (FTM) is F_BUS/2 -- so usually 30 MHz max. so me thinks your early morning tests were at 5MHz not 50MHz ;)
  21. Replies
    4,122
    Views
    423,307

    T4 and audio shield With my breadboard T4, i...

    T4 and audio shield

    With my breadboard T4, i tried using (long M-F jumpers 10") to hook up T4 to Rev C audio shield. I confirmed SPI/uSD was working on shield, and when I ran WavFilePlayer it...
  22. Replies
    4,122
    Views
    423,307

    I was using my standalone sketch. But the last...

    I was using my standalone sketch. But the last time i tested your FreqCount lib, they behaved the same. (I don't have the generator wired up at the moment).
  23. Replies
    4,122
    Views
    423,307

    How do you get T3.6 to generate 75 mhz? max PWM...

    How do you get T3.6 to generate 75 mhz? max PWM is F_BUS/2 ?

    ? also your counts are short a digit ? 7499993 is about 7.5 MHz ?

    I also re-ran frequency count tests with the Adafruit clock...
  24. Teensy 4 core files/libs that use timers include...

    Teensy 4 core files/libs that use timers include Tone.cpp, IntervalTimer, pwm.c, FreqCount, IRremote, ...

    I have some proof-of-concept T4 timer sketches at https://github.com/manitou48/teensy4
  25. see...

    see https://forum.pjrc.com/threads/54711-Teensy-4-0-First-Beta-Test?p=193716&viewfull=1#post193716
  26. Replies
    11
    Views
    305

    maybe MQS (AudioOutputMQS) see...

    maybe MQS (AudioOutputMQS) see https://forum.pjrc.com/threads/54711-Teensy-4-0-First-Beta-Test?p=197727&viewfull=1#post197727
    output on T4 pins 10 and 12
  27. Replies
    158
    Views
    7,790

    Just checking ... do you have a battery hooked to...

    Just checking ... do you have a battery hooked to VBAT/GND to keep RTC running on power cycles
  28. Replies
    4,122
    Views
    423,307

    Actually, I was doing single T4 count test, so...

    Actually, I was doing single T4 count test, so pin 8 to pin 9 on same T4. I thought it might have to do with breakout wiring or MCU batch number. Last number etched on T4B2R MCU was CTAA1848H, on...
  29. Replies
    4,122
    Views
    423,307

    Re: T4 frequency count I received two T4's...

    Re: T4 frequency count

    I received two T4's today. I soldered male headers on one and plugged into breadboard. I ran my qtmrcnt sketch with pin 8 PWM jumpered to pin 9. With PWM at 40mhz count...
  30. Replies
    4,122
    Views
    423,307

    T4 pin 9, QTIMER4 chnl 2

    T4 pin 9, QTIMER4 chnl 2
  31. Replies
    4,122
    Views
    423,307

    1.47-beta6 looks good so far. ...

    1.47-beta6 looks good so far. WavFilePlayer/BUILTIN_SDCARD on T4 and T3.5 working.
  32. Re: bug with AudioPlaySdWav and BUILTIN_SDCARD ...

    Re: bug with AudioPlaySdWav and BUILTIN_SDCARD

    FYI, Paul has provided official FIX, get the latest SD lib at https://github.com/PaulStoffregen/SD
  33. Replies
    4,122
    Views
    423,307

    Well done. I installed your latest SD lib and...

    Well done. I installed your latest SD lib and confirmed WavFilePlayer with BUILTIN_SDCARD worked on T4 and T3.5. Also confirmed listfiles example worked. ;) Whew.
  34. Replies
    4,122
    Views
    423,307

    Re: WavFilePlayer and BUILTIN_SDCARD Yeah, a few...

    Re: WavFilePlayer and BUILTIN_SDCARD
    Yeah, a few weeks back I tried to figure out how to get SD lib to do polling again, even just polling on DMA done, but it was above my pay grade.

    Good work on...
  35. There is a known bug with AudioPlaySdWav and...

    There is a known bug with AudioPlaySdWav and BUILTIN_SDCARD as of Teensyduino 1.46. That may be your problem, Here is a hack/fix...
  36. Replies
    4,122
    Views
    423,307

    PWM @75MHz FWIW, the flexpwm pins can generate...

    PWM @75MHz

    FWIW, the flexpwm pins can generate 75MHz PWM, e.g. analogWriteFrequency(8, 75000000) works, but the quadtimer PWM pins won't generate 75MHz, e.g. with analogWriteFrequency(10,...
  37. Replies
    13
    Views
    2,406

    FYI, using an LPTMR ISR to count overflows, I was...

    FYI, using an LPTMR ISR to count overflows, I was able to get T3.2 to count frequencies up to 132.5 MHz. see...
  38. Replies
    4,122
    Views
    423,307

    Revisiting limits on FreqCount, I notice from the...

    Revisiting limits on FreqCount, I notice from the T3* FreqCount lib, the 65MHz max limit is a limit of the 16-bit timer rollover (FreqCount intervaltimer checks for rollover every 1000 us) so max...
  39. NXP has an evaluation 1060/1062 board...

    NXP has an evaluation 1060/1062 board which includes Ethernet (RJ45). The NXP SDK has Ethernet examples based on lwIP and RTOS.

    It is unlikely T4 will support Ethernet because supporting packet...
  40. unless you need the 180mhz or USB host services,...

    unless you need the 180mhz or USB host services, i'd go with the more versatile T3.5
  41. the sparkfun docs say it should run from 3.3 to...

    the sparkfun docs say it should run from 3.3 to 5v. So you need to find a separate 3.3v source (> 250 ma). The 3v3 from the T3.6 is only rated to 250ma. With separate power source, you'll need...
  42. Careful, sparkfun page says to use 5v to Vin,...

    Careful, sparkfun page says to use 5v to Vin, see https://learn.adafruit.com/adafruit-airlift-breakout/arduino
    BUT T3.6 is NOT 5v tolerant. you will damage your T3.6 if you feed it 5v from the...
  43. Replies
    9
    Views
    310

    look at the table in...

    look at the table in https://forum.pjrc.com/threads/54711-Teensy-4-0-First-Beta-Test?p=193716&viewfull=1#post193716
    There is a PWM column. Entries like QTx_n are QuadTimer PWM, others are eFlexPWM....
  44. Replies
    4,122
    Views
    423,307

    I got a Sparkfun uSD breakout...

    I got a Sparkfun uSD breakout so I could put a meter on the SDHC pins. I set T4 pins 34-39 to HIGH and checked the uSD breakout with the meter. All pins were HIGH except CLK ... sigh. So i bravely...
  45. Replies
    2
    Views
    262

    asked and answered....

    asked and answered. https://forum.pjrc.com/threads/57112-Teensy-4-0-Release?p=211702&viewfull=1#post211702
  46. Replies
    158
    Views
    7,790

    for now, you need Teensyduino 1.47-beta5...

    for now, you need Teensyduino 1.47-beta5
    https://forum.pjrc.com/threads/54711-Teensy-4-0-First-Beta-Test?p=193715&viewfull=1#post193715
  47. Replies
    158
    Views
    7,790

    you need the latest Rev C of the audio adaptor...

    you need the latest Rev C of the audio adaptor (has 100 ohm resistor on MCLK). not all of audio lib is working ...

    EDIT: actually,audio adaptor won't work (see post #16 below). it worked with...
  48. Replies
    4,122
    Views
    423,307

    Here's a few more MCU's doing RSAsign ...

    Here's a few more MCU's doing RSAsign

    T4@600 0.085 seconds faster
    T3.6@180 0.474
    T3.5@120 0.910
    T3.2@120 1.223
    ESP32@240 0.516
    M4@120 ...
  49. Replies
    4,122
    Views
    423,307

    BUILTIN_SDCARD on T4B2R no longer working. I...

    BUILTIN_SDCARD on T4B2R no longer working.

    I was testing beta5, and SD example listfiles failed for my BUILTIN_SDCARD on my T4B2R. At first I thought it was beta5, but on another host with beta4,...
  50. Replies
    4,122
    Views
    423,307

    Re: generator frequency correction Thanks. ...

    Re: generator frequency correction

    Thanks. Though not really a T4 issue, the Adafruit generator library has a fractional option for multiplying the 25mhz clock for the PLL. So using...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4