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

Search:

Type: Posts; User: PaulStoffregen

Page 1 of 10 1 2 3 4

Search: Search took 0.14 seconds; generated 35 minute(s) ago.

  1. Does it truly retain the previously written data...

    Does it truly retain the previously written data when you power cycle? Or in other words, as you sure you're not just accessing the ARM CPU's cache?
  2. Replies
    4
    Views
    146

    Added comments to imxrt.h about the clock enable...

    Added comments to imxrt.h about the clock enable registers.

    https://github.com/PaulStoffregen/cores/commit/2e9aa7a34f2e7914767fde52fd1a9c3be7c30dd1
  3. Perhaps your serial code is somehow getting out...

    Perhaps your serial code is somehow getting out of sync with the data?

    From only a quick glance at the code, it seems to just grab 6 bytes and use them without any checking whether they really are...
  4. Maybe change this: ...

    Maybe change this:



    if(!digitalRead(INT_PIN)) {

    to this
  5. Replies
    7
    Views
    88

    Do you have a specific proposal? Yes, it...

    Do you have a specific proposal?




    Yes, it is a bit odd. The Arduino IDE prints that after teensy_size runs. While it could be changed, I'm not eager to put even more patches into the Java...
  6. Replies
    9
    Views
    156

    Whether it's really needed or not, this is still...

    Whether it's really needed or not, this is still pretty awesome... especially the work to characterize with the actual performance with the sensors!

    Any chance you could share a photo of the...
  7. In Arduino, click File > Examples > LittleFS >...

    In Arduino, click File > Examples > LittleFS > Simple_Datalogger > LittleFS_QSPI_Simple_Datalogger

    When you look at the code, check for these lines:



    //LittleFS_QSPIFlash myfs; // Used to...
  8. Replies
    8
    Views
    145

    Look for the _reboot_Teensyduino_() function. In...

    Look for the _reboot_Teensyduino_() function. In the core library folder, pay attention to the folder name so you're looking at the version for Teensy++ 2.0. The implementation is very different on...
  9. Yup, code in msg #10 is bogus. 26311 ...

    Yup, code in msg #10 is bogus.

    26311




    (MMARVALID) Accessed Address: 0x710000FE

    An address beginning with 0x71 (probably) we're dealing custom code or extremely old flash chip code...
  10. PJRC can't supply the MK20 chips normally used...

    PJRC can't supply the MK20 chips normally used for Teensy 3.2 for this project. They're also much larger. Refer to the datasheet for details and don't forget to account for whatever PCB footprint...
  11. Replies
    18
    Views
    251

    Not all mosfets are created equal. Many of them...

    Not all mosfets are created equal. Many of them are meant to be controlled by 10V to 15V signals. Those types tend to work with greatly reduced performance if driven with only 5 volts, but won't...
  12. Or ask on Adafruit's forum (assuming that's...

    Or ask on Adafruit's forum (assuming that's Circuit Python code)?
  13. PJRC tests every Teensy 4.0 using all of the I/O...

    PJRC tests every Teensy 4.0 using all of the I/O pins and these 11 special test points.

    For a visual idea, here are the pogo pins which mate with Teensy 4.0 during the test.

    26301

    Maybe you...
  14. @Badams - As you continue working on this, please...

    @Badams - As you continue working on this, please keep in mind Teensy 4.0 has 11 test points.

    26299

    These 11 points are indicated on the schematic.

    26300
  15. At this very early stage, any plans could at best...

    At this very early stage, any plans could at best be described as "wait and see how this turns out".

    Right now, PJRC's only involvement is limited to providing up to 240 chips (which otherwise...
  16. Quick blind guess, maybe try the other SPI modes...

    Quick blind guess, maybe try the other SPI modes with SPI.beginTransaction().
  17. The Scanner results look good. Must admit, I was...

    The Scanner results look good. Must admit, I was wrong on that idea.

    Here's another long shot... can you connect your voltmeter to GND on the far sides or corners? Because it's just GND on both...
  18. Replies
    36
    Views
    742

    @Subfanatic - what happens if you run the code...

    @Subfanatic - what happens if you run the code from msg #7? That code lacks the large buffer and any ADC use. It is the code I tested.

    I don't know which code Frank ran for msg #31. Maybe it...
  19. Replies
    36
    Views
    742

    Do you think there's anything worthwhile to be...

    Do you think there's anything worthwhile to be learned by trying to reproduce the problem here on a CS42448 chip?

    I do have 2 more bare CS42448 test PCBs, and plenty of parts to build them.... but...
  20. @Frank - Is there really any solid confirmation...

    @Frank - Is there really any solid confirmation all 32 boards really are responding to their own unique address? Did I miss that info on this thread?

    I could be completely wrong, but my hunch is...
  21. Please click File > Examples > Wire > Scanner. ...

    Please click File > Examples > Wire > Scanner. Upload to Teensy, then open the serial monitor to view the results.

    Feel free to copy & paste it here, or share a screenshot, if you're unsure...
  22. The MK66FX1M0VMD18 chip on Teensy 3.6 is much...

    The MK66FX1M0VMD18 chip on Teensy 3.6 is much larger, 13x13 mm. It's also out of stock and (so far) we don't have a clear time frame when more will become available. Even if we do get more soon,...
  23. Replies
    36
    Views
    742

    Do you have any extra 14 pin headers & 14 pin...

    Do you have any extra 14 pin headers & 14 pin sockets? Maybe solder them together and plug them into the main 24 pin sockets, so then you can plug the Teensy 4.1 into *ONLY* the same 28 pins as...
  24. Replies
    21
    Views
    402

    Why can you not hear the answer? The hardware...

    Why can you not hear the answer? The hardware you are using simply can not use an external signal to its timer which is higher than half its clock frequency (16 MHz). No matter how many times you...
  25. Replies
    21
    Views
    402

    The AVR chip you are using simply can not count...

    The AVR chip you are using simply can not count an external signal faster than half its clock frequency. Its clock is 16 MHz. It does not support a faster clock and still give USB communication. ...
  26. Replies
    282
    Views
    9,267

    I have a couple ideas about possible ways to...

    I have a couple ideas about possible ways to detect if the USB host is (very likely) Windows. Will explore after I've merged audio stuff, which is after bootloader stuff I'm doing now, and somewhere...
  27. Replies
    36
    Views
    742

    @Subfanatic - Going to consider this a...

    @Subfanatic - Going to consider this a non-reproducible problem and take it off my list of issues to investigate.

    I'm pretty sure it's some sort of issue with the hardware you've built. If Teensy...
  28. @Moris526 - Any progress? Did the Wire library...

    @Moris526 - Any progress? Did the Wire library Scanner example find all 32 addresses?

    If there's any resolution to this problem, please post a followup here. As far as I know, this thread is the...
  29. Before we go too much farther, I have 2 questions...

    Before we go too much farther, I have 2 questions about the feasibility of this project.

    1: For a 12x12 mm size, even if you have 2 sides each with 144 sq mm surface, how will you fit in the parts...
  30. Replies
    282
    Views
    9,267

    Agreed. Sad as throttling the transmit speed...

    Agreed. Sad as throttling the transmit speed will be, I just don't see any other way to make it work well with Windows.

    The big question is how slow? We just can't know whether the receiver is a...
  31. You probably want to check button.fallingEdge(),...

    You probably want to check button.fallingEdge(), so you only start playing the WAV file once when the button changes from not pressed to pressed.
  32. Replies
    2
    Views
    335

    Just curious if any more info was ever published...

    Just curious if any more info was ever published about this project?

    Did higher res files work?

    Is there any photo or video of how it looked on the display with Teensy?
  33. Final followup on this old thread. The MIDI...

    Final followup on this old thread. The MIDI transmit speed fix was merged and then the ITC setting was changed from 0 to 1 to prevent race conditions in some drivers.
  34. Responding to your duplicate thread...

    Responding to your duplicate thread:




    I don't know the inner working of this Adafruit product, but my understanding of that interrupt pin is any 1 of the 32 pieces can pull it low. Then when...
  35. Same project as your prior thread? ...

    Same project as your prior thread?

    https://forum.pjrc.com/threads/68395-Interrupt-on-teensy-4-0-Adafruits-Neotrellis
  36. Replies
    36
    Views
    742

    Frank, did I send you the CS42448 test board for...

    Frank, did I send you the CS42448 test board for Teensy 4.x?

    I know I built 1 and sent it to someone. I have 2 more blank OSH Park boards here, and one of the older version for Teensy 3.x which...
  37. Replies
    36
    Views
    742

    ILI9341_t3 does not use OCRAM.

    ILI9341_t3 does not use OCRAM.
  38. Replies
    36
    Views
    742

    I repeated the test with a ILI9341 display...

    I repeated the test with a ILI9341 display connected. Exact same code and setup at msg #10.

    26248

    Still can't reproduce the problem. I see no spikes or wrong waveform segments.

    I have no...
  39. The supported commands tables aren't the only...

    The supported commands tables aren't the only difference. Again, it is critically important to actually read the datasheets carefully if you intend to write the code which will access each chip.
    ...
  40. Each chip has a distinct set of commands it...

    Each chip has a distinct set of commands it supports. To really understand, I want to emphasize that you really must read the datasheets carefully.


    For example, here's the PSRAM from page 9 of...
  41. Replies
    36
    Views
    742

    I'm running the program here on a Teensy 4.1...

    I'm running the program here on a Teensy 4.1 plugged into this ADAU1966A test board. So far I have not connected a ILI9341 display, but it definitely is generating the SPI activity. The orange LED...
  42. Replies
    37
    Views
    829

    The other problem you will face once you get the...

    The other problem you will face once you get the buttons working is mechanical contact chatter.

    To reliably detect the high to low transition, use the Bounce library. Click File > Examples >...
  43. Replies
    37
    Views
    829

    Maybe rotate the buttons 90 degrees? Difficult...

    Maybe rotate the buttons 90 degrees?

    Difficult to see in the photo, but those look like the normal buttons which have 4 pins. But it is just 1 switch inside. Two pairs are permanently shorted...
  44. Replies
    37
    Views
    829

    This: 26235 Personally, it doesn't bother me...

    This:
    26235

    Personally, it doesn't bother me if you use the code tags or just copy code right into your message. Either way, I just copy it into an Arduino window and press CTRL-T to reformat...
  45. Replies
    37
    Views
    829

    Maybe those 2 pushbuttons aren't really connected...

    Maybe those 2 pushbuttons aren't really connected to GND? (and you really should use GND, not AGND).

    Some breadboards divide their power rails into 2 segments, where the power holes on the right...
  46. Replies
    36
    Views
    742

    Can you create a small program which reproduces...

    Can you create a small program which reproduces this problem without depending on analog signals from pots and other inputs?

    I would like to investigate and fix this bug (if it is indeed a bug)...
  47. Replies
    6
    Views
    250

    wow, that's amazing!

    wow, that's amazing!
  48. Replies
    36
    Views
    742

    Initial guesses.... This looks like a software...

    Initial guesses....

    This looks like a software problem, maybe a bug, maybe not enough buffers allocated with AudioMemory()

    26229


    The small spikes look like an analog problem, mostly likely...
  49. Figure 14-2 on pages 1016-1017 is the best way to...

    Figure 14-2 on pages 1016-1017 is the best way to see which peripherals can run from which clock sources.

    The original reason to run GPT & PIT from the 24 MHz clock was to keep them consistent and...
  50. The simple answer to most of these "it is...

    The simple answer to most of these "it is possible" questions is: no, not really, unless you resort to bitbanging SPI.




    First, as Defragster mentioned, the power and signals are 3.3 volts. ...
Results 1 to 50 of 498
Page 1 of 10 1 2 3 4