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
    3,788
    Views
    390,719

    Right. it is such an intuitive architecture :(

    Right. it is such an intuitive architecture :(
  2. Replies
    3,788
    Views
    390,719

    i edited my previous post ....you need to set low...

    i edited my previous post ....you need to set low bit in IOMUXC_GPT2_IPP_IND_CLKIN_SELECT_INPUT (ref pg 1000)
  3. Replies
    3,788
    Views
    390,719

    I never tried it on 1062 cause my breakout board...

    I never tried it on 1062 cause my breakout board doesn't have pogo pin on pin 25. It should work with pin 25 just like it does with 1050.

    i've not tried GPT2 -- GPT2 CLK pin is not listed in...
  4. Replies
    3,788
    Views
    390,719

    Re: neopixel I again hooked up 8-LED neopixel...

    Re: neopixel
    I again hooked up 8-LED neopixel stick to T4B2R (3v3, gnd, pin 1) and ran simple example (with pin 1) from hardware/teensy/avr/libraries/Adafruit_NeoPixel, and it still works for me....
  5. Replies
    3,788
    Views
    390,719

    Re: QTIMER in my testing, i think the compare...

    Re: QTIMER

    in my testing, i think the compare values loaded into regs need to be n-1

    TMR3_COMP10 = 10000 -1; // 6.7nS per clock = 66.7uS for 10,000 clocks on each half cycle
    ...
  6. FWIW I have some 434MHz adafruit breakouts that...

    FWIW I have some 434MHz adafruit breakouts that i have run with T3.2. I hooked one up to T3.6 and confirmed that it works. I also ran your sketch (with 434 frequency) and confirmed your sketch on...
  7. I have an Adafruit ATWINC1500 that I used on T3.2...

    I have an Adafruit ATWINC1500 that I used on T3.2 back in 2016. Arduino WiFi101 library is the correct library to use. I got out my ATWINC1500-MR210PB (firmware 19.4.4) today and wired it up to...
  8. Replies
    3,788
    Views
    390,719

    Note, i added some edits to my post #3685 that...

    Note, i added some edits to my post #3685 that suggests for simple compare interrupts, OCR1 differs from OCR2 and OCR3 (in restart mode, FRR = 0) ref 51.5.1.1
  9. Replies
    3,788
    Views
    390,719

    can you provide one or more sketches that...

    can you provide one or more sketches that demonstrate the strange GPT2 behavior? Does the "compare 3" interrupt fire, independent of toggling the compare3 output pin? The core...
  10. Replies
    3,788
    Views
    390,719

    maybe use T4's MQS pin(s) with capacitor and...

    maybe use T4's MQS pin(s) with capacitor and speaker https://forum.pjrc.com/threads/54711-Teensy-4-0-First-Beta-Test?p=197727&viewfull=1#post197727

    AudioOutputMQS audioOutput;...
  11. Replies
    3,788
    Views
    390,719

    maybe T4 is locked up with run away interrupts,...

    maybe T4 is locked up with run away interrupts, try holding program button for 15 s to erase flash
  12. Replies
    3,788
    Views
    390,719

    T4 ISR's are finicky, are you using asm volatile...

    T4 ISR's are finicky, are you using asm volatile ("dsb") in your ISR? (or spinning til flag is cleared)

    https://github.com/manitou48/teensy4/blob/master/gpt_isr.ino
  13. Replies
    3,788
    Views
    390,719

    ? uSDFS SPI problems with uSD on audio shield ...

    ? uSDFS SPI problems with uSD on audio shield T4B2R

    I fetched the latest uSDFS and MSC from github and am running 1.8.8 1.47-beta4 on T4B2R. I modified uSDFS example to just do directory...
  14. Replies
    3,788
    Views
    390,719

    Not. for T4B2 breakout i have ...

    Not. for T4B2 breakout i have

    T4 audio header silk screen
    13 to SCK (14)
    12 MISO (12)
    10 CS (10)
    11 ...
  15. Replies
    3,788
    Views
    390,719

    The NXP SDK has examples using the GPT when...

    The NXP SDK has examples using the GPT when clocked from Peripheral clock @150mhz. Of course, SDK core structure is much different from Teensy core. The SDK also has a "clock configuration" gui that...
  16. If you're not seeing 3v3 on SDA, then you need to...

    If you're not seeing 3v3 on SDA, then you need to check your wiring/soldering. Or maybe one of your I2C devices is misbehaving. Can you disconnect each I2C device to identify the faulty device?
    ...
  17. Replies
    4
    Views
    155

    My first reply was faulty, I thought you were...

    My first reply was faulty, I thought you were trying to use AudioInputAnalogStereo() with two pins -- which required one pin on ADC0 and the other on ADC1. Your question was about just one pin...
  18. Replies
    3,788
    Views
    390,719

    I'm pretty sure GPT capture works on T4 (1062),...

    I'm pretty sure GPT capture works on T4 (1062), see https://forum.pjrc.com/threads/54711-Teensy-4-0-First-Beta-Test?p=204630&viewfull=1#post204630
    GPT2 capture 1 GPIO_AD_B1_03 pin 15 Serial3 Rx...
  19. Wow, that's a lot of components! Do you have a...

    Wow, that's a lot of components! Do you have a scope? Observing I2C SCL and SDA in action might be enlightening.

    you also might try the i2c_t3 lib in place of Wire lib. It has a Wire.resetBus()...
  20. ADXL345 data sheet says max SPI is 5mhz. you...

    ADXL345 data sheet says max SPI is 5mhz. you might modify library to use slower SPI clock.

    ADXL345::ADXL345(int CS) {
    status = ADXL345_OK;
    error_code = ADXL345_NO_ERROR;

    gains[0] =...
  21. Replies
    3,788
    Views
    390,719

    The T4 crypto accel (DCP) is not the same as...

    The T4 crypto accel (DCP) is not the same as T3.5/T3.6 (MMCAU). Searching the first few posts of the this thread, post #4 i think, mentions crypto accel with some preliminary results at...
  22. Replies
    4
    Views
    155

    A little above my pay grade, but audio lib wants...

    A little above my pay grade, but audio lib wants to have an ADC pin on ADC0 and the other on ADC1 (A2 and A3 can satisfy that, but i don't think A16 and A17 are on distinct ADC controllers) See...
  23. Re: pullups with device powered as described...

    Re: pullups
    with device powered as described in post #6, what voltage do you read on SDA and SCL?

    A similar device, discussed at...
  24. Replies
    3
    Views
    94

    you also need to connect T3.2 DAC pin to audioIn...

    you also need to connect T3.2 DAC pin to audioIn on the shield

    here is a sketch to play a sine wave through DAC to prop shield (you need to start up serial monitor for it to work)

    // prop...
  25. Replies
    3,788
    Views
    390,719

    you might read further in that thread about...

    you might read further in that thread about adding asm volatile ("dsb") ; to ISR.
  26. Replies
    3,788
    Views
    390,719

    SPISettings strangeness?? Here is a little SPI...

    SPISettings strangeness??

    Here is a little SPI performance sketch that behaves differently if a SPISettings variable is used in SPI.beginTransaction() vs embedded settings.

    // t4 spi
    // bus...
  27. Replies
    3,788
    Views
    390,719

    visit...

    visit https://forum.pjrc.com/threads/54711-Teensy-4-0-First-Beta-Test?p=195605&viewfull=1#post195605
  28. Replies
    2
    Views
    202

    You need to remove the heavy lifting out of the...

    You need to remove the heavy lifting out of the ISR. With only one SPI device, you can just do SPI.beginTransaction() once. You can also use digitalWriteFast() to save a few nanoseconds. Using...
  29. Replies
    17
    Views
    689

    maybe your non-playing WAV files are not...

    maybe your non-playing WAV files are not formatted correctly. here are parameters for Paul's WAV files
    SDTEST1.WAV: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, stereo 44100 Hz
    ...
  30. FWIW, i ran your sketch adding a sine-wave on the...

    FWIW, i ran your sketch adding a sine-wave on the T3.2 DAC (A14) as my 1khz input jumpered to A3 and hooked to scope. I didn't have any FastLEDs connected. sine wave on scope had no noise. (maybe...
  31. You could use the DAC (A12) jumpered to audioIn...

    You could use the DAC (A12) jumpered to audioIn on the propshield with audio amp pin enabled to drive an 8 ohm speaker connected to shield. Here's a link on 8-bit WAV for LC ...
  32. Replies
    3,788
    Views
    390,719

    One of my GPS requries 5v, i'd just use a 2nd USB...

    One of my GPS requries 5v, i'd just use a 2nd USB to T3.2 and use its Vin to power the GPS, and jumper the PPS pin to one of the Serialx male pins on the T4 breakout.
  33. Replies
    49
    Views
    13,013

    Discussion reminds of ye old "rugged arduino" ...

    Discussion reminds of ye old "rugged arduino" https://www.rugged-circuits.com/10-ways-to-destroy-an-arduino

    Or use littlebits to help you properly connect components. :D
  34. Replies
    3
    Views
    157

    please provide the sketch you are running and...

    please provide the sketch you are running and maybe a photo of your setup and which encoder are you using? (vendor/model) Do you have soldered headers?
  35. Here is a T3.2 sketch where you can define...

    Here is a T3.2 sketch where you can define FASTISR to have the core transfer to your ISR on a pin interrupt. you are then responsible for figuring out which pin in PORTC interrupted and clearing the...
  36. Replies
    34
    Views
    1,118

    can you post your "sketch of death" that is...

    can you post your "sketch of death" that is running on your T3.6?
  37. The sparkfun library is based on Wire lib, but...

    The sparkfun library is based on Wire lib, but you have also included i2c_t3.h library which is not compatible with Wire.h -- you can't use them both in one sketch. For example, the begin() for each...
  38. Replies
    3,788
    Views
    390,719

    I have examples using internal DAC to do ADC...

    I have examples using internal DAC to do ADC compare, and using ADC_ETC to do timed ADC reads, and free-running ADC with double-buffered DMA, BUT i never found a way to do what audio lib needs: ...
  39. Did you buy your Teensy 2 from PJRC or an...

    Did you buy your Teensy 2 from PJRC or an approved Teensy distributor? Often counterfeits are unreliable.

    https://forum.pjrc.com/threads/23601-Official-Distributors
  40. Replies
    3,788
    Views
    390,719

    Sorry you misunderstood my poor attempt at humor....

    Sorry you misunderstood my poor attempt at humor. I had actually tried to reply to your post with just "sure", and the forum gui (vBulletin) would not accept such a short reply. go figure.
  41. Replies
    3,788
    Views
    390,719

    sure. "random words to get around minimum...

    sure.

    "random words to get around minimum reply threshold"
  42. Replies
    3,788
    Views
    390,719

    Should i be able to see the white wire without...

    Should i be able to see the white wire without pulling MCU out of breakout board? I haven't ever pulled MCU out, fearing i'll not get pogo pins aligned again ?? any how, the loader log seems to...
  43. Replies
    3,788
    Views
    390,719

    OK, beta3 really did update my bootloader. Help...

    OK, beta3 really did update my bootloader. Help verbose says: Board is: Teensy 4-Beta2 (IMXRT1062), version 0.04

    So i built WavFilePlayer on 1.47-beta2 system, and now the beta2 version of...
  44. Replies
    3,788
    Views
    390,719

    Re: broken WavFilePlayer I'll check msg #6...

    Re: broken WavFilePlayer


    I'll check msg #6 stuff, and add if not there. The WavFilePlayer problem is also popping up in a lot of threads for T3.5 and T3.6 BUILTIN_SDCARD. Started failing with...
  45. Replies
    3,788
    Views
    390,719

    in audio lib: play_sd_wav.h: change buffer...

    in audio lib:
    play_sd_wav.h: change buffer declaration to uint8_t buffer[512] __attribute__((aligned(0x4)));

    in play_sd_wav.cpp: comment out __disable_irq(); before SD.open();

    The SD lib was...
  46. Replies
    3,788
    Views
    390,719

    Well, BUILTIN_SDCARD WavFilePlayer (with audio...

    Well, BUILTIN_SDCARD WavFilePlayer (with audio lib hacks) is working now on my T4B2 with beta3?? I reseated audio board and used another USB port on linux box ... I can't see how that changed...
  47. Replies
    3,788
    Views
    390,719

    With beta3, i had to re-apply hack to audio lib...

    With beta3, i had to re-apply hack to audio lib play_sd_wav.h and .cpp to fix BUILTIN_SDCARD WavFilePlayer bug in T4, T3.6, T3.5, see...
  48. This is likely a BUILTIN_SDCARD problem with...

    This is likely a BUILTIN_SDCARD problem with Teensyduino 1.46, discussed several times on this forum, see
    ...
  49. Replies
    3,788
    Views
    390,719

    Yep, RTC is set to correct time and is ticking ...

    Yep, RTC is set to correct time and is ticking ;)

    // T4 RTC 32khz crystal
    #include <time.h>

    void setup() {
    }

    void loop() {
    time_t tt = rtc_get();
  50. Replies
    3,788
    Views
    390,719

    Yes, my disjointed CalibrateSensors and...

    Yes, my disjointed CalibrateSensors and MotionCal (on another machine) worked after Paul's eeprom.c fix.

    I just installed 1.47-beta3 on T4B2 and it said bootloader updated. I actually thought i...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4