I finally got the display wired up and have it running here too, showing a super exciting view of my oscilloscope from the workbench.
Send another pull request, just minor stuff & compiler warnings.
A little breakout board to play with the signals on a Teensy 4.1 arrived last night from OSH Park. I build one this morning.
I'm running the camera completely on 3.3V. Haven't looked at the data yet, but it...
I tested just now by adding Serial.println("test"); to main.cpp. That original Makefile compiles it properly. I uploaded the hex file to a Teensy 4.0, and indeed it does print "test" every second when I open the port...
I believe the Himax HM01B0 camera does support HSYNC gated PCLK. Try setting bit 5 (mask 0x20) in the OSC_CLK_DIV register (address 0x3060).
Maybe change this line in HM01B0.cpp
{OSC_CLK_DIV, 0x0B},...
That crystal should be fine. From everything you've said, especially that you do observe the crystal oscillating under some circumstance, I'd say the crystal is very unlikely to be your problem.
There are 2...
The "queue" objects are meant to let your program get access to the actual audio samples. See File > Examples > Audio > Recorder for sample code. Edit that code to delete the part which writes to a SD card and instead...
I also want to know why it would do this, because it should not normally blink 8 times if you have used the IMXRT1062 chip.
But I can not see your PCB. I know nothing of its design details. Even if I had the design...
@mamdos - Can you tell me which hardware you're using for passive PoE? If I wanted to experiment with various diodes and resistors, which gear should I buy to give me the PHY-destroying scenario you had?
Looks like you changed Wire to Wire1 only in setup().
You also need to edit these lines in loop()
Wire.beginTransmission(address);
error = Wire.endTransmission();
That probably explains why the ML carrier board schematic has the wrong I2C address. The Himax camera is address 0x24. OV7670 uses 0x21, according to a couple pages I could find.
To try answering your question....
This really depends on what you meant by "functional difference".
The short answer is they use exactly the same communication. I have made every effort to keep the functions...
By default, the timers used by IntervalTimer run directly from the 24 MHz crystal clock.
No. The 24 MHz clock they use is fixed at 24 MHz, regardless of how the rest of the chip runs. Well, expect in the...
Looks like Sparkfun's ATP carrier board lacks any sort of USB host current limiting or even a 100 or 150 uF capacitor.
As far as I can tell none of their other boards do USB host, so they're probably not yet familiar...
Did you solder GND which is next to pin 0, or GND which is between VIN and 3.3V?
The one next to pin 0 (on the audio shield) must be connected. It will not work if you used a wire only on the other GND.
Ok, 7mm it is!
Here's roughly what I have for a breakout board with alternate camera pins.
As you can see, I also routed pins 0-23 to a Teensy 4 layout so we can plug in shields for testing.
The 24 pin FFC...
I started a quick carrier board design which brings out the pins and attempts an alternate 4 bit camera connection which should leave all the audio pins available.
Does anyone know the correct distance from the M.2...
The udev rules changed since 1.53 was released.
Here are 3 possible solutions.
1: Run "sudo cp /tmp/49-teensy.rules /etc/udev/rules.d/" as the installer suggests. That will put the 1.53 version of udev rules onto...
If you're running I2C at the default 100 kHz clock rate, maybe try adding small capacitors between the signals and GND, located close to Teensy. Shielding the I2C wires might help too.
Yes, though "blind guess" would be a better phrase than "explanation" when we can't see your code or which library you're using or your wiring.
So here's a few blind guesses
1: The library might be hard-coded to...
I can confirm 5.2V is perfectly fine for VIN & VUSB, as long as there isn't a large spike above 6V during startup.
I'm sad to say 0.65V is a pretty bad sign, likely hardware damage. When 3.3V power measures only...
Sounds like a defective or damaged board. I asked Robin to contact you directly. If you can, please try to find the 6 digit order number from your purchase.
If you do the 15 sec button press, then wait about 1 min while it wipes all the flash, please know the LED blink program you get after that process is complete implements RawHID, not Serial. So it is supposed to be...
Very unlikely. If uploading still works, the hardware is almost certainly still good.
First step is to check Tools > USB Type in Arduino. If that got changed to any of the settings withing Serial, then no COM port...
With the audio library, you can use AudioMemoryUsage() to see how much of the AudioMemory you reserved is actually in use. Details here:
https://www.pjrc.com/teensy/td_libs_AudioConnection.html
Using the more...
Yeah, saw that. The code is in so many files with so much extraneous abstraction layer stuff that it was simpler just to write minimal code from scratch. Maybe we'll use that library eventually, but pretty much...
Ok, I've played with the HM01B0 camera a bit more. It seems to be 3.3V tolerant, even though Sparkfun's is powering it with 1.8V.
It's definitely transmitting 1.8V signals which is pretty marginal for receiving with...
I got the camera to start answering I2C with the Wire scanner example. This is needed to turn make the camera respond.
// turn on power to camera (1.8V - might be an issue?)
pinMode(2, OUTPUT);
...
Looks like the camera needs 1.8V signals with the way Sparkfun wired ML carrier board. But they have 2.2K pullup resistors on SDA & SCL to 3.3V, so I don't really understand how they intended this to work.
The...
It is unfortunate the way Sparkfun connected the microphones.
When(if) the camera is working in 4 bit mode, perhaps we can convince them to make another base board with the camera using only pins 40-45 and connect...
The tentative plan for Himax HM01B0 camera support is to use FlexIO2, similar to AN12686. I'll attach the PDF to this message.
HM01B0 pin pin# NXP Usage
---------- ---- --- -----...
Ok, here's a fix. Find w5100.h. It should be in {Arduino}/hardware/teensy/avr/libraries/Ethernet/src/utility. Search in the file for "__IMXRT1062__" and edit the resetSS function like this:
#elif...
Looks like we may be doing something too fast for that old W5100 chip.
I did get W5100 to work with Teensy 4.0 by setting Tools > CPU Speed to 150 MHz.
And to answer your question:
It's been used many...
Looks like W5100 may be not working with Teensy 4.0.
I tested just now. W5200 & W5500 definitely do work with Teensy 4.0, but W5100 doesn't seem to initialize.
All 3 work work with Teensy LC & 3.2.
It really depends on what sort of applications you will develop.
Most programs use RAM1 for nearly all variables and RAM2 for buffers and larger arrays. Sometimes the PSRAM is really needed when you just can't fit...
That's really a question for Sparkfun.
While I understand everyone has a lot of questions about this not-yet-announced product, please try to be patient. Holding a Q & A session before release really isn't...
I have not personally tested this way, but from NXP's documentation it probably should work.
As with all freshly designed PCBs, best to build & verify only a few prototypes before committing to production quantities....
Hold the control key and click Teensyduino. Click Show Package Contents.
In the new package contents window, navigate to Contents > Java > hardware > teensy > avr > cores. There you will find folders named teensy3...
Teensy MicroMod is entering beta testing. A beta test units have been sent, to Defragster, KurtE, and mjs513. A few more might become available, if anyone is *really* interested.
Teensy MicroMod is a collaboration...
Try replacing "reinterpret_cast<char*>(sbrk(0))" with "(char *)&_heap_end".
EDIT: oh, wait... using "&top" is completely wrong for Teensy 4.x.
Try this instead:
extern unsigned long _heap_start;
extern...
I have Windows 7 Home Premium here on a laptop, but it's got an i7-2760QM processor, not Celron. It's a relatively clean & unused Windows 7 install, mostly just for testing Teensy hardware. Do you think I could...
We should probably also (someday) extend AudioEffectDelayExternal to have a mode where it just works with a user allocated buffer. Then it could be used with 16 MB on Teensy 4.1. Not only can you have twice as much...
Yes, eventually we may need I2S input with scaling. Or maybe a floating point extension like Chip's mods to the library. But at this moment, so many other things are much higher priority, so it's unlikely to happen...
I ordered one of these IM69D130 boards from Digikey. It'll probably arrive in 1 week.
My gut feeling is the code from msg #1 was probably working, but the signal level is too low to see with only 2 digits past...
I'm not a Raspberry Pi expert, but my understanding is their boards need 5V power and they create their own 3.3V. That's also how Teensy normally works.
The 250 mA output is for Teensy's 3.3V regulator. That ought...
As AudioEffectDelayExternal exists today, no. It doesn't support the 8 MB PSRAM chip.
But it should be possible to add PSRAM chip support to AudioEffectDelayExternal, since it's pretty similar to 23LC1024. Some...
Indeed blocks are used for efficiency.
The "patch cord" connections between audio processing objects are implemented using shared reference counted copy-on-write blocks. Usually the last 2 functions are...
Not quite sure what you really want to ask, but I see 2 specific questions, so I'll try to answer those.
Reading from RAM takes 2 cycles, or only 1 cycle if the previous instruction is a "related" read.
I...
Before you dive into the complex low-level details, I'd suggest first running this very simple benchmark.
https://github.com/PaulStoffregen/USB-Serial-Print-Speed-Test/blob/master/usb_serial_print_speed.ino
If you...
It does indeed use DMA. There are the specific lines for USB serial transmit.
usb_prepare_transfer(xfer, txbuf, TX_SIZE, 0);
arm_dcache_flush_delete(txbuf,...
Remember, we can't see your screen, we can't know what you're actually clicking or doing while attempting to install the software. Unless you do something like record a screencast video to actually show what you're...
Just to confirm we're talking about the same thing, after you have installed Teensyduino, you should see something like this when you click Help > About in Arduino.
If you used the stable release from the...
First make sure you have a supported version of Arduino. 1.8.13 works, but no the "app" version from the Windows store. You need either the normal Arduino "Win 7 and newer" EXE installer (easiest) or the non-admin ZIP...
Yes, both I2S master & slave modes work fine with Teensy 4.x.
And just to keep things in perspective, this old thread was last updated (before today) in July 2019. Back then Teensy 4.0 was not yet released and only...
Like all electronics, it can't work if it's not getting power. The best way to check is with a voltmeter. Check both VIN-GND and 3.3V-GND to make sure your Teensy 4 really is powering up.
Very difficult to...
Looks like the "Shield2Go" part is really a ADAU7002 chip which converts PDM to I2S. It also has a 1.8V regulator and 1.8V to 3.3V level shifters.
Really looks like this should work. The wiring you described looks...
Where is this IM69D130 board sold?
Edit: found it at Digikey!
https://www.digikey.com/en/products/detail/infineon-technologies/S2GOMEMSMICIM69DTOBO1/9922560
Rigol DS1054 should work. Just don't configure for deep memory, as that causes those cheap scopes to run terribly slow. The bandwidth and sample rate aren't the main limitation. How quickly the scope can capture &...
Yes, this is fundamentally how USB device mode works. Well, the way buffers are allocated can of course vary. But the concept that packets must be put into a buffer and get actually transmitted later is a fundamental...
NXP's info is a bit confusing. None of the parts actually end with the number "0". When they write "RT1060", they actually mean several different chips. It might be clearer if they wrote RT106* or RT106X. To make...
Maybe delete the copy in D:\_Arduino\libraries\SmartMatrix, so Arduino will then use D:\_Arduino\libraries\SmartMatrix-master.
Or just move it somewhere else on your computer were Arduino doesn't look for libraries.
I usually put a pair of digitalWriteFast() into the code and watch the pulse width on my oscilloscope. One reason I really like using my scope is all sorts of anomalous behaviors tend to show up on the screen as...
I want to help. But with so little info, not sure what I can do.
The new T4 bootloader is supposed to blink the red LED when things go wrong. Details are at the end of the T4 booloader chip page.
If you get no...
FFT isn't nearly as good as you're assuming!
1024 FFT refers to the number of audio samples that are the input to the FFT. A very important aspect (limitation) of FFT is it gives you the spectrum as if those 1024...
Teensy 4.1 uses MIMXRT1062DVJ6A, not MIMXRT1062CVL5A. You're simply mistaken about the part number!
I can confirm PJRC will switch Teensy 4.1 to MIMXRT1062DVJ6B sometime after our supply of MIMXRT1062DVJ6A chips is...
The Wire & SPI libraries don't have a way to enable a constant clock.
But you can get a constant clock very easily with analogWriteFrequency() and analogWrite(), if you just want a clock signal for something...
I still have no comment at this time, same as I said on msg #392.
But I definitely do hear. You can set the drum down for a little while if it's getting heavy. ;)
There are 3 main differences.
1: headphone output has an amplifier capable of driving headphones (but not speakers)
2: headphone has digital volume control
3: line out is ground referenced, where headphone has...