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

Search:

Type: Posts; User: Foxhood

Search: Search took 0.00 seconds.

  1. Replies
    4
    Views
    495

    Ah. yeah without a clock they wouldn't do much...

    Ah. yeah without a clock they wouldn't do much no.

    Genuinely seems like most often problems when going straight to register in T4 are oversights in the pad MUX and/or the Clock Controller
  2. Replies
    4
    Views
    495

    So what does work on the T4 code? does the CMP...

    So what does work on the T4 code? does the CMP itself in its entirely not work? Or only under specific circumstance? The code isn't quite as clear to me.

    Only wild stab in the dark i can make is...
  3. Replies
    8
    Views
    483

    Ah you are using the old AVR model. ok that one...

    Ah you are using the old AVR model. ok that one has different rules the newer 32-bit teensies.

    The AVR boards don't got a dedicated programming mode. On power-up/reset the bootloader will wait for...
  4. Guessing you come from the average Arduino. On...

    Guessing you come from the average Arduino. On the arduino the Serial pins are also the pins connected to the USB-to-Serial adapter.
    So whatever you can send to/from the arduino also pops up on the...
  5. I doubt us humans can spin an encoder faster than...

    I doubt us humans can spin an encoder faster than a Teensy can process them. Unless you can somehow turn them around thousands of rotation per second!!


    Yeah i figured the direct approach would...
  6. Replies
    21
    Views
    1,086

    Let me try to explain with an Analogy: Say you...

    Let me try to explain with an Analogy:
    Say you spin a coin 10 times per second and take photos of it.
    -If you take 20 photos per second you will see half the time being heads, the other half Tails....
  7. Have you checked if your signals are still high...

    Have you checked if your signals are still high enough? The Teensy3.2 may be 5V tolerant, but it doesn't output 5V like the arduino nano. It is still 3.3V and it is trying to control 5V ICs with it....
  8. Quite a few PJRC Pages are unfortunately still...

    Quite a few PJRC Pages are unfortunately still written with the original 8-bit AVR Teensy in mind. The 32bit ARM Teensy boards got really spiffy interrupt controllers capable of handling more...
  9. It genuinely sounds like your problem was just a...

    It genuinely sounds like your problem was just a case of the Arduino not getting told to properly switch the pins from being an Input to an Output that is pulling down. That has to be explicitly told...
  10. The Fast functions work on both the Teensy 3 and...

    The Fast functions work on both the Teensy 3 and Teensy 4 and is integrated within the Teensyduino core. So you don't need a library. Moment you say you want to use a teensy 3/4 board it'll compile....
  11. Replies
    42
    Views
    2,426

    This is just a very wild shot in the dark, but...

    This is just a very wild shot in the dark, but try planting this instruction at the end of your Teensy's sending while loop:

    asm("dsb");

    it is an assembly command called the "Data...
  12. Well you might want to first try out: ...

    Well you might want to first try out:

    digitalWriteFast()
    digitalReadFast()

    They are special macrocommands integrated in the Teensy that do as you describe: Skip the Arduino nonsense like...
  13. Replies
    3
    Views
    381

    Yeah i edited the post shortly after i realized,...

    Yeah i edited the post shortly after i realized, but i guess it ain't updated for everyone yet. Indeed Teensy 4.1 and indeed was my problem. I was not aware of that MUX configuration. I only had the...
  14. Replies
    3
    Views
    381

    GPIO Register question

    Hi i ran into a little blockade. I'm working on getting my teensy 4.1 to act like a old-timey RAM chip. So far it went pretty well. Managing to get most code to be optimal enough to have the teensy...
  15. That is indeed very close. same premise, albeit...

    That is indeed very close. same premise, albeit with Tristate Data-bus controlled by a Read/write and CS/address-decoding.
    I think i should be able to get what i want via a similiar code. Maybe cut...
  16. Emulating Commodore Ram with a Teensy4(.1)

    Ok so i got a couple of old 65xx series processors. The old fellas that you'd find in old computers like the Commodore.
    I want to play around with them a bit. learn how they work through practice....
Results 1 to 16 of 16