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. Replies
    4,110
    Views
    416,530

    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...
  2. Replies
    4,110
    Views
    416,530

    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
    ...
  3. Replies
    3
    Views
    111

    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...
  4. Replies
    10
    Views
    108

    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 ...
  5. Replies
    4,110
    Views
    416,530

    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 ....
  6. Replies
    4,110
    Views
    416,530

    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...
  7. Replies
    11
    Views
    294

    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"
  8. Replies
    4,110
    Views
    416,530

    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 ;)
  9. Replies
    4,110
    Views
    416,530

    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...
  10. Replies
    4,110
    Views
    416,530

    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).
  11. Replies
    4,110
    Views
    416,530

    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...
  12. 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
  13. see...

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

    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
  15. Replies
    153
    Views
    7,119

    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
  16. Replies
    4,110
    Views
    416,530

    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...
  17. Replies
    4,110
    Views
    416,530

    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...
  18. Replies
    4,110
    Views
    416,530

    T4 pin 9, QTIMER4 chnl 2

    T4 pin 9, QTIMER4 chnl 2
  19. Replies
    4,110
    Views
    416,530

    1.47-beta6 looks good so far. ...

    1.47-beta6 looks good so far. WavFilePlayer/BUILTIN_SDCARD on T4 and T3.5 working.
  20. 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
  21. Replies
    4,110
    Views
    416,530

    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.
  22. Replies
    4,110
    Views
    416,530

    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...
  23. 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...
  24. Replies
    4,110
    Views
    416,530

    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,...
  25. Replies
    13
    Views
    2,400

    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...
  26. Replies
    4,110
    Views
    416,530

    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...
  27. 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...
  28. 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
  29. 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...
  30. 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...
  31. Replies
    9
    Views
    299

    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....
  32. Replies
    4,110
    Views
    416,530

    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...
  33. Replies
    2
    Views
    252

    asked and answered....

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

    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
  35. Replies
    153
    Views
    7,119

    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...
  36. Replies
    4,110
    Views
    416,530

    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 ...
  37. Replies
    4,110
    Views
    416,530

    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,...
  38. Replies
    4,110
    Views
    416,530

    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...
  39. Replies
    4,110
    Views
    416,530

    Re: FreqCount on T4 with quad timer I too did...

    Re: FreqCount on T4 with quad timer

    I too did some testing with Adafruit clock generator (Si5351A). For my T4B2R, the frequency count is accurate to about 65 mhz as measured against the T4's...
  40. Replies
    7
    Views
    130

    You need to find the teensy audio lib that was...

    You need to find the teensy audio lib that was installed on your system as part of Teensyduino (hardware/teensy/avr/libraries/Audio/), and edit
    play_sd_wav.h and change buffer to uint8_t...
  41. Replies
    4,110
    Views
    416,530

    FWIW, NXP SDK examples OFTEN disabled DCACHE with...

    FWIW, NXP SDK examples OFTEN disabled DCACHE with SCB_DisableDCache(). See earlier thread
    https://forum.pjrc.com/threads/54711-Teensy-4-0-First-Beta-Test?p=197430&viewfull=1#post197430
  42. Reference voltage is set for the ADC controller,...

    Reference voltage is set for the ADC controller, not just the pin. A20 and A22 are both on ADC1. You need to pick an analog pin that is on ADC0, see...
  43. Replies
    7
    Views
    130

    see post #3, though if your sine wave isn't...

    see post #3, though if your sine wave isn't making sound, then you have other problems ...
  44. Replies
    7
    Views
    130

    There's a known problem with WavFilePlayer...

    There's a known problem with WavFilePlayer (AudioPlaySdWav) and BUILTIN_SDCARD since Teensyduino 1.46, see...
  45. teensy udev rules were updated in the last few...

    teensy udev rules were updated in the last few months, make sure you have installed the latest 49-teensy.rules...
  46. Replies
    4,110
    Views
    416,530

    I don't think you want to make such a correction...

    I don't think you want to make such a correction in the library. The small error in counts is not due to a fixed bias but in frequency inaccuracies of both the Adafruit generator's 25MHz crystal (...
  47. Replies
    4,110
    Views
    416,530

    Using pin 9 (QT4_2 cascaded with QT4_3) I don't...

    Using pin 9 (QT4_2 cascaded with QT4_3) I don't think there are any T4 pins unusable, at least, I don't see any pin in post #3 that uses QT4_3. When we were using pin 19 (QT3), the cascaded channel...
  48. Replies
    4,110
    Views
    416,530

    The pin table in post #3 has a PWM column. The...

    The pin table in post #3 has a PWM column. The entries of the form PWMx... are eflexpwm. Entries of form QTx... are quad timer PWM. A couple of pins can be either based on ALT choice in MUX...
  49. Replies
    4,110
    Views
    416,530

    I'm confused. "scope on pin 2" -- pin 2 of what?...

    I'm confused. "scope on pin 2" -- pin 2 of what? T4? T4 pin 2 uses eflexpwm, but on my scope i see 37.3mhz (jitter 37.9) with 40mhz on pin 8 (eflexpwm).
    "hooked it up to the T4" -- what is "it"? ...
  50. Replies
    4,110
    Views
    416,530

    I couldn't figure out to use XBAR and ADC_ETC and...

    I couldn't figure out to use XBAR and ADC_ETC and DMA, to get timer-controlled (PIT) ADC with DMA double buffering for audio analog input, see...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4