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

Search:

Type: Posts; User: neurofun

Page 1 of 5 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    35
    Views
    1,704

    Well I think that's your error. You don't need to...

    Well I think that's your error. You don't need to drop anything anywhere since the AudioSynthWavetable class is included in the teensyduino audio lib.
    So now you have 2 copies of the...
  2. teensy code: In setup() you need to add the...

    teensy code:
    In setup() you need to add the pinMode command to configure pin 13 as an output or the led will not work.
    In loop() change Serial.write to Serial.println(to send an ASCII...
  3. @llamero There is nothing wrong about your...

    @llamero
    There is nothing wrong about your setup, v6.3.4 of the Snooze lib seems to be broken.
    The author(Duff) knows about it and mentioned he would be working on it.
    see:...
  4. Replies
    59
    Views
    2,171

    Sticky: Do not want to add to the confusion but did a get...

    Do not want to add to the confusion but did a get info on both files and there are some differences.
    file size
    creation date
    enable app nap option

    18930

    I consider for myself this problem...
  5. Replies
    59
    Views
    2,171

    Sticky: I have no idea either. But I fixed the problem...

    I have no idea either.
    But I fixed the problem by copying Teensy.app 1.50 installed in Arduino 1.8.10 to Teensyduino Catalina 10.15 version.
  6. Replies
    59
    Views
    2,171

    Sticky: iMac12,2 OS X 10.13.6 (17G10021) Catalina...

    iMac12,2 OS X 10.13.6 (17G10021)

    Catalina 10.15 version -> show package content -> double click Teensy.app
    result:
    18927
  7. Replies
    59
    Views
    2,171

    Sticky: No errors in the console.

    No errors in the console.
  8. Replies
    59
    Views
    2,171

    Sticky: No, the Teensy Loader window does not appear....

    No, the Teensy Loader window does not appear.
    There is no process "Teensy" visible in the Activity Monitor.
  9. Replies
    59
    Views
    2,171

    Sticky: Previous post was referring to iMac12,2 OS X...

    Previous post was referring to iMac12,2 OS X 10.13.6 (17G10021)

    different system, different result:
    MacBookPro8,2 OS X 10.13.6 (16G29)
    The Catalina 10.15 version runs without crashing, also...
  10. Replies
    59
    Views
    2,171

    Sticky: The Catalina 10.15 version runs without crashing,...

    The Catalina 10.15 version runs without crashing, also after a system reboot.
    I can compile but not upload.

    Opening Teensy Loader...
    Unable find Teensy Loader. (p) Is the Teensy Loader...
  11. Replies
    59
    Views
    2,171

    Sticky: 1.49 runs fine with arduino 1.8.10 as does 1.50....

    1.49 runs fine with arduino 1.8.10 as does 1.50.
    But cannot install 1.49 on arduino 1.8.11 which I think is normal since arduino 1.8.11 is only supported by td1.50.


    Plain 1.8.11 does not crash....
  12. Replies
    59
    Views
    2,171

    Sticky: Same behaviour with 1.50-beta1.

    Same behaviour with 1.50-beta1.
  13. Replies
    59
    Views
    2,171

    Sticky: I spoke too soon. After shutting down both macs...

    I spoke too soon. After shutting down both macs and have a good night sleep, today arduino crashes on startup on both systems.

    Process: Arduino [917]
    Path: ...
  14. Replies
    59
    Views
    2,171

    Sticky: MacBookPro8,2 OS X 10.13.6 (16G29) iMac12,2 OS X...

    MacBookPro8,2 OS X 10.13.6 (16G29)
    iMac12,2 OS X 10.13.6 (17G10021)

    Arduino 1.8.11 & TD1.50 is running fine on both systems.
  15. Replies
    10
    Views
    118

    To recap the problems found so far with v6.3.4....

    To recap the problems found so far with v6.3.4.
    Tested with TLC, T3.2 & T3.6.

    The following does not work:
    -enabling the pullup resistors via SnoozeDigital.pinMode()
    -wake from digital pin...
  16. Replies
    10
    Views
    118

    It might actually be a better idea to download...

    It might actually be a better idea to download v6.3.3 of the Snooze lib and install it in the user library folder instead of downgrading TeensyDuino.

    Snooze lib v6.3.3 ->...
  17. Replies
    10
    Views
    118

    This was only meant to enable the pullup...

    This was only meant to enable the pullup resistors, not as a fix for the Snooze lib.


    See @defragster's previous post.
    You must completely remove your current TD1.49 install of the Snooze lib...
  18. Replies
    10
    Views
    118

    Tested the code and indeed it does not work. Upon...

    Tested the code and indeed it does not work. Upon further investigation I found 2 issues.

    First:
    The following does not activate the internal pullup resistors.

    digital.pinMode(21,...
  19. Replies
    10
    Views
    118

    The internal pullup resistors are enabled so you...

    The internal pullup resistors are enabled so you need to connect pin 21 or 22 to GND.
    Unplugging the wire will then create a rising edge.
  20. Replies
    24
    Views
    275

    Try this: while (!Serial && millis() < 2500);

    Try this:
    while (!Serial && millis() < 2500);
  21. Replies
    24
    Views
    275

    @theczar1987 A few few remarks concerning your...

    @theczar1987
    A few few remarks concerning your code:

    The queue is 128 words(samples) long, not 256!

    In your code the queue1.playBuffer() command is executed once per loop/sample. It should...
  22. Yes, see:...

    Yes, see: https://www.amphenol-icc.com/fpc-ffc-hfw8r1ste1lf.html
  23. I am afraid not! The part you linked is the...

    I am afraid not! The part you linked is the straight version and has a different footprint than the right angle version.
    see: https://www.amphenol-icc.com/fpc-ffc-hfw8s2stae1lf.html
    and click...
  24. LOOP_PHASE_LENGTH doesn't look right, subtracting...

    LOOP_PHASE_LENGTH doesn't look right, subtracting a negative number with unsigned integers doesn't make sense in this case.

    This seems to remove the artefact:
    ((uint32_t)2048 - 1) << (32 - 12),...
  25. Replies
    6
    Views
    212

    Your switch statement is being executed every...

    Your switch statement is being executed every iteration of the loop which means you are constantly un-patching patching the cord.
    The switch statement should only be executed once for every button...
  26. Replies
    257
    Views
    6,071

    Autocenter is now working for the internal font &...

    Autocenter is now working for the internal font & the RA8875 lib supplied fonts. Thanks.
  27. Replies
    257
    Views
    6,071

    void RA8875::setCursor(int16_t x, int16_t y, bool...

    void RA8875::setCursor(int16_t x, int16_t y, bool autocenter)
    autocenter does not work anymore. (tested with the internal font)
    Still works fine with the TD1.49 supplied lib.
  28. @tele_player I think being precise or pedantic...

    @tele_player
    I think being precise or pedantic as you say, is important to avoid confusion or misunderstandings, especially when dealing with technological stuff.
    Thanks for the clarification.
  29. Yes, like this. AudioSynthWaveform* waveform =...

    Yes, like this.
    AudioSynthWaveform* waveform = new AudioSynthWaveform[4];

    See following thread for a complete example: https://forum.pjrc.com/threads/58158-Accessing-Audio-Objects-from-an-Array
  30. Replies
    13
    Views
    272

    You could also use the c_str() StringObject...

    You could also use the c_str() StringObject Function.

    File dataFile = SD.open(filename.c_str(), FILE_WRITE);
  31. Replies
    6
    Views
    212

    Use connect() & disconnect() on existing audio...

    Use connect() & disconnect() on existing audio connection objects by adhering to the following:

    Instantiate all possible AudioConnections needed in the project(in the global scope, as usual)....
  32. Just for the sake of correctness. Your statement...

    Just for the sake of correctness.
    Your statement is only valid for T3.x.
    On the T4.0 the audio lib runs @ 44100Hz.
  33. Replies
    3
    Views
    114

    Not mine and not tested. ...

    Not mine and not tested.

    https://github.com/noisegate/kicadlib

    audio shield symbol in teensy3.lib
    audio shield footprint in teensy.pretty
  34. If you blindly copied the revD schematic without...

    If you blindly copied the revD schematic without checking the SGTL5000 datasheets, pretty sure you've got it wrong.

    Checked your schematic.pdf file.
    The connections of your I2S datalines need to...
  35. Replies
    7
    Views
    1,504

    NRPN & RPN are fully supported by the 3 midi...

    NRPN & RPN are fully supported by the 3 midi libs.
    Have a look at Examples/Teensy/USB_MIDI/TransmitEverything.ino
  36. Replies
    2
    Views
    162

    There's an error in the audioshield revD...

    There's an error in the audioshield revD schematic. You need to swap pin 7 & 8 on the T4 side.

    see: https://forum.pjrc.com/threads/58550-audio-shield-rev-C-and-rev-D-TX-and-RX-pins
  37. Replies
    23
    Views
    675

    Both /RESET and /HOLD need to be connected to...

    Both /RESET and /HOLD need to be connected to 3.3V.
  38. Replies
    22
    Views
    286

    Did you connect the 3 address lines to GND?

    Did you connect the 3 address lines to GND?
  39. tft.setFont(INT);or tft.setFont(INTFONT)...

    tft.setFont(INT);or
    tft.setFont(INTFONT) //sumotoy;depending on which lib you use.
  40. Replies
    45
    Views
    3,205

    @mjs513 beta3 with changes from post #25...

    @mjs513
    beta3 with changes from post #25
    running at the default 22MHz showing 284ms
    changed to 18MHz and now showing 275ms

    unmodified beta3
    @17MHz -> 246ms
    @18MHz -> 248ms
    @19MHz -> 256ms
  41. Replies
    45
    Views
    3,205

    Located the problem in SPI.cpp around line 1281...

    Located the problem in SPI.cpp around line 1281
    changed


    CCM_CBCMR = (CCM_CBCMR & ~(CCM_CBCMR_LPSPI_PODF_MASK | CCM_CBCMR_LPSPI_CLK_SEL_MASK)) |
    CCM_CBCMR_LPSPI_PODF(2) |...
  42. Replies
    45
    Views
    3,205

    It is indeed very strange. The display i'm using...

    It is indeed very strange. The display i'm using is the 4.3" from buydisplay.
    I even wonder if it has anything to do with SPI because in my main application I also use the SPI1 bus to read the...
  43. Replies
    45
    Views
    3,205

    Did some more tests and USB Type does have some...

    Did some more tests and USB Type does have some influence.
    With this new test I get opposite results

    #include <SPI.h>
    #include <RA8875.h>

    //teensy4 SPI0 RA8875
    #define TFT_CS 10...
  44. Replies
    45
    Views
    3,205

    The slowdown is clearly visible on the display....

    The slowdown is clearly visible on the display.
    Changing clockspeed.c does not resolve the slowdown.


    Yes, I'm sure about 2940ms. But that was yesterday.
    Today the times vary around 2300ms,...
  45. Replies
    45
    Views
    3,205

    T4 @ 600MHz With this example beta 3 is about...

    T4 @ 600MHz
    With this example beta 3 is about 10x slower than beta2. 2940ms vs 283ms.

    #include <SPI.h>
    #include <RA8875.h>

    //teensy4 SPI0 RA8875
    #define TFT_CS 10
    #define TFT_RST ...
  46. Replies
    45
    Views
    3,205

    T4 @ 600MHz using this RA8875 lib:...

    T4 @ 600MHz
    using this RA8875 lib: https://github.com/mjs513/RA8875 to draw 2 different types of screens.

    With TD1.49b2
    screen1 takes about 23ms to draw
    screen2 takes about 65ms to draw

    With...
  47. Replies
    20
    Views
    391

    Pcb looks good at first glance. DRC ok. ...

    Pcb looks good at first glance. DRC ok.

    correction: Kicad 5.1.5
  48. Replies
    13
    Views
    366

    That J8 comment is irrelevant in your case...

    That J8 comment is irrelevant in your case because it refers to a different display than the one you have.
  49. Replies
    20
    Views
    391

    @jonr Yes indeed, those points are connected...

    @jonr
    Yes indeed, those points are connected through pin6.

    Now if I move that ground plane via 1mil(0.0254mm) up, it then passes DRC.
    I suspect there might be some difference between Kicad...
  50. Replies
    20
    Views
    391

    There is a "show/hide board ratsnest" button in...

    There is a "show/hide board ratsnest" button in the left toolbar.
    The bottom left statusbar clearly shows "unrouted 1".
    Performing a Design Rule Check will also reveal unconnected items.

    18423...
Results 1 to 50 of 211
Page 1 of 5 1 2 3 4