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

  1. Replies
    6
    Views
    63

    Just to make sure you get a clear answer, no,...

    Just to make sure you get a clear answer, no, Teensy's USB port does not work that way.

    For capturing USB packets, you have roughly 3 options.

    1: Run software-only capture on the same PC. This...
  2. Replies
    3
    Views
    47

    I2S is simpler than protocols like SPI & I2C. ...

    I2S is simpler than protocols like SPI & I2C. All the signals are unidirectional. There's no starting and stopping like with normal protocols. The clock just runs continuously and data output pins...
  3. The short answer is no, secure encrypted code...

    The short answer is no, secure encrypted code isn't supported at this time.

    To expand on that just a bit, while you probably could craft an encrypted firmware image (using NXP's tools... we don't...
  4. I’d start with a 2N3904 and 4.7K.

    I’d start with a 2N3904 and 4.7K.
  5. I started exploring how the extra space might be...

    I started exploring how the extra space might be used. Here's a quick concept drawing, with the added parts highlighted.

    17964

    Switching to the larger 12mm chip (necessary for escaping more...
  6. On Windows, the Arduino stuff is located in 3...

    On Windows, the Arduino stuff is located in 3 places.

    The software and everything Teensyduino installs is in the Arduino program folder. By default that's C:\Program Files (x86)\Arduino.
    ...
  7. Replies
    2
    Views
    73

    I'm a little confused. You're talking about...

    I'm a little confused. You're talking about using Juce on Linux. But then you're talking about polyphony on Teensy, which doesn't seem to make much sense if you're doing all the audio synthesis on...
  8. The next things to try is putting some code in...

    The next things to try is putting some code in the earliest startup to turn on the LED. It's quite possible the hardware is starting up, but then crashing for some reason. Issues with VBAT and...
  9. One more quick sanity check is the DC voltage on...

    One more quick sanity check is the DC voltage on the 3 headphone pins, relative to GND on Teensy. If the SGTL5000 chip is running properly, you should see about 1.5V on each pin.

    Here's one...
  10. This really looks like it should work. At least...

    This really looks like it should work. At least in these photos, I can't see anything wrong.

    I can at least answer this:



    Yes, that is correct.

    In fact, the Synthesis > Guitar example...
  11. Replies
    3
    Views
    68

    Hardly anyone uses them anymore, now that LED...

    Hardly anyone uses them anymore, now that LED strips are so cheap.

    Here's a project from 8 years ago, where I used an older version of a Sparfun board.
    ...
  12. Replies
    5
    Views
    86

    Regard the maximum baud rate question... On...

    Regard the maximum baud rate question...

    On Teensy 4.0, I believe it's 6 Mbit/sec. All 7 serial ports are identical hardware on Teensy 4.0.

    On Teensy 3.x, Serial1 & Serial2 are capable of...
  13. Replies
    5
    Views
    86

    For reliable high speed serial (not USB) between...

    For reliable high speed serial (not USB) between boards, the 2 keys to success are RTS/CTS flow control and FIFOs.

    On Teensy 3.6, only Serial1 & Serial2 have FIFOs. All the serial ports on Teensy...
  14. Replies
    1
    Views
    52

    Usually USB inrush is described as the equivalent...

    Usually USB inrush is described as the equivalent capacitor + resistor load. The actual peak current and actual behavior depends heavily on the specifics of the cable used, so the specs are in terms...
  15. I have never used H11L1, so I can't speak from...

    I have never used H11L1, so I can't speak from experience.

    I looked quickly at the On Semiconductor datasheet for this part. It specifically mentions 270 ohms in the Vol spec.

    17944

    One...
  16. Replies
    3
    Views
    58

    Ubuntu recently changed the default ModemManager...

    Ubuntu recently changed the default ModemManager filter policy. Maybe other distros did too? In theory, it's the sort of settings change that's supposed to improve security or something.
    ...
  17. I2S is well defined. The MSB is always 1 clock...

    I2S is well defined. The MSB is always 1 clock cycle after LRCLK changes. Teensy reads the first 16 bits starting there. In stereo I2S which uses ratio 64, Teensy ignores the next 16 bits, which...
  18. Sorry. Like JTAG, the RESET pin is off limits...

    Sorry. Like JTAG, the RESET pin is off limits without a major (1170 delaying) change to the bootloader and programming process.
  19. The GPIO registers in these newer chips do not...

    The GPIO registers in these newer chips do not support 8 or 16 bit access.

    However, having 8 or 16 consecutive bits of a FlexIO peripheral might be useful...
  20. Sharp discontinued the PC900. Many people asked...

    Sharp discontinued the PC900. Many people asked me to update the page to a part which they could actually buy.

    At that time, 6N138 seemed to be the most readily available part, and most likely to...
  21. Oh, opps, looks like this file is for a newer...

    Oh, opps, looks like this file is for a newer version that I never got around to publishing. Sorry, I don't have the file for laser cutting the older base.

    The newer version has a ZIF socket for...
  22. It was made by an Epilog Mini 18...

    It was made by an Epilog Mini 18 laser cutter, using a sheet of ordinary 1/4 inch thick acrylic. I'll attach the file, in both SVG and Corel Draw format. The thin black line is where the laser...
  23. The reason is the large capacitance that's...

    The reason is the large capacitance that's required to pass the lower part of the audio spectrum when the load is the relatively low 32 ohm impedance of headphones.

    These days, many chips which...
  24. Most I2S chips automatically ignore the extra...

    Most I2S chips automatically ignore the extra bits when the ratio is higher. Maybe this chip will do that too?

    Controlling this ratio is difficult. It's not a simple parameter you can just set. ...
  25. Pins to bring out on a hypothetical larger Teensy4

    While we wait for the amazing 1170 chip, I'm considering making another Teensy4 with the same 1062 chip we have on Teensy 4.0, but in the Teensy 3.6 form factor.

    So let's talk in this thread of...
  26. I'm not familiar with "SN65". Is that a CAN...

    I'm not familiar with "SN65". Is that a CAN transceiver chip, maybe SN65HVD230, SN65HVD231, or SN65HVD232?

    How do you observe whether or not Teensy booted successfully?

    I ask because (long...
  27. Replies
    3
    Views
    35

    Serial3 on Teensy 3.2 runs from the slower F_BUS...

    Serial3 on Teensy 3.2 runs from the slower F_BUS clock, which is too slow for WS2812Serial unless you run at 120 MHz.

    Serial1 and Serial2 run from the faster F_CPU clock.
  28. Rest assured, there are 3 CAN ports. Only 1 of...

    Rest assured, there are 3 CAN ports. Only 1 of those 3 supports CAN FD.



    Ah, yes, I see it on page 7. NXP somehow forgot to put "CAN x2" on the list. That is simply a mistake in the...
  29. NXP's reference manual is what you're calling...

    NXP's reference manual is what you're calling "Programming Manual". It covers all the peripheral hardware NXP provides (serial ports, USB, timers, etc), but it has only a few pages summary of the...
  30. As far as I know, Andrew (author of UHS30) is the...

    As far as I know, Andrew (author of UHS30) is the only person in the entire world who has ever made host mode work on Teensy 3.2. He used some pretty substantial hardware hacks to get a workable dev...
  31. Replies
    61
    Views
    1,989

    Maybe you could explain what you have in mind for...

    Maybe you could explain what you have in mind for the RAM, especially if it would require special software support.

    If you're not familiar with the FlexSPI controller (and really, it's so...
  32. Replies
    61
    Views
    1,989

    Why SDRAM? If we add a RAM chip, which is...

    Why SDRAM?

    If we add a RAM chip, which is still a very big "if", one of the lower pin using formats like Hyperbus (12 signals) or QSPI (6 signals) would be much more likely.
  33. Replies
    23
    Views
    249

    I've ordered 1 from Adafruit. It will probably...

    I've ordered 1 from Adafruit. It will probably take about 1 week to arrive, since they can't ship until Tuesday and it has to go from New York to Oregon.
  34. Replies
    12
    Views
    295

    MacOS 10.15 Catalina

    Is anyone using MacOS 10.15 Catalina yet?

    Looks like Apple has finally disallowed the method we've been using to modify a copy of Arduino. We may soon have to provide a complete copy of the IDE...
  35. Replies
    60
    Views
    2,240

    Sticky: These are probably bugs in Arduino's "builder"...

    These are probably bugs in Arduino's "builder" program. Hopefully there's some way to reproduce the bug with one of Arduino's products. It's much easier to report a bug to them if it can happen...
  36. Yes, you're supposed to run this program on the...

    Yes, you're supposed to run this program on the PC side.

    https://github.com/PaulStoffregen/Time/blob/master/examples/Processing/SyncArduinoClock/SyncArduinoClock.pde

    It runs on Processing,...
  37. The test points are indeed shown on the...

    The test points are indeed shown on the schematic.

    17890

    Most of them connect to the chip's many power supply voltages. During testing, a bed-of-nails test fixture measures the voltages at all...
  38. Replies
    17
    Views
    158

    Which version of MacOS are you using?

    Which version of MacOS are you using?
  39. Replies
    4
    Views
    103

    Buying the pre-programmed chip is the simplest...

    Buying the pre-programmed chip is the simplest way.

    https://www.pjrc.com/store/ic_mkl02.html

    But if you really want to use something like the MKII, such programming hardware does exist. ...
  40. Replies
    23
    Views
    249

    Can you confirm whether the problem happens with...

    Can you confirm whether the problem happens with only 1 of these boards, or if 2 or 3 are needed.

    I will order 1, 2 or 3 from Adafruit for testing, depending on your answer.
  41. Replies
    23
    Views
    249

    Which version of Teensyduino are you using? ...

    Which version of Teensyduino are you using?

    Version 1.48 (the latest) fixed a bug in the Wire library. If you're using 1.47 or older, please update to 1.48.
  42. Replies
    23
    Views
    249

    Looking at that library's code...

    Looking at that library's code, I see the begin() function is supposed to print a few lines to the serial monitor.



    // Useful debugging info

    Serial.print("Product ID: 0x");
    ...
  43. Buying chips on Aliexpress is risky. Usually it...

    Buying chips on Aliexpress is risky. Usually it works, but sometimes you will get counterfeits or inferior quality parts. Often the Chinese companies who manufacture these parts on behalf of the...
  44. 74HCT245 is usually the best choice for level...

    74HCT245 is usually the best choice for level shifting 3.3V to 5V.

    Avoid the bidirectional circuits, especially the type using 1 mosfet and 2 resistors. Those are terrible for WS2812 signals.
  45. One last quick thought... what type of capacitor...

    One last quick thought... what type of capacitor are you using right next to the amp chip? If it's a low quality Y5V or Z5U type, try using a X5R or X7R type. I believe the one we use on the PJRC...
  46. Maybe try running the PJRC prop shield from your...

    Maybe try running the PJRC prop shield from your board's power supply?
  47. Replies
    29
    Views
    586

    At this moment I've considering 3 shields... ...

    At this moment I've considering 3 shields...

    1: Speaker amplifier with I2S input, plus NAND serial flash (64 Mbyte) - similar to the prop shield, but meant for Teensy 4.0, and without the motion...
  48. Replies
    12
    Views
    80

    However, on Teensy 4.0 where the CPU runs at 600...

    However, on Teensy 4.0 where the CPU runs at 600 MHz and the processor has a pair of 64 bit paths to tightly coupled memory, perhaps the overhead could possibly be low enough? With overclocking to...
  49. Replies
    12
    Views
    80

    Only if your theory doesn't take the realities of...

    Only if your theory doesn't take the realities of interrupt overhead into account.

    The ARM processor has to flush and refill its 3 stage pipeline, push several registers onto the stack, and do...
  50. Replies
    61
    Views
    1,989

    Best to start a separate thread for each specific...

    Best to start a separate thread for each specific shield, or group of related shields (like rugged vs screw terminals). Mixing shield requests into this thread means your feedback on shields is...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4