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. Replies
    9
    Views
    2,398

    Check the voltage on SDA & SCL. If they're...

    Check the voltage on SDA & SCL. If they're sitting at or near 0 volts, then you need to add pullup resistors.
  2. I've updated the Ethernet page with this init()...

    I've updated the Ethernet page with this init() function.

    https://www.pjrc.com/teensy/td_libs_Ethernet.html

    I also added it (commented) to all the examples. Hopefully this will help everyone...
  3. Ah, I see what happened. The CS signal now...

    Ah, I see what happened. The CS signal now defaults to pin 10 on all boards.

    To work with Teensy++ 2.0, add this before Ethernet.begin()


    Ethernet.init(20);
  4. Just to confirm, I'm working with this now. I...

    Just to confirm, I'm working with this now. I have managed to reproduce the problem with a WIZ812. Working on a fix today...
  5. Replies
    28
    Views
    2,517

    The attachment on msg #22 didn't work. Any...

    The attachment on msg #22 didn't work. Any chance you could repost it? Maybe even a photo? This could really help others who later find this thread and need to get these displays working!
  6. Some time ago I accepted a patch to allow patch...

    Some time ago I accepted a patch to allow patch cords to be destroyed. As have not tested it, other than testing to confirm it doesn't interfere with the normal case of all statically allocated...
  7. Replies
    8
    Views
    243

    Please give this a try. Does it fully resolve...

    Please give this a try. Does it fully resolve the problem you're seeing?
  8. Replies
    14
    Views
    183

    D'oh, thought I fixed this in beta5. Guess not. ...

    D'oh, thought I fixed this in beta5. Guess not. :(



    I'm pretty sure this is a matter Unix default line discipline settings. In beta5 I added code to (supposedly) put the port into raw mode. ...
  9. The optimized FIR filter stuff is in arm_math.h....

    The optimized FIR filter stuff is in arm_math.h.

    These are the files from the audio lib which use it. Maybe they can help you?

    https://github.com/PaulStoffregen/Audio/blob/master/filter_fir.h...
  10. Replies
    28
    Views
    2,517

    I made another attempt to port this library. ...

    I made another attempt to port this library.

    https://github.com/PaulStoffregen/GE7000

    Please give everyone some feedback about whether this actually works. If it does, please please please...
  11. Replies
    28
    Views
    2,517

    If I make another attempt to port this library,...

    If I make another attempt to port this library, will you continue with feedback and photos if it works?

    As you can see, the OP said he's give us updates, but then silence. Nobody knows if my...
  12. Replies
    28
    Views
    2,517

    As a first simple test, try setting Tools > CPU...

    As a first simple test, try setting Tools > CPU Speed to only 24 MHz, so it runs at a speed not too much faster than Arduino Mega.
  13. Replies
    34
    Views
    1,286

    Most significant change looks like Arduino is...

    Most significant change looks like Arduino is updating the gcc toolchain to 5.4, exactly the same as we've been using on Teensy for quite some time. I don't see any use of its new features like...
  14. Replies
    1
    Views
    69

    They're the same, as far as I know. The...

    They're the same, as far as I know.

    The footprint on the bottom of the audio board has long pages which can accommodate the wider SOIC chips. As far as I know, this RAM chip only comes in the...
  15. The path to success involves making small steps...

    The path to success involves making small steps and checking the results as you go, usually by printing stuff to the Arduino Serial Monitor.

    Getting a final formula that you can just copy & paste...
  16. Please use a voltmeter to monitor the actual...

    Please use a voltmeter to monitor the actual analog voltage right at the A4 pin.
  17. Replies
    34
    Views
    1,286

    Just to be clear, having 2 or more windows open...

    Just to be clear, having 2 or more windows open is not necessarily multiple instances. You can use File > Open or File > Examples as many times as you like for lots of open windows, but they're all...
  18. Replies
    6
    Views
    123

    Pin 31 is from Serial2, so it won't work if...

    Pin 31 is from Serial2, so it won't work if you're already using pin 10 for serial. Pin 31 would only be useful if you had to dedicate pin 10 for some other purpose (like if you were hypothetically...
  19. No, this is not an official Arduino name. It...

    No, this is not an official Arduino name.

    It only exists on Arduino's older 8 bit boards, like Uno & Micro. None of their newer 32 bit boards like Arduino Zero, Due, MKR1000 support this.


    ...
  20. Replies
    34
    Views
    1,286

    Recent activity on github looks like the Arduino...

    Recent activity on github looks like the Arduino devs may be preparing to release 1.8.6.
  21. Replies
    6
    Views
    123

    Turns out there's a bug with WS2812Serial on pins...

    Turns out there's a bug with WS2812Serial on pins 8 & 20. The other pins work fine.

    I posted a workaround on this thread just now. Maybe it'll solve the problem you're seeing?
    ...
  22. Correct, more or less like that. The settings...

    Correct, more or less like that. The settings actually get changed, but when your code calls the EEPROM functions the FlexNVM gets configured back to EEPROM emulation. Then the first access to the...
  23. Replies
    34
    Views
    1,286

    Has the problem ever happened with multiple...

    Has the problem ever happened with multiple Teensy boards, but only 1 instance of the Arduino IDE running? (and the hassle of having to repeatedly switch which board you're using in the menus)

    My...
  24. Replies
    14
    Views
    183

    There are 2 very different approaches used on...

    There are 2 very different approaches used on these boards, which could be called native USB and serial converter USB.

    On Arduino Uno, there is a dedicated chip for the USB. When you Uno reboots,...
  25. Only if you use pins 8 or 20. Serial3 can only...

    Only if you use pins 8 or 20. Serial3 can only just barely manage the data rate.

    Serial1 and Serial2 are much more capable.
  26. Replies
    1
    Views
    43

    The tone() function only supports output to a...

    The tone() function only supports output to a single pin at a time.

    You can get more with analogWriteFrequency() and analogWrite(). All the pins on the same timer get the same frequency, but the...
  27. WS2812Serial is the best choice. Looks...

    WS2812Serial is the best choice.



    Looks like there's a bug with pins 8 and 20.

    The simplest solution would be the use pin 1, 5, 10 or 31.

    If you really want to use pin 8, copy this file...
  28. Both, sort of... There is a dedicated hardware...

    Both, sort of...

    There is a dedicated hardware module, which simulates EEPROM using Flash. The chip has a dedicated 32K bank of flash memory, completely separate from the 256K flash for program...
  29. Replies
    10
    Views
    199

    But did you witness any aliasing if you applying...

    But did you witness any aliasing if you applying an input signal that's above half the final sample rate?

    Some time ago I did quite a lot of testing with sine waves from my Siglent SDG5082...
  30. Normally EEPROM data is preserved when uploading...

    Normally EEPROM data is preserved when uploading programs.

    However, Teensy 3.5 and 3.6 have a hidden feature where holding the button for 15 seconds (or between 13 to 17 seconds) causes a full...
  31. Replies
    14
    Views
    183

    Which version of Arduino and Teensyduino are you...

    Which version of Arduino and Teensyduino are you using? To check, click Help > About in Arduino.

    If you're not using the latest beta, please give it a try. Almost all the USB communication has...
  32. The best info can be found in the comments in...

    The best info can be found in the comments in mk20dx128.c

    https://github.com/PaulStoffregen/cores/blob/master/teensy3/mk20dx128.c#L37

    On Teensy 3.6, the bootloader automatically sets FSEC to...
  33. Maybe a GND wire not connected properly? Might...

    Maybe a GND wire not connected properly?

    Might be able to see (or better guess) what's wrong if you share photos.
  34. Replies
    5
    Views
    136

    Yes, best to solder the header to the SMT pads...

    Yes, best to solder the header to the SMT pads first. Try to align in the center of the pads if you can. Then solder the other through-hole ones with the already-soldered header and new headers...
  35. Replies
    2
    Views
    57

    IntervalTimer and analogRead do work together. ...

    IntervalTimer and analogRead do work together. Of course, with any interrupt trying to access the same resource from both the interrupt and non-interrupt execution must be done very carefully.


    ...
  36. Replies
    1
    Views
    68

    Wow, that's a tremendous number of LEDs for a...

    Wow, that's a tremendous number of LEDs for a wearable project. Hope you've got some pretty incredible batteries!



    Newer versions of OctoWS2811 do indeed use FTM2. Pin 32 is listed as "do not...
  37. The exp2f(x) or powf(2.0, x) function is probably...

    The exp2f(x) or powf(2.0, x) function is probably the missing piece you're seeking

    float nominal_frequency = 440.0;
    float octaves = (float)analogRead(A1) / 10.23;
    float frequency =...
  38. Replies
    5
    Views
    145

    SD cards support read-multiple and write-multiple...

    SD cards support read-multiple and write-multiple commands. You need to use those for higher performance.
  39. Install the latest beta ...

    Install the latest beta

    https://forum.pjrc.com/threads/52315-Teensyduino-1-42-Beta-5?p=179458
  40. No, and you probably should not mess with the PLL...

    No, and you probably should not mess with the PLL at all. Or if you do, read the MGC chapter of the reference manual and pay very careful attention to the many clocking modes. You're not supposed...
  41. Replies
    12
    Views
    744

    Recommend using only one FFT, at least on your...

    Recommend using only one FFT, at least on your first try. They take a lot of CPU time.
  42. Replies
    1
    Views
    73

    It depends if you're willing to create non-driver...

    It depends if you're willing to create non-driver software on the PC side. If so, use RawHID.

    If not, I'm afraid most of the pre-defined HID types like Keyboard, Mouse, Joystick, Touch Screen are...
  43. MIDI is a good start. If you later want to try...

    MIDI is a good start. If you later want to try creating the sound on the microcontroller, get at least Teensy 3.2. If you want high quality output, you'll probably need the audio shield too. The...
  44. Replies
    34
    Views
    1,286

    Only 1 instance of teensy_ports.exe should exist,...

    Only 1 instance of teensy_ports.exe should exist, even if you launch 2 or more Arduino IDE instances.
  45. Replies
    3
    Views
    101

    I should also mention those queue objects use the...

    I should also mention those queue objects use the memory you allocated with AudioMemory.

    If your program always checks the queue and promptly processes each block, then the queue will use at most...
  46. Replies
    3
    Views
    101

    AudioMemory() allocates some of the Teensy's RAM...

    AudioMemory() allocates some of the Teensy's RAM for use by the audio library. This memory is essential, since it's used as buffers for everything the audio library does, and for passing the audio...
  47. I'm currently traveling, so I can't look into...

    I'm currently traveling, so I can't look into this until next week. If you don't hear from me by Wednesday, please post again to bump this thread and I'll do some testing. I only have the WIZ812...
  48. I'm sure the PWM signal from Teensy is correct. ...

    I'm sure the PWM signal from Teensy is correct. Perhaps something about that circuit is messing up the signal? Maybe the diode?
  49. Replies
    167
    Views
    31,914

    Every time we talk of future Teensy models, these...

    Every time we talk of future Teensy models, these same subjects are discussed all over again. Soon we'll probably see talk of finer pitch pins, high density I/O connectors (seems Sony is using this...
  50. Replies
    34
    Views
    1,286

    I'm currently in San Mateo, California for Maker...

    I'm currently in San Mateo, California for Maker Faire this weekend. Writing this from my laptop in a hotel room.

    Seems there's a bug in Windows version of teensy_ports. If it is still listening...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4