U4 is the chip expected to get hot if the 3.3V power is shorted anywhere on the board.
Try measuring the 3.3V power. If you see 3.3V, then looking at chips other than U4 may be worthwhile. But if you get...
The servers are physically located in Tampa, Florida, USA. Just to put the ping times in perspective.
Can anyone outside the US comment with the ping times? Many times I've wondered if we should use a CDN. Or...
Right now, the urgent situation is IP numbers are getting reassigned, so we have to switch to different IP numbers. Both servers need to change IP numbers.
The path of least resistance probably would have been to...
Oh, looks like we're going to have about 20 minutes down time.... soon, while they do some sort of reconfiguration on the server. Should be just the forum down. Main site should stay up.
Indeed it's never that simple. The forum also needs to change IP number. Looks like it will become 66.232.106.something.
The hosting company is working on remote console access, which apparently never got set up...
The server switch-over is at about 95%. Hopefully the site is all working at the new server (162.254.150.250)?
Question... are you getting the forum's notification emails?
Now for some guesswork, since I don't know and can't reproduce the problem.
First, check which version of Teensyduino you have. In Arduino 1.8.x, click Help > About. In Arduino 2.0.4, click Boards Manager and...
I ran it here on a Teensy 4.1 with PT8211. I've uploaded about a dozen times. Haven't needed to press the pushbutton on Teensy 4.1 yet.
Robin just walked in to see what that weird sound was about, as the red audio...
Looks like this from your makefile (color for each part)
$(TARGET).elf: $(OBJS) $(MCU_LD)
$(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS)
resulted in this command line executed (color for each resulting part of the...
This weekend we're moving the main PJRC website to a new server. Hopefully everything will go smoothly and the only disruption will be the shopping cart offline for several hours.
The forum is hosted by a separate...
Cutting the red wire is a good approach if using external power.
Removing the TPD3S014 chip doesn't change anything.
Also, normally TPD3S014 doesn't overheat, and it certainly should not overheat if you haven't...
Prices you see at PJRC and most other US websites don't include European VAT or tariff. Often the carrier will demand an additional payment when they deliver the package, to collect the VAT and tariff charges. ...
Sure enough, I can see the overshoot and undershoot on the cyan waveform.
Looks like your scope is triggering on channel 2 (cyan). Can you change it to trigger on channel 3 (magenta), so we can get a good look at...
Try changing #include <FLOAT.h> to #include <float.h>.
The filename is all lowercase. Using uppercase probably works on Windows and most MacOS, but will fail with a case sensitive filesystem used most Linux systems...
This is incorrect.
Teensy 4.x after the 15 sec restore, and every brand new Teensy, does indeed have USB communication as RawHID. The tiny program packed into just 4K at the end of flash memory, which gets copied to...
Wow, this is overly hostile and downright rude.
He did essentially show us the code in msg #9, it turns out to be just one of the published examples with IP number edited for his LAN... which is what I had assumed...
Try something like:
File subdir = sdSDIO.open("/EnvironmentalData/mydata.txt", FILE_WRITE_BEGIN);
If that doesn't solve your problem, try showing us a small but complete program so we can see and reproduce the...
Are you sure that new ethernet to usb c adaptor really works?
Theoretically, yes, this is possible. Or at least I believe it is possible based on the documentation. I have not personally tried it.
As a...
Can you show us the measurement? If your scope doesn't have screen capture, just a quick cell phone photo of the screen should do.
I tried the code from msg #4. Amazingly it does measure 600 Hz even when using pin...
This would definitely break the power up sequence at step #7. Details here: (scroll down to "Power Up Sequence")
https://www.pjrc.com/store/ic_mkl02_t4.html
The bootloader chip waits until the 3.3V power reaches...
You would need to wire the 2nd board's SDA & SCL signals to a different I2C port.
Later in 2023 we'll get the 32 pin chips and start making Rev D again.
Indeed DP83825 does support Auto-MDIX. It's inside the chip on Teensy 4.1, not part of the ethernet kit which adds the magjack.
Auto-MDIX is enabled by default. You can test it by starting with a known-good system...
Can you try newer cards, like 8GB or larger?
Modern versions of SdFat have a known bug where very old SD cards don't work with SDIO (the built in socket or BUILTIN_SDCARD). Usually these ancient cards are 64MB to...
Yeah, it's bytes.
Where KB is understood to mean 1024 bytes, and typically you would round down to avoid any risk of overstating the amount of available memory, the answer would be 305KB.
Look in /Users/{yourname}/Library/Arduino15/packages/teensy/hardware/avr/{version}/cores/teensy4
where {yourname} is your username on your Mac and {version} is whatever Teensy package version you have installed,...
To explain further, that info you're seeing is a summary of the anticipated memory usage of the program you've just compiled. This is before the program runs on your Teensy hardware. It's just info about the file on...
That's not the test result.
To see the test result, after uploading you need to open the serial monitor. If you didn't select the proper port before uploading, you need to select it first with Tools > Port. ...
Yes, check out Bill Porter's EasyTransfer library. It's included with the Teensyduino installer. For non-Teensy boards, I'm sure you can find a copy online.
You might need a slower SPI clock speed. Wiring could be an issue, but my main concern is the SD breakout board you're using looks like it has a buffer chip. Some of those chips are quite slow. Usually they are...
I'm also a bit skeptical those SPI-based ethernet chips can ever achieve low overhead, even with use of SPI FIFOs and DMA. Will admit, I really only have experience with Wiznet W5500. I haven't used ENC28J60. Maybe...
As far as I know, nobody has written any libraries to use those SPI-based ethernet chips with DMA. Will you do this work? Are you experienced in writing such DMA-based code? It's not easy and if you haven't done so...
SPI-based Ethernet like ENC28J60 or Wiznet W5500 usually gives moderate performance and also costs high CPU overhead. Probably not aligned with your project goals (which I don't really understand, other than you've...
Committed a fix on github to just comment out that 400 Hz limit.
https://github.com/PaulStoffregen/WS2812Serial/commit/74c469ec35153639a6f9609c2e433bbf391c74c8
Looking into this today. Indeed it is much slower. Tracked it down to this line in WS2812Serial::show()
if (min_elapsed < 2500) min_elapsed = 2500;
I believe this is a leftover from the days when...
I can confirm that kit provides the parts needed to connect an ethernet cable to the ethernet port on Teensy 4.1.
Hopefully this fact is clear from the written info and photos on that page?
What are you planning to do that's expected to consume so much CPU power?
If you use I2S or TDM with DMA (as the audio library does) simply moving data in and out is very efficient. Simple processing like mixers use...
If you just want to send the low 8 bits, as Serial.write(integer32) does, use this:
Serial.write((byte)integer64);
If you want to send all 8 bytes, use this:
Serial.write((char *)&integer64, 8);
If you want...
What does "channels" mean? Is it some analog signal like a pressure or temperature sensor? Or are you looking for many simultaneous audio streams? Or something else?
Those are audio ADC and DAC chips which use I2S or TDM protocol. They are not SPI.
You can use them with Teensy 4.1 because I2S and TDM are supported. But SPI would be the wrong way.
This is why the details are...
Can you be more specific about the devices involved? These details matter! Your picture seems to show connecting 3 Teensy boards together, but the wires are connected in random places which aren't even SPI pins (the...
I don't really understand what help you really need.
Maybe you're asking in general how to connect SPI chips? Perhaps this article can help?
https://www.pjrc.com/better-spi-bus-design-in-3-steps/
Maybe you're...
Dealing with 2 problems at once is more than twice as hard as tackling each on its own.
Please understand this error is entirely due to something wrong on your PC. It has nothing to do with the Teensy hardware.
...
Teensy 4.1 has a default fault handler which tries to automatically reboot after 8 seconds. You didn't mention anything specific about timing, so this is just a blind guess, but maybe the problem you're seeing is...
Pressing (and then releasing) the pushbutton on Teensy 4.1 should do *something*. You should at the first least observe something happen with the red LED located near the USB connector.
If you suspect your Teensy...
First, let me clearly state all the PWM pins can have their PWM duty cycle controlled independently. Your program doesn't seem to be controlling the frequency. But if you did, the independent nature of every PWM pin...
The pushbutton on Teensy is Program, not Reset. Pressing the pushbutton causes your Teensy do go into programming mode. It does NOT cause Teensy to restart your program.
But if you have USB connected and Teensy...
Here is test setup on my workbench. No USB. Power is from a 5V power supply.
Yes, you can see in the waveforms the 5V power turns on and then almost immediately (in the 2 second scale shown) the 3.3V power...
Programmed your code onto a Teensy 4.0 using Arduino 1.8.19 + Teensyduino 1.57.
When I power cycle the board, here is the startup my oscilloscope sees in the first 2 seconds:
red = 5V power from USB
blue =...
Blind guessing... (since you didn't show us what you've attempted)
Maybe you're using the Time library?
Maybe you didn't use setSyncProvider() to cause the Time library to sync to Teensy's RTC clock? To see how,...
No, not with Teensy 4.0. The QSPI pins aren't accessible on Teensy 4.0. They're only available on Teensy 4.1.
Most audio projects use only the internal memory.
Scroll up.
It should be in the "Examples for Teensy 4.1" section.
Or maybe Arduino IDE is confused by 2 libraries called "Audio" and that other one is overriding Teensy's Audio library? If that's the...
While the hardware doing 9 blink error, does the 15 sec restore get the board back to a usable state?
If you're not familiar with this, just press and hold the pushbutton for 13 to 17 seconds. At 13 seconds, you...
First, the same question I always ask with PlatformIO issues.... can you check whether the problem also happens using Arduino IDE?
Using either software, does the problem happen if you load the code onto a Teensy 4.1...
What is powering the Teensy and audio shield? And when you listen to the line out signal, what equipment is used and how is it powered?
Unintended noise on the line out but not headphone output, correlated with...
Yes. Writing in 4K or larger chunks is the most effective thing you can do to increase performance.
Probably not. Even if it does happen to work, you should not rely on it, as SD cards have a max spec of 25...
With just a quick look at the datasheet from the link at the end of that page, my first impression is you probably need to add at least a transistor, a diode, and probably 2 resistors to make this part control a relay....
It is not identical to Arduino's HID libraries. But hopefully you can see clearly how to use it?
In Arduino IDE, click File > Examples > Teensy > USB_Joystick for example programs to get started. They can also be...
Please start a new thread. (and quickly here... very old SD library had an issue like this many years ago, was fixed a very long time ago, and since we've switched to SdFat)
You could try editing the code to specifically tell it to use SPI.
Looking at that specific SDinfo example, my best guess is you would delete all these lines in red and keep the line in green
// Try to select...
I don't know anything about that product. Quick Google search landed here:
https://www.anker.com/products/a1231-1
Looks like it's just 5V USB power. Should work fine. Or at least shouldn't damage anything, but...
Or just for diagnostic sake, without any other power, I'd try applying 3.3V from a current limited power supply. If you get the same 0.4V, then desolder U4. If you continue to see 0.4V without U4, that's a pretty sure...