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.01 seconds.

  1. Replies
    49
    Views
    12,170

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

    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?
  3. 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...
  4. Replies
    17
    Views
    247

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

    can you post your "sketch of death" that is running on your T3.6?
  5. 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...
  6. Replies
    3,337
    Views
    358,528

    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: ...
  7. 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
  8. Replies
    3,337
    Views
    358,528

    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.
  9. Replies
    3,337
    Views
    358,528

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

    sure.

    "random words to get around minimum reply threshold"
  10. Replies
    3,337
    Views
    358,528

    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...
  11. Replies
    3,337
    Views
    358,528

    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...
  12. Replies
    3,337
    Views
    358,528

    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...
  13. Replies
    3,337
    Views
    358,528

    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...
  14. Replies
    3,337
    Views
    358,528

    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...
  15. Replies
    3,337
    Views
    358,528

    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...
  16. 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
    ...
  17. Replies
    3,337
    Views
    358,528

    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();
  18. Replies
    3,337
    Views
    358,528

    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...
  19. Replies
    3,337
    Views
    358,528

    Re: T4 EEPROM FWIW, i did a few more EEPROM...

    Re: T4 EEPROM
    FWIW, i did a few more EEPROM tests on both 1052 and 1062. I confirmed that if flash sector is filled, core properly preserves current data bytes and reflashes sector and restores...
  20. Replies
    3,337
    Views
    358,528

    Thanks! looks good.

    Thanks! looks good.
  21. Replies
    3,337
    Views
    358,528

    I also had an EEPROM test sketch that made NO use...

    I also had an EEPROM test sketch that made NO use of Serial -- it incremented EERPOM byte 0 every 5 seconds, and flashed the LED the number of times determined by the read of EEPROM byte 0. It also...
  22. Replies
    3,337
    Views
    358,528

    It may not be helpful or relevant but NXP SDK has...

    It may not be helpful or relevant but NXP SDK has bootloader source and flexspi flash example.

    middleware/mcu-boot/tools/src/bootloader
    middleware/mcu-boot/src/bootloader
    ...
  23. Replies
    3,337
    Views
    358,528

    this is way above my pay grade, but status =...

    this is way above my pay grade, but status = *(uint8_t *)&FLEXSPI_RFDR0; seems a strange "status" register, since manual says RFDR0 is 32-bits of data from RX FIFO ???

    I have not seen a hang in my...
  24. Replies
    3,337
    Views
    358,528

    Re: NXPMotionSense and EEPROM :confused: OK,...

    Re: NXPMotionSense and EEPROM :confused:

    OK, here is the simplest example. It doesn't have anything to do with CalibrateSensors and MotionCal.

    #include <EEPROM.h>

    void setup() {
    ...
  25. Replies
    3,337
    Views
    358,528

    Yes, I've been running with 1.8.8/1.47 beta2 and...

    Yes, I've been running with 1.8.8/1.47 beta2 and latest github cores. propshield with T3.2 and T3.6 are good with MotionCal on windows and macos, but i get no green check mark or EEPROM update with...
  26. Replies
    3,337
    Views
    358,528

    I did pick up new MotionCal executables...

    I did pick up new MotionCal executables yesterday, and those provided the green check when I tested prop shield with T3.2 or T3.6. But T4B2 when sending calibration will do a fast flash of the LED...
  27. Replies
    3,337
    Views
    358,528

    Re: EEPROM and NXPMotionSense I compiled and...

    Re: EEPROM and NXPMotionSense

    I compiled and ran example CalibrateSensors with propshield and T4B2 and I2C sensor data is properly streaming to /dev/ttyACM0. I then ran MotionCal visualizer...
  28. Replies
    3,337
    Views
    358,528

    Ran my old Arduino EEPROM sketch (EEPROM.write()...

    Ran my old Arduino EEPROM sketch (EEPROM.write() and EEPROM.read() of 100 bytes. Write worked. cycled power, read was good.
    100-bytes write: T3.6 5984 us, T4B2 write 1506 us
    100-bytes read:...
  29. Replies
    3,337
    Views
    358,528

    Your DOTSTARs don't work on T3.5 with production...

    Your DOTSTARs don't work on T3.5 with production FastLED lib? Not sure i can help.

    Sanity check:
    for my T4 modified FastLED lib, you need to edit boards.txt so that F_CPU will be set to 600 mhz....
  30. Replies
    3,337
    Views
    358,528

    With the delay(1) (maybe a shorter microsecond...

    With the delay(1) (maybe a shorter microsecond delay will work?), the Wire adaptation (attached) of Kris Winer's propshield sketch works on T4B2, exercising all the MPU sensors. We'll need EEPROM...
  31. Replies
    3,337
    Views
    358,528

    it worked if i added a delay(1) in readByte()...

    it worked if i added a delay(1) in readByte() after Wire.endTransmission(). maybe T4 is too fast
  32. Replies
    3,337
    Views
    358,528

    i think T4 wire lib is handling repeated start...

    i think T4 wire lib is handling repeated start (using Wire.endTransmission(false); ) since sensor is working with sparkfun lib. I added a note about using a Wire-lib port of Kris Winer's sketch in...
  33. Replies
    3,337
    Views
    358,528

    MPL3115A2 With my propshield, I first used...

    MPL3115A2

    With my propshield, I first used Sparkfun lib and MPL3115A2 example -- worked on T3.2, T3.6 and T4B2 (3v3 GND SDA SCL and Wire lib). This sensor uses I2C repeated start.

    I tried...
  34. Replies
    3,337
    Views
    358,528

    Editing play_sd_wav.h and play_sd_wav.cpp I...

    Editing play_sd_wav.h and play_sd_wav.cpp
    I aligned buffer and commented out __disable_irq() before SD.open(), and WavFilePlayer seems to be playing on T4B2 (observed with scope), fix based on...
  35. Thanks for the bug fixing. This likely will...

    Thanks for the bug fixing. This likely will solve problem with WavFilePlayer introduced by Teensyduino 1.46 and discussed in several recent threads....
  36. Replies
    11
    Views
    324

    maybe this recent post fixes the problem ?...

    maybe this recent post fixes the problem ? https://forum.pjrc.com/threads/56355-AudioPlaySdWav-DMA-timing-and-buffer-misalignment-issues
    Further testing required ...
  37. Replies
    16
    Views
    1,817

    Sticky: Maybe this recent post fixes the problem?...

    Maybe this recent post fixes the problem? https://forum.pjrc.com/threads/56355-AudioPlaySdWav-DMA-timing-and-buffer-misalignment-issues
    further study required ...
  38. Replies
    16
    Views
    1,817

    Sticky: I suspect changes to SD lib in 1.46 broke the...

    I suspect changes to SD lib in 1.46 broke the audio example WavFilePlayer for BUILTIN_SDCARD on T3.5 and T3.6 (and T4B2). see...
  39. Replies
    3,337
    Views
    358,528

    With a pin interrupt ISR, you'll be limited to...

    With a pin interrupt ISR, you'll be limited to about 3 mhz as you noted. The external clocking of GPT is good up to 1/4 ipg_clk (150mhz/4 == 37.5 mhz)
  40. try analogWriteDAC0(value) it is what is...

    try analogWriteDAC0(value) it is what is called by analogWrite() for DACs

    hardware/teensy/avr/cores/teensy3/analog.c
  41. Replies
    4
    Views
    165

    maybe start with...

    maybe start with https://github.com/PaulStoffregen/FreqMeasureMulti
  42. Replies
    3,337
    Views
    358,528

    I think the gpt_count sketch works on both 1052...

    I think the gpt_count sketch works on both 1052 and 1062 since pin 25 is the same (Serial6 Rx on breakout board)
  43. I modified you sketch just a bit. It works for...

    I modified you sketch just a bit. It works for optimization Smallest or Fast but misbehaves for Faster and Fastest ???

    #include <string.h>

    void rcv_msg(char *rcv_msg) {

    char...
  44. add while(!Serial); after Serial.begin(115200);

    add while(!Serial); after Serial.begin(115200);
  45. Replies
    3,337
    Views
    358,528

    I did some experimenting with FastLED on T4 but...

    I did some experimenting with FastLED on T4 but there is work to be done see
    https://forum.pjrc.com/threads/54711-Teensy-4-0-First-Beta-Test?p=202885&viewfull=1#post202885
  46. Replies
    14
    Views
    330

    There also a chance the uSD card is misbehaving. ...

    There also a chance the uSD card is misbehaving. Do you have another uSD card that you can try?
  47. The T3.6 is not 5v tolerant so be sure to power...

    The T3.6 is not 5v tolerant so be sure to power the sensor board with 3.3v or you may damage the T3.6. Both the Wire and i2c_t3 libs have an I2C scanner example sketch that you can run to see if the...
  48. The Adafruit library and Teensy's Wire lib should...

    The Adafruit library and Teensy's Wire lib should work -- did you even bother to try and run the lib's example? I just confirmed it compiles on T3.6. I don't have the device so I can't test...
  49. Replies
    11
    Views
    324

    Were you able to confirm hang with WavFilePlayer...

    Were you able to confirm hang with WavFilePlayer for BUILTIN_SDCARD?
  50. Replies
    14
    Views
    330

    That should be the SD lib installed with...

    That should be the SD lib installed with Teensyduino. make sure you don't have a local copy of an older SD lib or audio lib....
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4