Shouldn't the crystals have some load capacitors nearby?
Type: Posts; User: mstiller
Shouldn't the crystals have some load capacitors nearby?
I use platform.io all the time. Usually the platformio.ini file which gets generated is ok, it would look like this:
[env:teensy41]
platform = teensy
board = teensy41
framework = arduino
Have a look at platform.io. It can be used with Visual Studio Code and has one-click build and upload buttons.
Sample code? 24/25 are not the standard i2c pins (which are 18/19) so i think you would need to do Wire.setSDA/setSCL to use that pins.
Multiple I2C devices are possible, pullup resistors (2k2 /...
Teensy 4.x as master and the other board as slave. Huzzah 8266 not working, Feather M4 working.
I think i have proof, that it is Huzzah related.
As i mostly use Adafruit Feathers it is very easy to swap boards around, as the pinout is the same.
So i took the non working huzzah code and...
On the Adafruit product page it is mentioned, that they use bit banging for i2c on that board. On the thread Kurt posted are people which mention that the 80Mhz of the huzzah might be too slow for...
Thanks for sharing, actually i also like the FeatherWing proto in your Github repo. :)
The code from the first post compiles fine here for teensy and platformio (latest).
What might cause the issue is some old globally installed library. My experience shows that using 3rd party libs...
Try to add:
#include <Arduino.h>
as the first include in main.cpp.
If this does not help, post your platformio.ini of the project and the errors.
Very cool!
Good to hear that the issues are solved now.
Try to put the code without the serial setup stuff in some testfn. Call testfn from setup. Compile and objdump -D firmware.elf, look at testfn.
Here it is like this:
0000008c <_Z6testfnv>:...
If the other programs don't use the AMA driver they will not crash if there is a race condition or bug in this driver. If you google for kernel oops cdc_ama you find some issues, so upgrading to a...
If you ask me, looking at the kernel oops, this might be a bug in the cdc_acm driver, any chance that you update the kernel and try again?
There might be a 5.x kernel available on 18.04, i think
Platformio update went seamless.
To me it looks like the code is now running faster as 1.52.
Cool, updating... :-)
Hi, i bit old this thread, nevertheless i find this interesting. Adding one example how to use to the repo would be helpful i think.
I want to reaffirm that. I killed a 4.0 by mistakingly touching a Teensy Pin with the red one. After that, i did cut the red one.
No issue, i'm thankful for the hints and tips and someone actually trying it out. Appreciate that.
What do you mean with "powered the DRV8825"? You connected Teensys VIN to RESET and SLEEP of the DRV?
I'm just wondering because in the polulu's diagram i used there is no VDD to the DRV8825. Just...
Thanks for testing. Interesting fact is, i switched the Teensy with an ESP32 and it works without issues so far. :confused:
20779
Thanks for all for the help. I'm thinking about ordering some cheap optocouplers and experiment with these.
Unfortunately i have no T 3.2 at hand but don't mind ordering one for experimentation.
...
Thanks, very good hints. I think some GND potential issue causes the Teensy to brownout / reboot.
@luni:
I did not connect Motor GND to Digital GND but according to...
Further debugging with Serial4 and debugPrint revealed that in fact the Teensy is just rebooting. (Without any "error" message before). Unsure why it gets into that flash loop sometimes if a simple...
Hi,
i have a Teensy 4.0 attached to a DRV8825 Stepper Driver using the minimal wiring diagram from here:
https://www.pololu.com/product/2133
The driver is connected to the Teensy using the...
Good idea, so A7 reads 1.75V and the 3.3Pin reads 3.28V.
Then i had the idea that maybe some internal pull-something is enabled and did a pinMode(A7, INPUT) before.
Now the values read: raw:...
Thanks for your answer.
It arrived today from the store and is a big one (6600mAh). I don't think it is fully charged.
If i understand you correctly i have to double the raw value, divide by...
Hi,
i am trying to read the voltage of a lipo accumulator attached to a Teensy Feather Adapter on a Teensy 4.1.
Reading works, but i have no clue how to calculate the voltage from the values...
Ok, thanks, i will have a look.
Hi Luni,
i think the lib could benefit from a
#ifndef YIELD_TYPE
#define YIELD_TYPE YIELD_STANDARD
#endif
This is just amazing.
According to the docs:
https://www.pjrc.com/store/teensy40.html
it is indeed copied to RAM.
-Michael
Today i learned that. Very cool, will have a look.
I think it should be not that hard to write a file to the sd card using http/https.
I am not aware of a ftp thing.
I posted a more or less guide these days:
https://forum.pjrc.com/threads/61297-Teensy-4-1-WiFi-(Howto)
Actually it is now even easier, as you can just use the Adafruit WifiNINA repo if you use...
More investigation reveals, that you can in fact use the Adafruit library https://github.com/adafruit/WiFiNINA
but you should use master and add this on top of the sketch:
#if...
I forked the lib fresh from master which looks better than the 1.3.0 version and applied a new patch to make it work out of the box.
https://github.com/gounselor/WiFiNINA
So please replace the...
PS:
I think that issue with the SPI pullups might actually be true. I remembered that the FeatherWing Logger has pull-ups, so i stacked another module. It looks gross now but worked at the first...
Hi all,
today my new parts arrived including an Adafruit Airlift Feather so i decided to connect the Teensy 4.1 to my WLAN.
(I think this would also work with Teensy 4.0)
Here is a bit of an...
You could do a quick test and add
__disable_irq();
before FastLED.show();
and
__enable_irq();
Thanks again for all your suggestions.
20508
Today it looked like exp-tech.de has the chips available again.
https://www.exp-tech.de/plattformen/teensy/9947/psram-chip-for-teensy-4.1?c=1168
Another possibility - as i am a big fan of that Adafruit Feather system - is to use their airlift feather wing and their teensy feather adapter.
This would then use SPI to communicate between them,...
I would do this via i2c. Teensy as slave and define my own "protocol" to do that.
Here is a thread about i2c:...
Thanks for all the suggestions so far. I ordered some stuff after having spend some time searching for a shop which has a Hakko in store.
Hopefully the stuff arrives before the weekend.
Thank you all for your suggestions, they are very helpful.
Thanks for the answers so far.
One question, what is a TS100?
Hi,
today i managed to "glue" the psram chips to the new teensy 4.1.
No, i will not show pictures how it looks. It is a wonder that the teensy and the chips still seem to be ok.
I have the...
Mine arrived today with the Teensy 4.1. Seems that they did not have many in stock after all. I ordered only 4.