Noted! thanks Paul.
But It was just for debugging. So I guess that is okay:).
Type: Posts; User: MakerBR
Noted! thanks Paul.
But It was just for debugging. So I guess that is okay:).
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...
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...
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;...
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...
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...
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...