-
Older Activity
-
Yesterday, 09:55 PM
I'm a bit confused, trying to parse this
Neither board has 3V power? Or one does and the other does not?
8 replies | 142 view(s)
-
Yesterday, 08:52 PM
If it's completely unresponsive, let's first look at whether it's getting power....
Try using a DC voltmeter to measure VIN-GND (should be about 5V) and 3.3V-GND (should be 3.3V).
8 replies | 142 view(s)
-
Yesterday, 07:13 PM
The jack on the audio shield is output only, meant for headphones. To get a signal into the audio shield, you need to connect it here:
Probably best to start with this 31 page tutorial.
...
3 replies | 70 view(s)
-
Yesterday, 06:15 PM
Usually these sorts of mysterious problems are due to a buffer overflow. Adding even an unused variable tends to cause the overwriting to corrupt something else (which is less critical and doesn't make your program...
3 replies | 47 view(s)
-
Yesterday, 12:28 PM
You need to edit usb_desc.h. See the comments in that file for details. Pay attention to the folder name, as 2 copies exist for Teensy 3 vs 4.
5 replies | 71 view(s)
-
Yesterday, 11:39 AM
Very difficult to say what's going wrong here, but it does remind me of painful problems as couple people experienced with Traco DC-DC step down converters they bought from Adafruit. As I recall, the Traco datasheet...
2 replies | 35 view(s)
-
Yesterday, 10:58 AM
With Teensy 4.0 / 4.1 you could do this using SPI1 on pins 26 & 27.
But with Teensy 4.0 those pins are on the bottom side pads which aren't as convenient as the outside edge pins. The SPI hardware registers are very...
12 replies | 195 view(s)
-
04-15-2021, 09:00 PM
Sure, why not.
Hopefully no big surprises here, since you should be able to see these traces by just looking at the PCB before soldering.
5 replies | 68 view(s)
-
04-15-2021, 07:36 PM
It is indeed unfinished, but does partially work.
Make sure you're using the latest beta. In Arduino, click Help > About to check which version you have installed. If it's older than 1.47-beta7, get the installer...
6 replies | 108 view(s)
-
04-15-2021, 12:27 PM
Any chance the file is actually stereo data? In that case, the WAV file player will de-interleave the samples and send each channel to its 2 outputs. But the raw player will just give you all the samples as raw data,...
2 replies | 45 view(s)
-
04-15-2021, 11:52 AM
Very unlikely your Teensy 4.1 is defective. The Linux kernel is detecting "New USB device found, idVendor=16c0, idProduct=0478, bcdDevice=1.05", which is a strong indication the bootloader is working properly, and also...
2 replies | 66 view(s)
-
04-15-2021, 10:10 AM
The bottom (green) trace isn't SPI at all. It's from this:
void loop() {
while (1) {
digitalToggleFast(2);
}
}
12 replies | 195 view(s)
-
04-14-2021, 01:11 PM
I've not heard of anyone has writing code for Pico to work with Teensy's audio shield. I did see a few people working on generic audio stuff (not specifically for SGTL5000 or this shield) but it looked like a pretty...
203 replies | 13584 view(s)
-
04-14-2021, 12:55 PM
SPIFIFO isn't really recommended anymore, but I decided to give it a quick try just to see how much of the CPU time on a Teensy 3.2 would remain unused if an IntervalTimer uses it every 5 microseconds.
Here's the...
12 replies | 195 view(s)
-
04-14-2021, 09:24 AM
Yes, there is a solution. All you need to do is use a recent beta version, because PDM support for Teensy 4.x was added after 1.53 was released.
Get it here:...
16 replies | 1126 view(s)
-
04-13-2021, 03:19 PM
Yup, let's fix the struct in imxrt.h and see if anything breaks. ;)
EDIT: committed a fix. https://github.com/PaulStoffregen/cores/commit/64f7d7c1eededf0102510530a4e621395c4d51f7
522 replies | 8228 view(s)
-
04-13-2021, 03:04 PM
Yup, sent a pull request just now. I'm not sure it's 100% working yet. I'm seeing a lot more VSYNC interrupts than screen refreshes. I added a some code to print the actual refresh rate.
522 replies | 8228 view(s)
-
04-13-2021, 01:52 PM
Opps, sorry, I made some mistakes. Working on it now...
522 replies | 8228 view(s)
-
04-13-2021, 01:34 PM
Send a pull request for continuous FlexIO DMA. I took the liberty of replacing Defragster's continuous "F" mode in hm01b0_testv3.ino.
522 replies | 8228 view(s)
-
04-13-2021, 01:16 PM
I'm working right now to add start / stop for FlexIO, as similar to Kurt's API as I can.
522 replies | 8228 view(s)
-
04-13-2021, 11:32 AM
Just wanted to ask which buffers are really meant to be DMAMEM vs DTCM?
I see this in the examples.
uint8_t frameBuffer;
uint16_t imageBuffer; DMAMEM
uint8_t sendImageBuf;
uint8_t frameBuffer2 DMAMEM;
...
522 replies | 8228 view(s)
-
04-13-2021, 02:06 AM
Yes, I believe your library tries to do the dynamic allocation of FlexIO resources, right?
The camera interface is a bit special through, because only shifters 3 & 7 support receiving parallel signals. The other 6...
522 replies | 8228 view(s)
-
04-13-2021, 01:46 AM
Yup, that did the trick. I see where I went wrong. A silly mistake really. Sent a pull request to fix it.
EDIT: with the latest updates I'm getting a really dark picture...
522 replies | 8228 view(s)
-
04-12-2021, 11:33 PM
Can you point me to that DMA serial receive code?
522 replies | 8228 view(s)
-
04-12-2021, 09:58 PM
Before trying to answer, I need to admit two things.
1: I've only read Kurt's code quickly, haven't actually worked with it or analyzed carefully
2: Obviously I don't know everything about FlexIO DMA, since I...
522 replies | 8228 view(s)
-
04-12-2021, 08:42 PM
I believe all you need to do with Teensy 4.0 & 4.1 is edit the sample rate number in AudioStream.h.
That file is located inside your Arduino folder. When you search for that file, you should find 2 copies. Pay...
4 replies | 152 view(s)
-
04-12-2021, 05:00 PM
Hope you can find whatever I missed on the FlexIO hardware trigger. It's probably something "trivial" I overlooked.
I wouldn't toss that code! It still could be really useful on Teensy 4.1 where we don't have...
522 replies | 8228 view(s)
-
04-12-2021, 12:37 PM
Looks like my display woes might be from pulling in the latest ILI9341_t3n. When I run graphicstest from ILI9341_t3, my display works. But graphicstest from ILI9341_t3n now gives a white screen. Later today will try...
522 replies | 8228 view(s)
-
04-12-2021, 12:19 PM
The example seems to no longer work with my ILI9341. Not sure why... can't do more right now.
522 replies | 8228 view(s)
-
04-12-2021, 11:40 AM
Sent a PR with the work-in-progress DMA code.
https://github.com/mjs513/TMM-HB01B0-Camera/pull/7/files
When you run it, you'll probably see this in the serial monitor
ERROR: 19764 manual triggers were needed...
522 replies | 8228 view(s)
-
04-12-2021, 11:22 AM
I'm playing the FlexIO DMA. Can't seem to get hardware triggering to work, but the DMA does transfer the image if I cheat and manually trigger the DMA channel each time the shifter status flag is set. Going to send a...
522 replies | 8228 view(s)
-
04-12-2021, 03:09 AM
Ok, I just sent a pull request with initial FlexIO. No DMA yet, but it should be fairly "easy" to just set up a DMA transfer which reads from that FlexIO register and writes to the buffer.
522 replies | 8228 view(s)
-
04-12-2021, 02:15 AM
I updated to the latest TMM-HB01B0-Camera from github, in prep to clean up my flexio stuff, but it seems I no longer get a working image from either "s" or DMA. I'll admit, I fell behind on the forum these last couple...
522 replies | 8228 view(s)
-
04-11-2021, 08:12 PM
Should I make the FlexIO code just read the whole 324x244 data? That would be simpler...
522 replies | 8228 view(s)
-
04-11-2021, 07:31 PM
Somehow I was under the impression we were keeping the first 320 pixels and discarding the last 4.
Just to confirm, on each line of 324 pixels, we're supposed to ignore the first 2 and last 2 pixels and keep the 320...
522 replies | 8228 view(s)
-
04-11-2021, 07:25 PM
I just connected all 3 power pins to 3.3V.
That test board doesn't connect the video signals at all. They just route to those pads in the middle of the PCB. Only power and I2C are actually connected. All the...
522 replies | 8228 view(s)
-
04-11-2021, 06:24 PM
Right now I'm using Sparkfun's ML carrier board with ILI9341 connected to the left side pins. Nothing special on the HM01B0 camera.
On the breakout board, which is still at least a week away, I put 2 camera...
522 replies | 8228 view(s)
-
04-11-2021, 05:10 PM
More fiddling with FlexIO... and I finally have it somewhat working. For reasons I don't fully understand, it's capturing only 7 of every 8 pixels. So I added a bit of kludge code to add 4 white pixels to fill in the...
522 replies | 8228 view(s)
-
04-10-2021, 10:20 PM
Another detail to keep in mind is the display redraws the screen from its own frame buffer at a speed probably less than 60 Hz. I recall seeing a register to adjust the internal refresh speed. But no matter what...
522 replies | 8228 view(s)
-
04-10-2021, 09:31 PM
I'm working on FlexIO again today. Building test code inside your lib and targeting 8 bit mode, mostly just overriding the readFrame() function while I struggle to get it just working in any way at all. Will convert...
522 replies | 8228 view(s)
-
04-10-2021, 12:16 PM
I started playing with FlexIO for the camera. So far it's unresponsive, but hope to have something soon...
Pulled in the latest QuadEncoder.
522 replies | 8228 view(s)
-
04-09-2021, 10:22 PM
Running the DMA version now. Wow, frame rate is so smooth. Seeing some tearing & artifacts.
522 replies | 8228 view(s)
-
04-09-2021, 09:59 PM
Which Teensy are you using? The process is different on Teensy 4.x than the older boards.
4 replies | 152 view(s)
-
04-09-2021, 09:22 PM
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.
522 replies | 8228 view(s)
-
04-09-2021, 07:17 PM
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...
522 replies | 8228 view(s)
-
04-09-2021, 03:14 PM
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...
7 replies | 202 view(s)
-
04-09-2021, 11:16 AM
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},...
522 replies | 8228 view(s)
-
04-09-2021, 08:00 AM
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...
2 replies | 98 view(s)
-
04-08-2021, 04:21 PM
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...
17 replies | 574 view(s)
-
04-08-2021, 08:44 AM
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...
12 replies | 327 view(s)
-
04-08-2021, 07:50 AM
@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?
4 replies | 273 view(s)
-
04-08-2021, 02:19 AM
You can use Serial.availableForWrite() to check how much space is remaining in Teensy's transmit buffer.
1 replies | 96 view(s)
-
04-07-2021, 07:12 PM
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();
28 replies | 1242 view(s)
-
04-07-2021, 09:44 AM
Sure, just connect the button to the Program pin and GND.
3 replies | 121 view(s)
-
04-07-2021, 09:26 AM
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.
522 replies | 8228 view(s)
-
04-07-2021, 06:42 AM
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...
8 replies | 183 view(s)
-
04-07-2021, 12:31 AM
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...
4 replies | 259 view(s)
-
04-07-2021, 12:09 AM
Reboot your PC. Then run the Teensyduino 1.53 installer before you run the Arduino IDE.
2 replies | 105 view(s)
-
04-06-2021, 08:07 PM
Oh, I know that mistake well too!
10 replies | 161 view(s)
-
04-06-2021, 06:48 PM
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...
522 replies | 8228 view(s)
-
04-06-2021, 06:35 PM
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.
10 replies | 161 view(s)
-
04-06-2021, 02:44 PM
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...
522 replies | 8228 view(s)
-
04-06-2021, 01:09 PM
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...
522 replies | 8228 view(s)
-
04-06-2021, 11:50 AM
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...
2 replies | 109 view(s)
-
04-06-2021, 11:32 AM
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.
19 replies | 372 view(s)
-
04-06-2021, 11:18 AM
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...
28 replies | 1242 view(s)
-
04-06-2021, 11:10 AM
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...
2 replies | 109 view(s)
-
04-06-2021, 01:28 AM
Use INPUT_DISABLE
522 replies | 8228 view(s)
-
04-06-2021, 12:05 AM
The thread is #4-40.
2 replies | 85 view(s)
-
04-05-2021, 10:30 AM
Here is layer 2 from that part of the PCB.
2 replies | 140 view(s)
-
04-04-2021, 10:01 PM
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.
16 replies | 349 view(s)
-
04-04-2021, 09:29 AM
Have you tried the 15 second button press to fully wipe the flash memory?
16 replies | 349 view(s)
-
04-03-2021, 01:36 PM
If you run the code from msg #6 and change the number of bytes in the line with malloc(), you should see the reported memory usage change.
10 replies | 2901 view(s)
-
04-03-2021, 01:33 PM
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...
12 replies | 270 view(s)
-
04-03-2021, 01:31 PM
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...
12 replies | 270 view(s)
-
04-03-2021, 10:38 AM
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...
10 replies | 2901 view(s)
-
04-02-2021, 09:04 PM
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...
522 replies | 8228 view(s)
-
04-02-2021, 06:32 PM
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...
522 replies | 8228 view(s)
-
04-02-2021, 04:15 PM
The USB-C is on the carrier board.
https://www.sparkfun.com/products/16400
522 replies | 8228 view(s)
-
04-02-2021, 03:55 PM
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);
...
522 replies | 8228 view(s)
-
04-02-2021, 03:13 PM
I'm pretty sure it's too late for Sparkfun to bring out those 2 unused pins.
522 replies | 8228 view(s)
-
04-02-2021, 02:45 PM
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...
522 replies | 8228 view(s)
-
04-02-2021, 12:37 PM
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...
522 replies | 8228 view(s)
-
04-02-2021, 12:20 PM
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
---------- ---- --- -----...
522 replies | 8228 view(s)
-
04-02-2021, 11:39 AM
I will send you one soon.
522 replies | 8228 view(s)
-
04-01-2021, 03:17 PM
Maybe subscribe to this other thread about attempts to go to 8 channels.
https://forum.pjrc.com/threads/60557-48kHz-8i80-USB-Audio
2 replies | 156 view(s)
-
04-01-2021, 11:21 AM
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...
6 replies | 233 view(s)
-
04-01-2021, 10:47 AM
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...
6 replies | 233 view(s)
-
04-01-2021, 10:36 AM
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.
6 replies | 233 view(s)
-
04-01-2021, 02:34 AM
Here's one that's a DIY PCB, but it was meant for Teensy LC.
http://rasterweb.net/raster/2016/02/19/teensy-lc-bob-v1-2/
4 replies | 218 view(s)