-
Older Activity
-
Today, 02:32 AM
The USB Host port on the T3.6/T4.0/T4.1 always is at 5V. The voltage regulation is done on the device that is plugged into the USB Host port at 500mv when the the Teensy is plugged into a PC. You will still need a 5...
2 replies | 6 view(s)
-
Today, 02:30 AM
@PaulStoffregen - @KurtE - @defragster
Ok finally got sorted out on my end (Past my bed time on the east coast) :)
Anyway just ran the updates using Sparkfun and non-Sparkfun configs at frameRate(30).
DMA single...
419 replies | 5654 view(s)
-
Today, 02:16 AM
There are step-up voltage regulators that boost the voltage from a lower voltage to a higher voltage. There are step-up/step-down regulators that can either boost or lower the input voltage to a fixed output voltage. ...
2 replies | 6 view(s)
-
Today, 02:12 AM
Is there a small subset of changes that would support just USB flash drives (I don't need SD / MTP etc.), would allow basic operations like listing / copying / deleting of FAT files, and (ideally also) formatting...
7 replies | 124 view(s)
-
Today, 02:06 AM
Just downloaded and am getting an error message:
D:\Users\Merli\Documents\Arduino\libraries\TMM-HM01B0\src\HM01B0.cpp: In member function 'bool HM01B0::startReadFrameDMA(bool (*)(void*), uint8_t*, uint8_t*)':...
419 replies | 5654 view(s)
-
Today, 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...
419 replies | 5654 view(s)
-
Today, 02:00 AM
Ok - just merged. Saw that but didn't register how that worked - now I do.
419 replies | 5654 view(s)
-
Today, 01:55 AM
@Kurte - I think that my old MSC branch is confusing everybody with all of the recent changes. Maybe I should remove everything that does not work anymore and keep just what will work with SdFat and uSDFS. What do you...
7 replies | 124 view(s)
-
Today, 01:49 AM
:D looks like you beat me to it! :D
At times still wonder if we should cleanup something like it, sort of like DMAChannel such that sketches who just want to use something like an extra serial TX port can use it...
419 replies | 5654 view(s)
-
Today, 01:46 AM
@Paul - Taking a quick look through your FlexIO configuration and DMA. It is kooks like Greek to me :D
The first thing I wonder and may try. It looks like you are using Shifter 3?
Then I believe you need to...
419 replies | 5654 view(s)
-
Today, 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...
419 replies | 5654 view(s)
-
Today, 01:38 AM
I second this request with even a more complex solution for me.
My axis are vertical with some weight on.
So going down the acceleration could be faster.
But the deceleration must be slower.
While going up the...
111 replies | 19352 view(s)
-
Today, 01:33 AM
Thank you for your (wacky?) implementation.
However, I don't understand what you mean by implementing the little function.
Can you explain further or post an example ?
Thanks a lot
@luni, any plan for an official...
111 replies | 19352 view(s)
-
Today, 01:30 AM
:D - Yep - decided to go ahead and merge it in as it works better than before and wanted to do it before it became harder to merge.
419 replies | 5654 view(s)
-
Today, 01:27 AM
Ah, I see what the problem is. I forgot to include the branch name with a "-b" switch when I tried cloning that repo. Thanks, it compiles now!
I tried uncommenting this code in CardInfoUSB.ino:
...
7 replies | 124 view(s)
-
Today, 01:25 AM
@KurtE
Just did the merge - glad I waited on downloading your branch :)
419 replies | 5654 view(s)
-
Today, 01:05 AM
That branch relies on my USBHost_t36 library updates. Which is still in waiting on a Pull Request back to the main one.
It is off of my Fork/Branch: https://github.com/KurtE/USBHost_t36/tree/MSC_read_sectors_cb
7 replies | 124 view(s)
-
Today, 01:03 AM
Teensy 4.1 drops the 5V supply voltage down to 3.3V, so I understand it can be driven from a 3.7V LiPo battery without any issues. However, if I connect a USB flash drive to the USB host port, I assume that the USB...
2 replies | 6 view(s)
-
Today, 01:03 AM
@mjs513,
I see a few different options:
a) don't disable the DMA... In theory if I am totally in sink, the next DMA operation (when PCLK) triggers should be at the start of the next frame. May try this to see how...
419 replies | 5654 view(s)
-
Today, 12:37 AM
@KurtE
That might be why it would work in single frame mode but not continuous - how to do you fix it. Try commenting out the line in the sketch for framesize and uncomment Sparkfun. If you do that it will put it...
419 replies | 5654 view(s)
-
Today, 12:33 AM
The Vdrop is intentional. The USB line goes to a 5 volt to 3.3 volt converter so the voltage drop on the 5v side is irrelevant. They could have just as easily used a p-mosfet as an "ideal diode" but there was no reason...
471 replies | 49769 view(s)
-
Today, 12:19 AM
Hi KurtE, thanks for all the helpful links. I have not had any luck getting a complete working system based on any combination of these repos.
I removed the USBHost_t36 from the Teensyduino 1.54 beta 6 distribution,...
7 replies | 124 view(s)
-
Today, 12:09 AM
Yes, that is the nature of interrupts. Execution returns to the point and state of the interruption.
3 replies | 80 view(s)
-
Yesterday, 11:39 PM
It is in my library I was working on long ago... Maybe to integrate some parts at some point.
https://github.com/KurtE/FlexIO_t4
I believe it is in the flexSerial.cpp
419 replies | 5654 view(s)
-
Yesterday, 11:37 PM
Playing a little more, I brought over my Frame info function to get an idea of what maybe is different... Pushed up to my dma_merge_fixes.
Here is information printed when SPARKFUN:
converged!
Reading frame...
419 replies | 5654 view(s)
-
Yesterday, 11:33 PM
Can you point me to that DMA serial receive code?
419 replies | 5654 view(s)
-
Yesterday, 11:16 PM
Great, thanks luni
One question, if the code in the timer ISR is interrupted by pin interrupt after the pin interrupt completes, will the remaining code in timer interrupt resume?
and if the timer interrupt had in...
3 replies | 80 view(s)
-
Yesterday, 10:26 PM
As usual yes it make sense when you explain it - I just need to do some more homework on the TCD setups. Going to be a long process.
419 replies | 5654 view(s)
-
Yesterday, 10:25 PM
Seems to be a typically good exposition - Makes sense to me and I haven't even looked in any of those rabbit holes.
And yes the FlexIO single shot works promisingly well! Been videoing my room all day since I left...
419 replies | 5654 view(s)
-
Yesterday, 10:23 PM
No problem - been doing some other things as well. Just when I get back on I'm on for a while. Been spending time going down the rabbit hole.
Funny that's exactly what I am seeing with FlexIO. With...
419 replies | 5654 view(s)
-
Yesterday, 10:19 PM
Paul,
I will read more of your comments in a bit... Other distractions going on.
With VSync - I was wondering if I was starting too late, or maybe VSync interrupt not being serviced fast enough at times.
I am...
419 replies | 5654 view(s)
-
Yesterday, 10:17 PM
If you share your code on github or something, it would be a lot easier to offer suggestions. Although, the Linnstrument is really expensive so it might be hard to find people who actually have one to do "real"...
5 replies | 162 view(s)
-
Yesterday, 10:04 PM
Awesome h4yn! I'm keeping on eye on your dynamic audio object thread.
Thanks Wcalvert! The LinnStrument is great. I grew up a guitar player and got into synths when I was riding the bus multiple hours a day and...
5 replies | 162 view(s)
-
Yesterday, 09:59 PM
If it’s any help, I think I’m on track to make AudioConnection objects properly reconfigurable, so they can be disconnected, reconnected to different sockets (not possible right now), created and deleted.
Cheers
...
5 replies | 162 view(s)
-
Yesterday, 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...
419 replies | 5654 view(s)
-
Yesterday, 09:52 PM
@mjs513 sorry I have been a bit distracted today. Still hacking DMA...
Pushed up branch dma_merge_fixes which updated the DMA code not to hang.
Plus added a command 'D' which does like 'd' except displays only one...
419 replies | 5654 view(s)
-
Yesterday, 09:50 PM
Looking the schematic I see that you have MISO/MOSI shared between the touch and LCD. Can't remember but you may have a tristate buffer issue. Take a look at step 2 of PJRC's Better SPI Bus Design in 3 Steps. You...
9 replies | 357 view(s)
-
Yesterday, 09:36 PM
Mistakes in that schematic (wish I could delete) -- MISO & MOSI confused. Here's the corrected schematic:
9 replies | 357 view(s)
-
Yesterday, 09:32 PM
Thanks! Good to know some of these details - will definitely help in the case of troubleshooting. I'm just testing SPI and the watchdog together, with watchdog run by IntervalTimer. The two seem to play along nicely...
7 replies | 148 view(s)
-
Yesterday, 09:30 PM
Hello,
I recently finished making a PCB to function as a mounting board for a Teensy LC or 4.0. I designed it based on the idea that having a standardized connector for the pins could allow for a more modular...
0 replies | 28 view(s)
-
Yesterday, 09:22 PM
What a cool idea, great job. Never seen the Linnstrument until now.
When you say you're looking for help/collaborators, what kind of help do you need?
5 replies | 162 view(s)
-
Yesterday, 09:08 PM
Not sure about the priority level of SPI interrupts. General interrupts get set to 'mid level' of #128 and can raised (lower number) or lowered and the number blocks jump by 8 { i.e. 0-7 is the same highest priority). ...
7 replies | 148 view(s)
-
Yesterday, 09:01 PM
Thank you, we`ll check.
4 replies | 98 view(s)
-
Yesterday, 08:47 PM
@Paul - @KurtE
The more I read the more confused I get. Was looking at AN12686, pg13 and what @KurtE was DMA stuff. On pg 13 for DMA setup the last 2 bullets:
• Last destination address adjustment: 0, which means no...
419 replies | 5654 view(s)
-
Yesterday, 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 | 98 view(s)
-
Yesterday, 08:33 PM
Actually - would a timer interrupt interfere with SPI comms? Or is it a lower priority? If the timer interrupt occurs, will it wait until other ISR's are serviced? Hmm.... I don't know!
So can I still use a timer...
7 replies | 148 view(s)
-
Yesterday, 08:28 PM
Thanks guys! Really interesting stuff. I will take another look at startup_early_hook... It seems the examples of using this functionality don't mention the need to disable the watchdog! This must be why, even with an...
7 replies | 148 view(s)
-
Yesterday, 08:07 PM
It`s 4.1 board.
4 replies | 98 view(s)
-
Yesterday, 07:55 PM
The startup_early_hook() - but does not have full Teensy functionality at that point so only selective parts of the MCU are ready for use.
No indication of what code was placed into that local copy of :...
7 replies | 148 view(s)
-
Yesterday, 07:38 PM
Audio ladder filter (Richard van Hoesel)
Oooh tell me more - I can't find it in the audio design tool, presumably because it's still experimental?
78 replies | 5121 view(s)
-
Yesterday, 07:29 PM
Looking at the startup code, I see that the code hooked into the early_hook by default disables the device watchdog. So any replacement is going to have to do that in addition to whatever else you want to do.
7 replies | 148 view(s)
-
Yesterday, 06:44 PM
Weeellll I figured it out. In the end, after lots and lots of messing around!
I removed the delays in pins_teensy.c around usb_init() - if anyone else has these issues, I would recommend doing similar. The delays...
7 replies | 148 view(s)
-
Yesterday, 06:11 PM
Oh, if that is the case, then my Google-fu must have been weak...
Found it
182 replies | 21187 view(s)
-
Yesterday, 06:03 PM
I thought that freezing without a Ethernet cable connected is a known issue.
182 replies | 21187 view(s)
-
Yesterday, 05:39 PM
It could save 'lastFPS' and only print on change to stop the 1Hz spew.
I just took out the 3 p#395 lines and it seems I have better contrast to the white spots on my dark shirt. Then put them back and got 3 of 4 bad...
419 replies | 5654 view(s)
-
Yesterday, 05:26 PM
@defragster
Going to put the timings back in since I know what to expect now.
Was driving me crazy when it FPS going down to 16 but think that was display connection issue
419 replies | 5654 view(s)
-
Yesterday, 05:23 PM
I got it all working in a self contained package and some basic menu pages!
https://youtu.be/ZF0p7ddREdU
One of my next steps will be to dial in the Z expression signal. I want to mix an AD envelope into the Z...
5 replies | 162 view(s)
-
Yesterday, 05:22 PM
Added those three lines in setup() ? - I don't see a diff - maybe? There is good detail now I may not have seen before with a sun bright window backlighting me - about 1/4 of the screen is white wash from window and...
419 replies | 5654 view(s)
-
Yesterday, 05:21 PM
Set up releases for the library and that code is permanently there as Release v1.0.0. The flexIO changes will be in v1.1 I guess. Just trying to keep what works.
419 replies | 5654 view(s)
-
Yesterday, 05:11 PM
@defragster
Also think the timing prints were getting me confused. Also playing with some settings for brightness and exposure. With the lights on my image tended to be basically showing glare. Went to the openmv...
419 replies | 5654 view(s)
-
Yesterday, 05:00 PM
First time I uploaded that Change - from how Paul wrote the rectangle I got tearing.
Two uploads after that and then a Reset - all came up with good movie in perfect Sync and seeing the 31 fps - with a pulsing dark...
419 replies | 5654 view(s)
-
Yesterday, 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...
419 replies | 5654 view(s)
-
Yesterday, 05:00 PM
I'll be watching this space.
134 replies | 13504 view(s)
-
Yesterday, 04:50 PM
@defragster
Think I was running into the problems you just described plus issues with the display connections.
Also I changed the "F" movie function to this
if ( g_continuous_flex_mode )
{
...
419 replies | 5654 view(s)
-
Yesterday, 04:46 PM
What 'trouble'? Only change is to add 'F'?
As noted some starts get odd sync on timing, but restart works 'most times' - with the way it was.
Also noted 'F' MovieMode seems timing race dependent. I did not note...
419 replies | 5654 view(s)
-
Yesterday, 04:19 PM
Hi,
I am intend to use 4 SPI devices and I would like to use 2 SPI in Teensy 4.1, but I would like to confirm the pins if am right or not.
SPI0 - 2 devices
MOSI0 - PIN 11
MISO0 - PIN 12
SCK0 - PIN 13...
0 replies | 32 view(s)
-
Yesterday, 03:53 PM
That IS nice.
Another thing I noticed there is that they added a couple of voltage dividers connected to both USB VBUS and VSYS and connected them to a spare analog inputs to add voltmeters to both power supply...
471 replies | 49769 view(s)
-
Yesterday, 03:40 PM
Hello everyone,
just bought and started using a Tennsy 4.1 with the NativeEthernet library and got into this issue: The Teensy freezes when I try to use Ethernet.begin(mac); or Ethernet.begin(mac, ip); when the cable...
182 replies | 21187 view(s)
-
Yesterday, 03:35 PM
I'm using CAN0 on pins 3 & 4. CAN works fine.
Most of the remaining pins I have set as either inputs or outputs (using the pinMode() function).
Seems like all the pins work except for pins 29 & 30. I can't get...
2 replies | 74 view(s)
-
Yesterday, 03:32 PM
I have been spending some time with the RasPi Pico and one thing they did that I really like is a Schottky diode between VUSB and 5V outputs. While it does cause a diode drop on the power line, I think it is very much...
471 replies | 49769 view(s)
-
Yesterday, 02:56 PM
Yes, as noted in the thread linked by MarkT, disconnecting doesn’t work properly. Obviously if you don’t do it, you won’t have run into any problems! Connection objects as they stand are a bit pants, as they can’t be...
14 replies | 317 view(s)
-
Yesterday, 02:47 PM
Thanks MarkT. I’ve seen (and even posted on!) that thread, though not 100% sure a fix is pending as such, though a problem has definitely been identified. I’m actually in the throes of playing with a fork of the Audio...
14 replies | 317 view(s)
-
Yesterday, 02:21 PM
@all just pushed the WIP stuff for DMA up to new branch dma_full_sensor
Still not fully working with the full frame 324x244 things are out of sync... Will play a little more, will pull most out of main branch.
...
419 replies | 5654 view(s)
-
Yesterday, 02:05 PM
As they say keep dreaming :)
Just tried it on the ST7789 and seems to be working there as well. Although trying to use for video don't work too well. Works a bit better on 9341. Think maybe it will work better...
419 replies | 5654 view(s)
-
Yesterday, 01:37 PM
There's a fix pending to the dynamic update stuff I believe, I suggest follow this thread for updates, or to
try the patch directly:
https://forum.pjrc.com/threads/64446-Dynamic-Audio-Connection-Bug-A-new-one!
14 replies | 317 view(s)
-
Yesterday, 01:37 PM
:o ;) - That way I can pack up my bags and go home :D
Will stash my changes in holding area and probably expunge.
Edit: Forgot to mention, it is working on my ILI9341...
419 replies | 5654 view(s)
-
Yesterday, 01:25 PM
Per default, both ISRs have the same priority. Thus the pin ISR won't interrupt the timer ISR.
Try
myTimer.begin(StatusUpdateTimer, 250000); // run every 0.25 seconds
myTimer.priority(64); // set priority to...
3 replies | 80 view(s)
-
Yesterday, 01:05 PM
Think I agree - doesn't make sense to keep DMA using GPIO. To be honest I would hold off on trying to get it working with GPIO for the HM01b0
419 replies | 5654 view(s)
-
Yesterday, 01:03 PM
@PaulStoffregen
Was going through your DMA code (you guys are bringing me down another rabbit hole with DMA) :)
Anyway think this is the function that controls dma h/w trigger:
// Use a hardware trigger to make...
419 replies | 5654 view(s)
-
Yesterday, 01:00 PM
Maybe Reset Pin? I will switch back over.
419 replies | 5654 view(s)
-
Yesterday, 12:59 PM
Morning All,
Will have to play... I did/do have DMA with FlexIO when making a Serial port, for doing RX in the background. May have to compare.
Also once FlexIO is working wonder if we/I should pull out the...
419 replies | 5654 view(s)
-
Yesterday, 12:39 PM
Thats strange, I only get that when my pin assignment is off - know this is going to be a silly question but did you remember (1) to change the pin assignments in the graphicstest, and (2) make sure you have ILI9341...
419 replies | 5654 view(s)
-
Yesterday, 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...
419 replies | 5654 view(s)
-
Yesterday, 12:33 PM
Here's what I am using as of this morning after your changes:
419 replies | 5654 view(s)
-
Yesterday, 12:19 PM
The example seems to no longer work with my ILI9341. Not sure why... can't do more right now.
419 replies | 5654 view(s)
-
Yesterday, 11:55 AM
Hi @CorBee, how did you set the speed to the same value (hopefully 20Mhz) in code?
138 replies | 35925 view(s)
-
Yesterday, 11:53 AM
PR was merged. Just downloaded it and see what you mean. Started reading FlexIO once :) Guess I will have to pull the manual out again.
For some reason having trouble with @defragsters sketch - not sure why so...
419 replies | 5654 view(s)
-
Yesterday, 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...
419 replies | 5654 view(s)
-
Yesterday, 11:36 AM
Hi there,
I have a timer and an interrupt pin set up as follows:
...
// ATN - Attention Active Low
pinMode(ATNInteruptPin, INPUT_PULLDOWN);
attachInterrupt(digitalPinToInterrupt(ATNInteruptPin),...
3 replies | 80 view(s)
-
Yesterday, 11:36 AM
Merge done.
419 replies | 5654 view(s)