Search results

  1. F

    OctoWS2811 Sequences

    Thank you but I am well aware of that. I know it uses DMA to send out the correct signals to the WS2811 to set each pixel's color correctly. However, one could also consider making these DMA sequences longer, such that the pixels for example flash at a fixed frequency by concatenating the...
  2. F

    OctoWS2811 Sequences

    Hi, I am attempting to use the OctoWS2811 library to control LEDs on a robot I am constructing. The main purpose of the LEDs is to display colored sequences (e.g. a yellow light flashing repeatedly) to communicate the robot's status. To time these flashes, I would have to call from the main...
  3. F

    How did I fry my Teensy 4.1?

    Hi, Thanks for your reply. I didn't cut that connection. I measured the resistances and voltages with nothing connected to the teensy but USB. 5V seems fine, resistance from 5V to GND also, but from 3.3V to GND it's pretty much non existent and 3.3V gives very low voltage. Thanks for the...
  4. F

    How did I fry my Teensy 4.1?

    I have disconnected the teensy from everything else and tried powering via a range of different USB cables and different PCs. No luck
  5. F

    How did I fry my Teensy 4.1?

    I cannot edit my post so I'll post a reply instead: The USB Power and External power were never connected at the same time. That being said, the shifting voltage regulator was connected when powered through USB but it didn't have a battery attached to it.
  6. F

    How did I fry my Teensy 4.1?

    Hi, I designed a very basic PCB to mount the Teensy 4.1 with a variety of sensors. With a first test run, with only some components in place, everything worked fine. Then, adding different components before trying again resulted in the Teensy being fried. First, here is a list of things that...
  7. F

    Is the teensy 4.1 compatible with this breakout board?

    Hi, I connected my Teensy 4.1 to this https://www.az-delivery.de/en/products/adapter-fur-nrf24l01 breakout board and the corresponding RF module. I connected the VCC and GND of the board to the 5V and GND supplied via USB and the signal cables to arbitrary Digital Pins. I checked that the...
  8. F

    eFlexPWM with DMA working fine on some pins but does not work at all on some other

    Out of curiosity, which ESC do you use? I also have a 4-in-1 ESC. Also, could you help me understand what the DMA_LENGTH is set for? Why does it not equal the DSHOT_LENGTH? How is the extra 2 bits determined? Thank you for all the help!
  9. F

    eFlexPWM with DMA working fine on some pins but does not work at all on some other

    Sorry, typo. I meant to say 48. But still, it is confusing that the motor jerks a bit when on 0, right? Anyways, considering that you suggested that changing the DMA_LENGTH is not the way to go, I think I should address that problem first. However, I can't think of anything else to try and fix...
  10. F

    eFlexPWM with DMA working fine on some pins but does not work at all on some other

    I haven't provided much code because I copied the code provided here, there's nothing else going on. No other pins are used.
  11. F

    eFlexPWM with DMA working fine on some pins but does not work at all on some other

    I've tried all three DSHOT protocols. Furthermore, I used to run DSHOT300 or DSHOT600 with an arduino with this very ESC. I have tried DSHOT150, 300 and 600 without success unless I change the DMA_LENGTH. EDIT: Just went back to test with the Pins you used and DSHOT150 with the original...
  12. F

    eFlexPWM with DMA working fine on some pins but does not work at all on some other

    That is exactly what I have. For some reason, it arms and responds to throttle commands now. But, when I send 0, it periodically rotates for a split second only to stop again. As if it would receive impulses. Sending 48 (minimum throttle, as opposed to motor stop) works fine, the motor does not...
  13. F

    eFlexPWM with DMA working fine on some pins but does not work at all on some other

    Small update: managed to get it work by increasing the DMA length and consequently increasing the margin. Any idea why that is? Also; I am trying to use Pin 7 (gpio_b1_01). According to the NXP doc, this is to be used with FLEXPWM1_PWM3_B and ALT6. However, the corresponding motor does not arm...
  14. F

    eFlexPWM with DMA working fine on some pins but does not work at all on some other

    Ha, funnily enough I was googling your username hoping to find a GitHub repo with working code, found yours but noticed it hasn't been updated in a while. Glad it's there now! Is there anything significantly different in the dshot part as compared to what's been posted here? My esc doesn't arm...
  15. F

    eFlexPWM with DMA working fine on some pins but does not work at all on some other

    Did you manage to use the code for an ESC? I can't get it to be used with BLHELI_S. Previously I was using an arduino with dshot which worked fine so I assume it must be an implementation detail.
  16. F

    What are these dots on the Teensy 4.1 Board?

    Hi, When soldering the pin headers into the Teensy 4.1, some solder got onto the spots marked in the picture below. What are these spots for? Is it problematic to have some solder there? Thank you!
Back
Top