-
Older Activity
-
Today, 06:57 AM
The error is in the code you do not show
3 replies | 17 view(s)
-
Today, 06:57 AM
Update: The save is successful without hang if I firing save in the main loop.
If I fire save in another UI loop (TeensyThreads) UI thread is hang.
The only way out I`ll be move the save method to the main thread...
3 replies | 17 view(s)
-
Today, 06:41 AM
Back to running sketch and opps - did a 'z' during 'F' looking at the draw aberrations - and the Frank B Print Hardfaults #535 code gave this error:
Hardfault.
Return Address: 0x106A
(IMPRECISERR) Data bus error...
423 replies | 5698 view(s)
-
Today, 06:18 AM
Have you had any problems with Mbed Studio?
2 replies | 174 view(s)
-
Today, 06:07 AM
Actually, I'm currently working on it.
I don't know your mechanical setup but one often underestimates moment of inertia of the lead screw and motor anchor as limiting factors to the acceleration/deceleration....
112 replies | 19373 view(s)
-
Today, 05:56 AM
Update: when I comment out all of the tft render methods freezing still happen. (pin 13 is down orange led off).
Probably my problem is saving on SD incorrectly.
3 replies | 17 view(s)
-
Today, 05:49 AM
Hello,
After update to teensyduino 1.54-beta7 I have some problem and I cant find the cause of the problem.
After simple save redraw loop frozen. Audio continues plays.
Saving and redrawing are serial actions in...
3 replies | 17 view(s)
-
Today, 05:47 AM
Adding 'z' key to save LAST frameBuffer unchanged not taking new image - again seeing Camera mode ( L/R reverse in image facing camera and display )
using 'f' : Not able to recreate the aberrations noted in p#421 &...
423 replies | 5698 view(s)
-
Today, 05:40 AM
I though granularity is 16?
8 replies | 155 view(s)
-
Today, 05:00 AM
RE: p#421 :: Did some repeat 'f' frames while moving left hand up and down - right hand over numPad hitting Up&Enter to trigger 'f' in TyComm - oh look it is in Selfie/Mirror mode again with left hand on the left.
So...
423 replies | 5698 view(s)
-
Today, 03:34 AM
That works well as far as tested since downloading @mjs513! Other sketches not so much fun and function.
Glad to see 'F' somewhere - had to turf my github again as the multi crossing pulls confused me and or the...
423 replies | 5698 view(s)
-
Today, 02:39 AM
@wwatson: thanks for the electrical info. Sounds like I should supply the Teensy with a boosted 5V supply anytime I'm planning to use USB devices.
@MichaelMeissner: Thanks, the Pololu board is an excellent...
3 replies | 41 view(s)
-
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...
3 replies | 41 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...
423 replies | 5698 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. ...
3 replies | 41 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 | 138 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*)':...
423 replies | 5698 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...
423 replies | 5698 view(s)
-
Today, 02:00 AM
Ok - just merged. Saw that but didn't register how that worked - now I do.
423 replies | 5698 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 | 138 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...
423 replies | 5698 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...
423 replies | 5698 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...
423 replies | 5698 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...
112 replies | 19373 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...
112 replies | 19373 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.
423 replies | 5698 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 | 138 view(s)
-
Today, 01:25 AM
@KurtE
Just did the merge - glad I waited on downloading your branch :)
423 replies | 5698 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 | 138 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...
3 replies | 41 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...
423 replies | 5698 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...
423 replies | 5698 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 | 49808 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 | 138 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 | 85 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
423 replies | 5698 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...
423 replies | 5698 view(s)
-
Yesterday, 11:33 PM
Can you point me to that DMA serial receive code?
423 replies | 5698 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 | 85 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.
423 replies | 5698 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...
423 replies | 5698 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...
423 replies | 5698 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...
423 replies | 5698 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 | 170 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 | 170 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 | 170 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...
423 replies | 5698 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...
423 replies | 5698 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 | 363 view(s)
-
Yesterday, 09:36 PM
Mistakes in that schematic (wish I could delete) -- MISO & MOSI confused. Here's the corrected schematic:
9 replies | 363 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...
8 replies | 155 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 | 36 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 | 170 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). ...
8 replies | 155 view(s)
-
Yesterday, 09:01 PM
Thank you, we`ll check.
4 replies | 103 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...
423 replies | 5698 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 | 103 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...
8 replies | 155 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...
8 replies | 155 view(s)
-
Yesterday, 08:07 PM
It`s 4.1 board.
4 replies | 103 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 :...
8 replies | 155 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 | 5141 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.
8 replies | 155 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...
8 replies | 155 view(s)
-
Yesterday, 06:11 PM
Oh, if that is the case, then my Google-fu must have been weak...
Found it
182 replies | 21194 view(s)
-
Yesterday, 06:03 PM
I thought that freezing without a Ethernet cable connected is a known issue.
182 replies | 21194 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...
423 replies | 5698 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
423 replies | 5698 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 | 170 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...
423 replies | 5698 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.
423 replies | 5698 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...
423 replies | 5698 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...
423 replies | 5698 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...
423 replies | 5698 view(s)
-
Yesterday, 05:00 PM
I'll be watching this space.
134 replies | 13516 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 )
{
...
423 replies | 5698 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...
423 replies | 5698 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 | 34 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 | 49808 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 | 21194 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 | 75 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 | 49808 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 | 318 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 | 318 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.
...
423 replies | 5698 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...
423 replies | 5698 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 | 318 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...
423 replies | 5698 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 | 85 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
423 replies | 5698 view(s)