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

Search:

Type: Posts; User: JimKazmer

Search: Search took 0.00 seconds.

  1. I (also) needed to know if the ADC continuous...

    I (also) needed to know if the ADC continuous readings were overwritten or not...
    This snippet of code was found in the ADC_Module::analog_init() function:


    #ifdef ADC_TEENSY_4
    // overwrite...
  2. SOLVED: Any known oddities with Teensy 4, SPI1, asserting CS1?

    I've been opening many libraries and reading many posts. Seen many examples of SPI as slave, and SPI1 as master. Still looking for one using SPI1 as slave. Recall reading someone's comment about...
  3. Any known oddities with Teensy 4, SPI1, asserting CS1?

    Using a Teensy 4, I am using SPI and SPI1 (independent from each other) to interact with two separate remote devices. I do the exact same thing with each device: send a command, and receive a...
  4. Teensy 4 maps the internally defined SPI...

    Teensy 4 maps the internally defined SPI peripherals as follows:
    Hardware Peripheral LPSPI4 is mapped to SPI using CS=pin10, MOSI=pin11, MISO=pin12, SCK=pin13
    Hardware Peripheral LPSPI3...
  5. I scoured that card for minutes... and as soon as...

    I scoured that card for minutes... and as soon as I read your response... *kazam*, there it is on the card. Thank you.
  6. Current supply limits for 3.3V for Teensy 4?

    I'm sure this is posted somewhere, but after searching a good bit, I can't find it... I'm sure I read it somewhere.
    Thanks
  7. Replies
    201
    Views
    6,112

    KurtE TeensyDocuments shows more pins... ?

    Thank you for making this available.

    Your document shows many more pins than the "Welcome to Teensy 4.0" card/jpeg shows. For example, your card shows:
    Pin 0: SPI1(3) CS0 (I assume this was...
  8. That is very much what I needed. Thank you! ...

    That is very much what I needed. Thank you!

    Here is the corrected code... not much use to anyone unless you have a scope (and even then there are better things to watch wiggle (only a reference...
  9. Okay... it appears that attachInterrupt(...) is...

    Okay... it appears that attachInterrupt(...) is associated with I/O Pins... It is using my IRQ number (IRQ_LPSPI4=35) (from MX RT1060 table 3-2) as a pin number and compiling with no warnings.

    Is...
  10. Where to find interrupt numbers for Teensy 4? Specifically SPI Frame Complete Int.

    Below is a short test program where I try to attachInterrupt(IRQ_LPSPI4...). It appears I am not using the correct value for the interrupt.
    I am looking at the MOSI signal on a scope and all the...
  11. There must be better ways to connect two...

    There must be better ways to connect two Teensy's... But this is just too perfect of a technique for updating an Electronic Speed Controller (ESC) using dShot 600/1200/2400 every 28/14/7 microseconds...
  12. Yes, but there are some constraints. The...

    Yes, but there are some constraints. The RT1060RM says you should wait for the end of frame (which can be caught with an interrupt). Yet, I think if you can add a new TCR command followed by the...
  13. I am definitely new to this... I got the SPIs...

    I am definitely new to this... I got the SPIs CIRFIFO (circular FIFO) working... It is very awesome! My program can setup the SPI, load up to 16x32-bits of data, and automatically keep the remote...
  14. Anyone have experience using the LPSPIx_CFGR0 CIRFIFO bit?

    This sounds awesome... Loading the SPI transmit buffer with a pre-defined message that you want to repeat, setting one bit (CIRFIFO - Circular FIFO Enable) in a configuration register, and then...
  15. After a bit of digging, I see the the Teensy 4.0...

    After a bit of digging, I see the the Teensy 4.0 SPI Library "maps" the internal LPSPI-4 to the external pins on the Teensy for SPI (CS:pin10,MOSI:pin11,MISO:pin12,SCK:pin13). LPSPI-3 is mapped to...
  16. Are SPI3 and SPI4 accessible? Can both MOSI & MISO be used to x-mit simultaneously?

    I was looking through the (Teensy 4) core code and noticed the definitions for SPI3 and SPI4 were defined. Is it possible to use the pin muxing on the Teensy to make the pins for SPI3 and SPI4...
  17. Most (current) RC electronics are still 5v... if...

    Most (current) RC electronics are still 5v... if I was to switch, would the Teensy 3.5 be a bad choice? Eliminating the electronics for converting between 3.3v and 5v woud be helpful (one less...
  18. Frank, Paul, Thank you for your responses. Both...

    Frank, Paul, Thank you for your responses. Both were helpful to me.

    I am doing a project in combat robotics, which relies heavily on RC technologies. My previous implementation was using an...
  19. How to find implementation details on Teensy 4.0 Libraries?

    I am new to Teensy development. I switched from using a 16Mhz Arduino because it was too slow for the type of real-time robotics control we needed. I had optimized the program to be completely...
Results 1 to 19 of 19