Well i guess i talked too quickly. It seems now that if i instead *remove* all the TeensyDebug stuff and just try to run a clean program i get the same behavior as i did before updating startup.c.
My platformio.ini
...
Here ya go. You can tell im having big issues getting the signals to have the same frequency because the wavetek is so out of calibration and has a stupid 80s membrane key interface that barely works lol
Well would you look at that, just like Paul said. It totally works now! I thought for some reason this commit was already in the teensyduino that was here https://www.pjrc.com/teensy/td_download.html but i was obviously...
So okay i did another test and here's a view of my scope. The cyan waveform is the output from pin 12 of the teensy and the magenta one is the output from my (a little wonky) wavetek with a -4V offset so both waveforms...
Alright so i did some investigation and im running this small program
#include <Arduino.h>
#include <TeensyDebug.h>
#include <Adafruit_ADS1X15.h>
#pragma GCC optimize ("O0")
Adafruit_ADS1115 ads;
So i downloaded & installed everything yesterday, including teensyduino however i found that the process was quite cumbersome and confusing so i might have done something wrong?
So i think i was confused because i'm...
So here's the tricky part; it fails *directly* after uploading and it does it very repeatedly. It seems that if programming the Teensy using the ADS1x15 library in combination with GDBStub just kills the entire USB...
ohhh well arent i the idiot, i didnt even think about it *not* programming the thing over USB so i didnt look for any other USB devices.. oh boi sorry for the noise - and thank you!
So i was tired of the clunky Arduino IDE and decided to try and get a proper debugging scenario working with GDB https://github.com/ftrias/TeensyDebug and PlatformIO under Visual Studio Code. After much struggling i...
Yeah i was surprised by this, im not sure what the reason it woudn't work is tho?
Oooohhh okay that makes sense, cool. Well i still never got the input measurements to work but ill have to get back to that in a...
It's weird but i wouldn't be too worried. I read the same on both of the *brand new* Teensys i have - and, they work excellently in all regards except i cannot measure frequency with either of them.
Well i tested it again and tho you are correct that it says pin 23 can't be used it clearly works for me which is odd. I also tested putting the signal on pin 18 which yielded the exact same results. To further add to...
Where do you get this from? It says in the list to use pin 22 as input pin for Teensy 4.0 when using FreqMeasure.
Btw i added a comparator to my signal and overdrove it to a completely clipped square @ 0 - 3.8Vpp in...
i didn't since its a super clean output from a high quality signal generator.
So this did work but to my surprise the output of pin 23 is 4.4Vpp despite the Teensy being 3.3V so i did a test and put an attenuator...
Hello. I'm trying to run the example program given on the FreqMeasure Librarys page
#include <FreqMeasure.h>
void setup() {
Serial.begin(57600);
FreqMeasure.begin();
}
double sum=0;