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

Search:

Type: Posts; User: BlueTurtle

Search: Search took 0.00 seconds.

  1. Teensy 4.0 SPI Clock isn't Square at Relatively Low Speeds

    Hey everyone! I have been trying to use SPI on my Teensy4.0 that is running at 600MHz at faster speeds then 5MHz but I can't even manage to get square waves at this speed. The code is a simplified...
  2. I would be willing to save the time and effort...

    I would be willing to save the time and effort but bootloader chip for 4.1 or 4.0 isn’t out yet unfortunately. If I transition to 3.6 I think I’ll have less resistance to making it work on a custom...
  3. Thank you very much! That’s all I need I believe....

    Thank you very much! That’s all I need I believe. Now I guess I can lift the 4.1 to my board, upload the hex from JTAG and that’s all?
  4. I think it only has 2-3 more pins?

    I think it only has 2-3 more pins?
  5. I looked at IO expanders but I need to control...

    I looked at IO expanders but I need to control peripherals with time critical signals
  6. Guidance on transitioning from Teensy to bare metal

    Hello everyone,
    I’m working on a product and my prototype phase is about to be over. I’m currently using T4.0 but I’m finding myself a bit constrained with amount of IO pins I’m able to use. For...
  7. SPI, Stepper and Healthy Communications

    Hey everyone,
    I’m having a bit of a design dilemma and don’t really know how to proceed. In my project I need to read/write data over SPI to two different ICs. One of them is MCP3201 ADC and other...
  8. Okay got everything to work on my macbook. After...

    Okay got everything to work on my macbook. After seeing the code works fine in both Mac and rPi when compiled to rPi we narrowed the problem to software and not the usb serial communication. I have...
  9. Here is the video that explains it in more...

    Here is the video that explains it in more detail:

    https://youtu.be/p1tC9Yj7lvo
  10. I instantiate TMC2130Stepper object here:...

    I instantiate TMC2130Stepper object here: TMC2130Stepper driverZ = TMC2130Stepper(csZ); and use dirZ throughout the program. Is there something I'm missing here?
  11. I really don't know if it has reliability issues...

    I really don't know if it has reliability issues if the pin is changed. I can't change it now since I have made my own PCB and it is physically set there :rolleyes:...
    I have placed diodes on the...
  12. At first I thought the problem was due to USB...

    At first I thought the problem was due to USB Serial but now I think it is something else. Same code compiled from rPi and Mac give the same results over USB Serial on all machines. By that I mean if...
  13. Yes you are right. The old one is the rPi and the...

    Yes you are right. The old one is the rPi and the new one is Mac. However the rPi compiled code works as expected, at least in my case and the Mac is not. rPi Arduino version is 1.8.10 and...
  14. Okay new update... I get the same result...

    Okay new update...

    I get the same result depending on where I compile and load the code from.

    When the code is loaded from Mac and serial monitor is opened from Mac or Rpi, I can control the...
  15. Okay I did that and there is something weird...

    Okay I did that and there is something weird going on. I don't know if it affects anything but the dynamic available for everything seems like 1048576 bytes in Rpi but it is only 524288 bytes in Mac....
  16. Worth a try :)

    Worth a try :)
  17. Hmm.. I'll try to reinstall. By local library...

    Hmm.. I'll try to reinstall. By local library copies in sketchbook what do you mean? The latest teensyduino complete package from the teensy downloads page. Not the add on.
    How do I check the...
  18. Update!!!! The same code is now working for my...

    Update!!!!
    The same code is now working for my macbook pro as well but I would be really happy if we can figure out the underlying problem.
    I deleted the latest Teensyduino, Installed Arduino...
  19. Teensy 4.0 Serial Working Differently on Different Devices

    Hey everyone,

    I'm trying to make the T4 work with TMC2130 Stepper Drivers so that I can use them without endstops. The following code works fine when I connect to my T4 with RPi but when I connect...
  20. Hello, Sorry I should’ve given an update. The...

    Hello,
    Sorry I should’ve given an update. The problem was with another IC not releasing the MISO line on my PCB. I had to cut the trace and included a tri-state buffer for future revisions. It’s...
  21. Using TMC2130 Stepper Driver Stallguard feature for sensorlesshoming with Teensy 4.0

    Hello everyone,
    I have posted on general discussion but I guess it was the wrong place to ask this question so here I go :)

    I have been trying to use the TMC2130 stepper driver and hopefully...
  22. Teensy 4.0 and TMC2130 StallGuard Sensorless Homing

    Hello Everyone,

    I have been trying to use the TMC2130 stepper driver and hopefully without endstop switches using the "StallGuard" feature. However I have been getting really frustrated with the...
  23. https://forum.pjrc.com/threads/58193-Port-Pin-Edge...

    https://forum.pjrc.com/threads/58193-Port-Pin-Edge-Detection I think this will do for my purposes. Will report back when I have it working :)
  24. Alrighty. Will take a look. I have another...

    Alrighty. Will take a look. I have another question though... I need interrupts for a switch, to know if someone opens the door while the device is working or wants to stop its operation. If I...
  25. Hey! Sorry yes you are right we don’t need to...

    Hey!
    Sorry yes you are right we don’t need to dive into datasheet. Ready is normally high and for one cycle it is pulled low to indicate that the write is successful and it is pulled high again by...
  26. Edge Detection on a signal using Teensy 4.0

    Hello everyone,

    I'm trying to use digital potentiometer IC AD5293 (Datasheet, Page 8 Timing Diagrams) with my project and I was wondering how I can read the Ready signal go low without using...
  27. Replies
    5
    Views
    1,934

    Ahahahah I love this response. Thank you very...

    Ahahahah I love this response. Thank you very much for your concise and meaningful response.
  28. Replies
    1
    Views
    1,257

    Avoiding a possible ground loop

    Hello everyone,

    I have a project that I hook up Teensy 4.0 and a RPi together with a USB cable and was wondering if my setup would cause a mishap.
    I have one 24V PSU and two separate 5V buck...
  29. Replies
    5
    Views
    1,934

    Thank you both for your responses. It’s working...

    Thank you both for your responses. It’s working very well with digitalWriteFast()
  30. Replies
    5
    Views
    1,934

    Teensy 4.0 two pins at the same time

    Hey everyone,
    I’m trying to drive two steppers at the same time in a CoreXY system using a Teensy 4.0. As you might know the steppers need to move at the same time to go straight and I was wondering...
Results 1 to 30 of 30