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

Search:

Type: Posts; User: DrOldies

Search: Search took 0.00 seconds.

  1. "Teensy 4.0 DUE+" breakout with 3.3v and 5v I/O

    I would appreciate feedback on both the concept and the specs of this breakout board.

    I have created a Teensy 4.0 breakout board that allows me to work with both 3.3v and 5v digital and analog...
  2. Replies
    3
    Views
    1,641

    Blink fixed the upload until I tried to upload my...

    Blink fixed the upload until I tried to upload my current sketch.
    Thanks
  3. Replies
    3
    Views
    1,641

    Teensyduino Upload error

    In the middle of testing a sketch my Teensy 3.6 started reporting “Port failed to open.”
    Setup:
    Teensy 3.6 and Teensyduino 1.31 beta #3. I tried 2 separate Teensy 3.2s, different USB cables and PC...
  4. Achieving the speed benefits of Dma+Spi

    Applying the DmaSpi library to my project required a bit of trial and error. Hope what I found is helpful to others:

    The example sketches for the DmaSpi library do not show how the functions would...
  5. I have both of these teensy to UNO breakouts. ...

    I have both of these teensy to UNO breakouts.

    The http://embeddedcoolness.com/shop/rfx...ping-area-kit/ works with the 3.5/3.6. and all UNO pins are accessible.

    The...
  6. Replies
    1
    Views
    1,689

    Teensy 3.5/3.6 identification?

    __MK20DX128__ &__MK20DX256__ identify the teensy 3.1 & 3.2. What are the corresponding IDs for 3.5 & 3.6? I missed the kickstarter campaign by 2 days, so I am looking forward to the retail release.
  7. DIRECT_MODE_OUTPUT in OneWire not working?

    Using some of the OneWire Teensy3 code in my project, DIRECT_MODE_OUTPUT is not working. I'm using a Teensy 3.1 and OneWire from the Arduino 1.65 release, but the DIRECT_MODE_OUTPUT macro has not...
  8. Replies
    76
    Views
    29,968

    The current release has been working and is...

    The current release has been working and is stable. Thanks for effort to make this library.
  9. Replies
    76
    Views
    29,968

    I added the dummy call to instantiate trx when...

    I added the dummy call to instantiate trx when the long &cs version locked up. Your new version fixed that problem to that it is not needed now.


    working code:
    long loopcntoutter = 5;
    long...
  10. Replies
    76
    Views
    29,968

    I tried a few more things and have one version...

    I tried a few more things and have one version that works with cs(0, SPISettings()). I left the //s in the working version to make it easier to see what changed.

    Problem code:
    DMASPI0.begin();
    ...
  11. Replies
    76
    Views
    29,968

    I worked through the ActiveLowChipSelect...

    I worked through the ActiveLowChipSelect function.

    When I call in the .ino: ActiveLowChipSelect cs(value, SPISettings());

    With the value = 10 the cs pin works properly. In chipSelect.h at...
  12. Replies
    76
    Views
    29,968

    I downloaded teensyduino 1.20 and the latest...

    I downloaded teensyduino 1.20 and the latest github DmaSpi library.
    I have not been able to get cs working. It remains LOW at all times. I paired down your example transfers to this:

    ...
  13. Replies
    76
    Views
    29,968

    Thanks cristoph for working this out! Works now.

    Thanks cristoph for working this out! Works now.
  14. Replies
    76
    Views
    29,968

    I re-downloaded the zip from #21. first...

    I re-downloaded the zip from #21. first digit/enter gives the 234us. Second digit/enter stops at the point listed below. I'm using a Teensy 3.1. pins 11 & 12 are connected for the loopback (non-DMA...
  15. Replies
    76
    Views
    29,968

    I have been following your dmaspi development and...

    I have been following your dmaspi development and tested the 10/7 zipped update. For me the sketch hangs at the first while(trx.busy()) regardless of the number of bytes to be transferred. If you...
  16. Thanks for the detailed response. This will...

    Thanks for the detailed response. This will enable me to write more transportable code.
  17. I added pinMode(pin,INPUT) before requesting...

    I added pinMode(pin,INPUT) before requesting info on each pin. Teensy3.1 does not return the port and bit mask even after this is added. The UNO32 reports properly even without this statement.
  18. My understanding is that Teensyduino supports...

    My understanding is that Teensyduino supports these two macros, and the port/mask format for Arduino compatibility.
  19. digitalPinToBitMask and digitalPinToPort are not working

    I wrote a quick .ino to test digitalPinToBitMask() and digitalPinToPort() on several boards. While these macros work on the UNO, MEGA2560, and several compatibles, they are not returning the proper...
  20. Thanks for the quick reply. I posted the library...

    Thanks for the quick reply. I posted the library in github.com/Paul47/ShiftMatrixPWM2 The documentation still needs some work.
  21. ShiftMatrixPWM updated for Teensy3 - Almost!

    I have successfully converted the ShiftMatrixPWM library to work with the Teensy 3. This library uses SPI4Teensy3 and IntervalTimer libraries to maximize the speed. It handles a 10x16 RGB matrix and...
  22. Replies
    16
    Views
    11,098

    Will a selection of 72Mhz for the Teensy 3.1 be...

    Will a selection of 72Mhz for the Teensy 3.1 be added soon? Or will the 96Mhz setting work? If the point of the 3.1 is the added speed, it would be a shame to limit it to 48Mhz.
  23. I am porting ShiftMatrixPWM to work with the Teensy3

    I am trying to port ShiftMatrixPWM to work with the Teensy3 and spi4teensy3. Compiling with Teensy3.0/3.1 as the target gives errors for PORT B, C and D as expected. I commented out the offending...
  24. Replies
    2
    Views
    1,569

    Teensy 3.0 and Shiftpwm library errors

    I am surprised not to see this problem reported already. I receive the following compile on the Shiftpwm example program and the Teensy 3.0 in the Arduino IDE with Teensyduino installed. It compiles...
Results 1 to 24 of 25