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

Search:

Type: Posts; User: MakerBR

Search: Search took 0.00 seconds.

  1. Noted! thanks Paul. But It was just for...

    Noted! thanks Paul.
    But It was just for debugging. So I guess that is okay:).
  2. I was checking out PIT recently on teensy 4.0....

    I was checking out PIT recently on teensy 4.0.
    Although you can setup 4 different timers. It seems that you can use only one interrupt out of four PIT timers. you can change PIT_LDVALx = (Required...
  3. Based on those suggestion I tried this code. I...

    Based on those suggestion I tried this code. I changed the data before each cycle and used the return value.
    But still it is executing at the same speed.
    I am not familiar with ARM architecture is...
  4. Can this be explained how these two take up same...

    Can this be explained how these two take up same amount of time. I am confused.......

    const uint16_t mask1 = 0xcfcf;// 1100 1111 1100 1111;
    const uint16_t mask2 = 0x0030;// 0000 0000 0011 0000;...
  5. Woo, that looks somewhat tricky. Here I ran...

    Woo, that looks somewhat tricky.

    Here I ran another test, i didn't print data. For some reason returning GPIO6_DR is slower than creating a local variable and returning it.

    It may make sense...
  6. I noticed that you have used the GPIO6 for all...

    I noticed that you have used the GPIO6 for all the 16 bit, but some of those pins are on the backside of the board which are inconvinient to use.
    Also I mentioned the same in the readme file that...
  7. Teensy 4.0 PORT manipulation to read/write data to multiple pins

    I have noticed that lot of people been asking about port manipulation example code and I was also searching for the same. After reading some documentation I came up with these program to read/write...
Results 1 to 7 of 7