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

Search:

Type: Posts; User: NikCA

Search: Search took 0.00 seconds.

  1. Replies
    3
    Views
    628

    I have a Teensy 4.1 and yes, it will be tethered...

    I have a Teensy 4.1 and yes, it will be tethered with a USB cable. I'll give it a shot with the serial monitor and for an interface, I guess that any language that supports serial should work (I'm...
  2. Replies
    3
    Views
    628

    Controlling a Teensy from a computer

    Hello,

    Summer is here and I have a little robotic project in mind I'm looking for some guidance from more experienced people.

    The core idea of the project is to make a little delta robot with...
  3. Ok, did another complete clean and started fresh....

    Ok, did another complete clean and started fresh. I touched just the values that are needed to change the size of the frame being transmitted and I managed to make it work. The road ahead seems...
  4. An update from the tests I did this morning - I'm...

    An update from the tests I did this morning - I'm very confused as to how this code works.

    I've deleted literally everything from the show function, I've commented out all the DMA initialization...
  5. Thank you for the clarification! The history of...

    Thank you for the clarification! The history of the serial protocol is also interesting.

    I've been working on the code all day today, I hooked up my oscilloscope to it and I managed to see the...
  6. Ok, I think I've got it, but I'll write the...

    Ok, I think I've got it, but I'll write the explanation as simple as I can.

    So basically, the "why" behind the faster rate is so that the receiver can get this "packet" of 5 bits in one go...
  7. So I've read through the library code and the...

    So I've read through the library code and the description, and I looked at the manual and I have a couple of questions.

    1. When you say "Ultimately each 2 bits of real data becomes 1 byte to...
  8. Thank you very much for the guidance Paul! As a...

    Thank you very much for the guidance Paul! As a newcomer to Teensy (and the MCU world as a whole), it makes all the difference to have someone with experience push you in the right direction,...
  9. Is it possible to generate finite sequences of 0s...

    Is it possible to generate finite sequences of 0s and 1s needed by DShot with FlexPWM, using DMA to transfer how long a pulse should be?

    I'm trying to wrap my head around how its best to approach...
  10. What is the equivalent of the FTM timer for Teensy 4.1

    Hello,

    I've mentioned in another post that I'm trying to implement DShot on the Teensy 4.1. I came across this post that implements it on the Teensy 3.2.

    My question is - What is the best...
  11. Thank you! :D I'll take a deeper look at it, I...

    Thank you! :D

    I'll take a deeper look at it, I did come across it but I didn't think it would work.

    Also, I don't think I need to multitask, the ESCs get the instructions sequentially. (I'm...
  12. Looking for an example of how to use FlexPWM and DMA together (Teensy 4.1)

    Hello everyone, :D

    I'm trying to create a simple DShot implementation with the T4.1 so I can control ESCs of a quadcopter.

    I have a general understanding of why DMA is a good choice for DShot...
Results 1 to 12 of 12