I don't believe internal exceptions like SVC or PendSV need it because they don't go through the NVIC. But for externally triggered exceptions that require writes to memory-mapped registers to clear their interrupt triggers, especially if those...
For anyone who finds this later:
I can confirm Teensyduino 1.18 works with original Teensy++ and requires Arduino v. 1.0.5 available here: https://www.arduino.cc/en/Main/OldSoftwareReleases
Are you using TeensyDuino 1.18 and Arduino 1.0.5 per...
Thank you for your suggestion Chris. I tried adding the suggested change, as follows.
// slew rate
CORE_PIN11_CONFIG |= PORT_PCR_SRE;
CORE_PIN12_CONFIG |= PORT_PCR_SRE;
CORE_PIN14_CONFIG |= PORT_PCR_SRE;
CORE_PIN15_CONFIG |=...
I proposed this a while back (for other internal handlers too) but Frank B had pointed out that we shouldn’t do this always. I still don’t always know when it’s appropriate. My current mental model is that when the interrupt register is handled...
Hi,
I have found an old Teensy++ 1.0 and don't want to throw it away. I found this Thread with old Software to make it work again: https://forum.pjrc.com/index.php?threads/teensyduino-support-for-teensy-1-0.60870/
But all code examples do not...
IIRC::
Teensy 3.x before 4.x put the time in the hex when building and that would be used to set on starting if 'not set' - even days later.
For T_4.x the better usable solution was to have the Loader Teensy.exe pass the time during programming...
Update to a more recent version of Teensyduino, e.g. https://forum.pjrc.com/index.php?threads/teensyduino-1-59-beta-4.73995/
The errors are caused by wiring.h declaring abs() as a macro, conflicting with the standard library definition.
Hi,
I'm trying to include a library that was not specifically written for Arduino/Teensy in a project.
It compiles perfectly on a Raspberry Pi 5 with gcc/g++, but can not get it to compile for Teensy 4.0.
To me, the weird thing is that I'm...
Thanks! Let me know if you have any problems / questions with anything. Your xr-1 groovebox looks amazing and am enjoying the jams you've posted! I'll be following your progress.
On a related note, I've been screwing around with FM as too. The...
There is startup code that detects if the RTC is uninitialized and sets the current time to Jan 1, 2019: https://github.com/PaulStoffregen/cores/blob/master/teensy4/startup.c#L171
This sets the "initialized" flag so you can't tell if the clock...
I backed up 'usb_desc.c.' and 'usb_names.h' and copied the contents of the attached files above to each respective file. This resulted in multiple errors. A way to fix would be awesome.
Are these changes compatible with Teensy 4.1? I'm new to the Teensy world and would rather not make assumptions that could lead to weird bugs down the road.
calbertoferreira:
Yes, I confirm that you have the correct pins. In addition to these pins, as you said in your earlier post, you will also need to connect GROUND & the 3.3VDC pins. The T4.x has multiple GROUND pins, but the Audio Adapter...
EEPROM write versus SDHC is an odd comparison?
As noted the EEPROM writes are done with the focus on minimizing wear with overhead in each byte written to do that and then when needed and on the fly block format will happen to restart the data...
That is correct, you have only adjusted the first instance in which it is checking the input buttonRecord to see when the handset is lifted. There are many other IF statements used to see when the handset is replaced. You will need to adjust...
Hello, is there a way of getting a "heads up" flag or similar when a teensy 4 firmware update is going to happen? I have some DC motors connected to my Teensy 4 and whenever i engage in a firmware update they go full blast while the update is...
Ah well it gets even weirder. The teensy is outputting this hello world message with the counter. Must be the blink sketch? But it’s writing code directly into arduino sketch file at the cursor position.
Odd . Every time I plug this other teensy in I get this hello world text appears in the ide in my code at the cursor position. The integer increases each time. Still can’t see it as a port, but teensyduino responds to a button press on tge 4.1. I...
So I’m compiling and uploaded to my t4.1. Everything goes weird. The teensy does not boot. I can no longer see it as a port in arduino. I check the pc, leads to a restart. Get a blue screen. Finally manage to get the pc back up. Open up arduino...
When first programmed the Teensy will automatically have the Compile/Date time.
If you wish to get that date/time on subsequent powering of the Teensy you can use the code below:
Serial.print("Compile: Date "); Serial.print(__DATE__)...
Hi!
I've seen in other posts that it's possible to use the USB_MIDI_AUDIO_SERIAL flag to use teensy as a USB soundcard and write to the Serial console. Is it also possible to communicate using OSC on the same USB port? I've tried but I couldn't...
For my project I want to measure the phase between two input signals. The input signals have a sinusoidal shape and the exact same frequency. The frequency can be in the range from 100 Hz to 10 kHz. The AudioAnalyzePhase_F32 object from the...
Sorry I don't know the CYD... Mine are mostly RED...
In some places in the code, I have simply winged it. That is I setup a sketch that echos the raw touch points and figure out MIN/MAX values.
Like in one sketch I have:
#define TS_MINX 337...
Hello!
Just wanted to share with you that everything works! Thanks for all the inputs and comments!
Now I'm running at 1MHz: I have a problem with digital bleed and running at lower speed helps reducing it a lot. What happens is that when I...
Using a 320 x 240 2.8" touch screen with ESP32...what is being called, by some, the CYD (Cheap Yellow Display)...I am having difficulty figuring out how to translate the position of a touch (e.g. X = 2077, Y = 2025) to the pixel position as...
Maybe you should ask for advise about Arduino's boards on Arduino's forum. Of course it's ok to talk about Arduino's products here, but as a practical matter of reaching people with knowledge and experience using those boards, asking in the...
I just got my Teensy's ordered! Was looking at the ref manual and see that at least some of the lp-uarts have the "single-wire mode" that we need for SDI12 communications, so that is a good start. I haven't really dug into the T4's serial code in...
Good morning @mjs513,
I guess I should probably dig out a T3.6 to see if we can get any clues on the difference between it and the Micromod. Although I don't think I have those controllers.
I completely agree with you, that their current...
Just chiming in on this thread to thank both of you for helping me also with my own little project Trim/Faders for channel 7&8 on my 833
It works flawlessly thanks to the info I got from your conversation :)
Currently working on a breadboard...
Must admit, at this point I don't recall what prompted the .1 and .2 updates, but I'm sure it was very minor stuff. 1.57.2 from Boards Manager in IDE 2.2.x is essentially the same as the 1.57 installer for IDE 1.8.x.
Good morning @mjs513,
I guess I should probably dig out a T3.6 to see if we can get any clues on the difference between it and the Micromod. Although I don't think I have those controllers.
I completely agree with you, that their current...
Another interesting question might be, do you really want 1.57? As for example if you look at the Arduino Board manager (Arduino 2.x), you will see the list of downloads of:
And there the 157 is actually 1.57.2, I don't remember if The .1 and...
I know that I am sort of late to the game. It has been a while since I have played with MTP.
As far as alternatives, I believe it was either MicroPython or CircuitPython that implemented something like TinyUSB or the like, which allowed you to...