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

  1. The most precise info about each of these is the...

    The most precise info about each of these is the MotionCal source code.

    https://github.com/PaulStoffregen/MotionCal

    Look at quality.c.

    As you move the sensor, the 3D visualization should...
  2. I believe FlexSPI is master only. Sounds like...

    I believe FlexSPI is master only. Sounds like this use has the external device sending a clock to Teensy, so slave mode would be needed to receive its clock + data. FlexSPI is designed for memory...
  3. You could dig into the attachInterrupt() code and...

    You could dig into the attachInterrupt() code and copy parts of it, instead using attachInterruptVector() for the whole port. In your function you'll need to clear the interrupt status, as that code...
  4. I haven't tried it in device mode, but in host...

    I haven't tried it in device mode, but in host mode the PORTSC register PFSC bit forces 12 Mbit speed.

    https://github.com/PaulStoffregen/USBHost_t36/blob/master/ehci.cpp#L262
  5. Replies
    2
    Views
    41

    Have you used this library? If not, definitely...

    Have you used this library? If not, definitely worth a look.

    https://luni64.github.io/TeensyStep/
  6. NXP's specs say IPG clock is 150 MHz max. Like...

    NXP's specs say IPG clock is 150 MHz max. Like F_BUS on Teensy 3.x, most of the peripherals can probably overclock quite a lot. But faster than 150 MHz is risking trouble since it's over the spec....
  7. We should probably configure the USB PHY to only...

    We should probably configure the USB PHY to only work at 12 Mbit speed when 24 MHz is configured.

    Really, it's pretty amazing it works at all. I believe NXP has a minimum speed spec for USB to...
  8. Didn't you just say using Tools > USB Type set to...

    Didn't you just say using Tools > USB Type set to MIDI (single port, without other stuff) works fine?

    But to answer your question, yes, there is a way. That way involves editing usb_desc.h. Read...
  9. Replies
    3
    Views
    81

    Also not envisioning the uses, but really...

    Also not envisioning the uses, but really intrigued to see what you do with it. :)
  10. First, Teensy's MIDIx4 definitely is class...

    First, Teensy's MIDIx4 definitely is class compliant. But 4 ports is pretty far from the most common case. Not all products that claim to support MIDI devices fully support the many ways things can...
  11. Replies
    3
    Views
    143

    That part is this diode. 18876 If the other...

    That part is this diode.

    18876

    If the other diode and nearby parts are still ok, maybe try adding a coin cell or an external 3.3V power supply to VBAT. This diode is only needed for the chip...
  12. If using the "Quick Reply" editor, click the "Go...

    If using the "Quick Reply" editor, click the "Go Advanced" button. The advanced editor lets you attach PDF and other files to your message.
  13. Must admit, I'm stumped too. We do test every...

    Must admit, I'm stumped too. We do test every audio shield here, which does do a test on both its ADC and DAC sections. How it could create 1.6V but not work is a mystery to me.

    I've asked Robin...
  14. Replies
    1
    Views
    30

    There is already a Mouse + Keyboard + Joystick...

    There is already a Mouse + Keyboard + Joystick option. Maybe just use that?

    Many people have created custom descriptors, which have been discussed many times on this forum. Maybe you can find...
  15. It really depends on what you mean by "possible"....

    It really depends on what you mean by "possible".

    If using only the USB code we publish for Teensy, doing everything from the comfort of simple Arduino programming, then no, not possible. The...
  16. Replies
    8
    Views
    433

    No, the main USB connector is only supported as...

    No, the main USB connector is only supported as USB device.

    For USB host on Teensy 4.0, you need to access the bottom side pads. Details here:
    ...
  17. MC3486 should also work. It requires 85 mA...

    MC3486 should also work. It requires 85 mA current, almost as much as Teensy 4.0 running at 600 MHz, so if you're running the whole thing on USB power make sure you're plugged into a PC or powered...
  18. Very little has happened on this. A very long...

    Very little has happened on this. A very long list of features needed on Teensy 4.0 has taken precedence. If you look at the pretty incredible number of changes in 1.48 and 1.49, it's pretty clear...
  19. Is this Linux? ModemManager tends to do this...

    Is this Linux?

    ModemManager tends to do this on Linux. Ubuntu (and maybe others) changed ModemManager's default filter policy months ago, exposing a bug where it no longer respected the udev...
  20. The serial code does use interrupts and does...

    The serial code does use interrupts and does leverage the FIFOs, on the ports which have them.

    Writing to serial does block if you write more than will fit into the transmit buffer. That's why...
  21. None of this will happen on Teensy 4.1. It's...

    None of this will happen on Teensy 4.1. It's already far too late to consider these major changes.

    There also just isn't PCB real estate for most of this. The extra space we're getting is...
  22. Replies
    58
    Views
    4,509

    I may consider a way for future bootloaders to...

    I may consider a way for future bootloaders to preserve the filesystem portion of Circuit Python. But hacking the bootloader is a very serious matter, as there is a very real risk of bricked boards...
  23. Teensy 4.1, like Teensy 4.0, will only use 3.3V...

    Teensy 4.1, like Teensy 4.0, will only use 3.3V I/O. I only looked quickly at your site, but got the impression all these parts need 1.8V signals. Are there any 3.3V versions?

    Edit: tried to...
  24. Oh, that's bad. Very bad. Arduino puts stuff...

    Oh, that's bad. Very bad.

    Arduino puts stuff in 3 locations, software, preferences, and sketchbook. These 3 should *never* overlap. Things fail in very confusing ways if they do, which is why...
  25. You need special hardware to correctly receive...

    You need special hardware to correctly receive those differential signals. Software alone can't give you the noise rejection your want.

    While it might be possible to use Teensy's analog...
  26. If 2 or more transmit at the same time, or...

    If 2 or more transmit at the same time, or similar enough time that any part of their messages overlap, all devices will receive corrupted data (ones altered to zeros). Even though each transmitter...
  27. Yup, that's right, but steps 4 & 5 are optional. ...

    Yup, that's right, but steps 4 & 5 are optional. You can just run the copy of Arduino from the folder where you extracted it, without the installation to the desktop system.

    Hopefully this all...
  28. Replies
    25
    Views
    4,103

    People don't pay for this software, they buy...

    People don't pay for this software, they buy Teensy boards. So my time is split between making hardware and writing software. For the last 2 years, nearly all my engineering time had gone into...
  29. The USB buffers grew in 1.49 and moved to OCRAM,...

    The USB buffers grew in 1.49 and moved to OCRAM, so they're not burning up precious high-speed DTCM.

    If you run the USB lines/sec benchmark, you'll see 1.49 is much faster (and again, pushing the...
  30. In Arduino, click Help > About (Windows & Linux),...

    In Arduino, click Help > About (Windows & Linux), or Arduino > About (Macintosh) to see the version.

    At runtime:



    void setup() {
    while (!Serial) ; // wait for serial monitor
    ...
  31. On distinguishing boards having the same IMXRT...

    On distinguishing boards having the same IMXRT 1062 chip, Teensyduino 1.50 will start using Arduino's convention of -DARDUINO_{build.board}, where "build.board" is a unique name for each board...
  32. Replies
    38
    Views
    6,405

    Quick followup on this old thread. Teensyduino...

    Quick followup on this old thread. Teensyduino 1.49 was released, with updated RA8875 library and several of the features mentioned on this old thread.
  33. Quick followup to this old thread. Teensyduino...

    Quick followup to this old thread. Teensyduino 1.49 was recently released, making the "FLASHMEM" name official.

    Generally, PROGMEM is meant for variables and FLASHMEM is meant for functions. ...
  34. I tested with Linux (Ubuntu 18.04, 64 bit) and a...

    I tested with Linux (Ubuntu 18.04, 64 bit) and a no-name 7 port hub which is actually two "Genesys Logic, Inc. 4-port hub" chips inside, VID=05e3, PID=0610.

    Would you be willing to send me that...
  35. I ran it here (msg #32 code). Every time I...

    I ran it here (msg #32 code).

    Every time I type anything and click Send in the serial monitor, it reboots and USB always reconnects. I tested with Arduino 1.8.9 and Teensyduino 1.49 on Linux 64...
  36. That's it, just change that 0 to 2 in startup.c....

    That's it, just change that 0 to 2 in startup.c.

    What that undocumented bit in GPR16 really does, I have no idea. Well, other than preventing soft reboot from working... it definitely does that.
  37. Ok, I think I've *finally* found the bug. Here's...

    Ok, I think I've *finally* found the bug. Here's a fix.

    https://github.com/PaulStoffregen/cores/commit/d10668b560ef974fbac4e55249279f39e4b5bb72

    I tested only with SCB_AIRCR. Please let me...
  38. Replies
    11
    Views
    321

    They updated revisions.txt just yesterday, in...

    They updated revisions.txt just yesterday, in prep for the release next week.
  39. Replies
    11
    Views
    321

    Ok, I've updated boards.txt in the source, so...

    Ok, I've updated boards.txt in the source, so this will be in 1.50-beta1.




    Yes, they fixed the bug that was causing unnecessary recompile.
  40. Replies
    11
    Views
    321

    Arduino 1.8.11

    Apparently Arduino is planning to release version 1.8.11 on Monday, Jan 27th.

    This isn't great timing for Teensy, as I have travel plans, returning Tuesday afternoon. Normally I try to make a...
  41. I do not recall it ever working.

    I do not recall it ever working.
  42. I've been working on this problem today, and it...

    I've been working on this problem today, and it remains quite a mystery.

    Weeks ago I had thought it may be a bootloader bug. I imagined the bootloader might be mis-configuring vector catchbits,...
  43. Replies
    9
    Views
    254

    PJRC currently makes only one IMXRT-based product...

    PJRC currently makes only one IMXRT-based product (Teensy 4.0) with this commercial temperature chip.

    NXP does make a similar part with is rated for -40C. But we do not use it on Teensy because...
  44. Replies
    58
    Views
    4,509

    I can confirm Teensy Loader erases all but the...

    I can confirm Teensy Loader erases all but the top 64K of flash (4K of which is the read-only restore image) when you load any new .hex file.

    This is meant as a security feature for people who...
  45. Replies
    2
    Views
    97

    The mixer and amp features can do this now. When...

    The mixer and amp features can do this now. When you set the gain to 0 or 1.0, they act like switches. Internally the code handles gain of 0 and 1.0 as special cases, routing the signals rather...
  46. Yes, this is the correct way to measure. 1.5 to...

    Yes, this is the correct way to measure. 1.5 to 1.6 volts means the SGTL5000 did turn on its analog circuitry. That is a sure sign the SDA and SCL signals are connected properly, and power is good,...
  47. Try running the synth guitar example, and then...

    Try running the synth guitar example, and then measure the DC voltage on each of the 3 test pads underneath the headphone jack.

    The DC voltage is an indication whether the STGL5000 chip...
  48. It's too late to consider a different flash chip...

    It's too late to consider a different flash chip for Teensy 4.1. Winbond W25Q64JV is already designed in and parts have been ordered.

    But maybe a different flash chip would make sense for the...
  49. Replies
    1
    Views
    57

    This depends on what you consider "possible". ...

    This depends on what you consider "possible".

    If you only consider software support which exists today, then no.

    If you have good programming skill and deep knowledge of USB, it is possible to...
  50. Replies
    2
    Views
    56

    Usually Serial1 is simplest. Connect TX1 (pin 1)...

    Usually Serial1 is simplest. Connect TX1 (pin 1) of each Teensy to RX1 (pin 0) of the other Teensy. Also connect GND to GND.

    Bill Porter's EasyTransfer library is probably the simplest way to...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4