-
Older Activity
-
Today, 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;
...
426 replies | 5733 view(s)
-
Today, 11:21 AM
Morning all - just having first cup of coffee.
Did the merge for v3 test sketch haven't had a chance to check it out yet. After I read the post of tearing in post I can't seem to duplicate it either using "f"rame or...
426 replies | 5733 view(s)
-
Today, 11:17 AM
Hello! I keep having the same issue with several teensy boards. Please let me know if you sorted out the cause of the problem since then!
1 replies | 305 view(s)
-
Today, 11:13 AM
Hi @Moo, Thanks a lot for this, I adapted you ResamplingSdReader for playFlashRaw, and now I would like to make a version for the playMemory, but the core code of that object it's pretty different to the playSdRaw,
do...
27 replies | 6788 view(s)
-
Today, 11:11 AM
These resistors are not in the way and do not consume any significant current These conet to the data lines of the micro SD card socket on the audio board. I simply put a resistor in every data line connecting to the...
839 replies | 87662 view(s)
-
Today, 10:50 AM
Hi Helge,
In the current setup you can only store one set of personal "defaults", so you cannot use a set of different "profiles". If many people see this as a good development we might think of adding this option....
839 replies | 87662 view(s)
-
Today, 10:02 AM
Kudos to the inventors who developed this great device.
Is there an advantage if you remove the 6 resistors again, possibly lower power consumption or interference.
Is it possible to select and load different saved...
839 replies | 87662 view(s)
-
Today, 09:32 AM
Fantastic news!!!
Do you need beta testers?
Our project is an art installation.
The goal is to lift a ring of light on a pillar. Each motor should lift about 2kg including the 1kg of the NEMA23 motor itself.
Our...
113 replies | 19392 view(s)
-
Today, 09:21 AM
I decided to give up of TeensyThread in my project.
If I place the code in the main loop everything works.
And it worked fine when the extra thread was only for ili9341 updates.
As soon as I added the save on SD...
11 replies | 70 view(s)
-
Today, 08:58 AM
Anyhow, this is a question to TeensyThread (ftrias)
maybe you cannot have TeensyTread AND loop together?
I would first try another thread that only does delay(1000);
11 replies | 70 view(s)
-
Today, 08:52 AM
What do you want the code to do?
I'm interested in making a simple teensy based controller for a custom loop.
Radiator fans controlled based on water temp and radiator air intake temp.
Some rgb led(s) to indicate...
5 replies | 310 view(s)
-
Today, 08:40 AM
Created /mjs513/TMM-HB01B0-Camera/pull/10 for adding hm01b0_testv3.ino for posts noted above
426 replies | 5733 view(s)
-
Today, 08:34 AM
next guess would be to comment the actual SD file I/O - without that it is nothing and would point to TThreads getting bored with nothing to do between the loop delay and the .yield
11 replies | 70 view(s)
-
Today, 08:16 AM
Hello,
I have a wired accelerometer (KS943B100), and its data has to be sent wirelessly (range 2-3m MAX). The sensor is connected to a NI-cDAQ and sent to a LabVIEW program.
I sought help and told me I have to...
0 replies | 10 view(s)
-
Today, 08:14 AM
Without changes. Single save and hang.
11 replies | 70 view(s)
-
Today, 08:12 AM
That is short and sweet - out of runtime to repro now ... not even a second task doing anything - except loop just burning cycles in a delay
With the print of "Success save 1" the first SD write completed and closed...
11 replies | 70 view(s)
-
Today, 08:01 AM
Edited above - can't find explicit post, but that seems to have been implied in a Paul post I found versus faulty memory here.
9 replies | 171 view(s)
-
Today, 07:58 AM
Minimal code for reproduce
#include <TeensyThreads.h>
#include <SD.h>
int led = 13;
void setup() {
pinMode(led, OUTPUT);
11 replies | 70 view(s)
-
Today, 07:39 AM
Without the code as noted the needed detail is in the part not shown.
I just found a Fault occurring on the Teensy MicroMod thread - having the Fault code display info might give a better clue if it is a Fault...
11 replies | 70 view(s)
-
Today, 07:10 AM
My source code looks pretty confusing.)
I'll try to make a simple example with saving to SD in a another thread (TeensyThread).
11 replies | 70 view(s)
-
Today, 06:57 AM
The error is in the code you do not show
11 replies | 70 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...
11 replies | 70 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...
426 replies | 5733 view(s)
-
Today, 06:18 AM
Have you had any problems with Mbed Studio?
2 replies | 182 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....
113 replies | 19392 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.
11 replies | 70 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...
11 replies | 70 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 &...
426 replies | 5733 view(s)
-
Today, 05:40 AM
I though granularity is 16?
9 replies | 171 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...
426 replies | 5733 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...
426 replies | 5733 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 | 45 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 | 45 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...
426 replies | 5733 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 | 45 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 | 150 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*)':...
426 replies | 5733 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...
426 replies | 5733 view(s)
-
Today, 02:00 AM
Ok - just merged. Saw that but didn't register how that worked - now I do.
426 replies | 5733 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 | 150 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...
426 replies | 5733 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...
426 replies | 5733 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...
426 replies | 5733 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...
113 replies | 19392 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...
113 replies | 19392 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.
426 replies | 5733 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 | 150 view(s)
-
Today, 01:25 AM
@KurtE
Just did the merge - glad I waited on downloading your branch :)
426 replies | 5733 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 | 150 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 | 45 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...
426 replies | 5733 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...
426 replies | 5733 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 | 49836 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 | 150 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 | 92 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
426 replies | 5733 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...
426 replies | 5733 view(s)
-
Yesterday, 11:33 PM
Can you point me to that DMA serial receive code?
426 replies | 5733 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 | 92 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.
426 replies | 5733 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...
426 replies | 5733 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...
426 replies | 5733 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...
426 replies | 5733 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 | 185 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 | 185 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 | 185 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...
426 replies | 5733 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...
426 replies | 5733 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 | 377 view(s)
-
Yesterday, 09:36 PM
Mistakes in that schematic (wish I could delete) -- MISO & MOSI confused. Here's the corrected schematic:
9 replies | 377 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...
9 replies | 171 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 | 40 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 | 185 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 16 { i.e. 0-15 is the same highest...
9 replies | 171 view(s)
-
Yesterday, 09:01 PM
Thank you, we`ll check.
4 replies | 114 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...
426 replies | 5733 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 | 114 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...
9 replies | 171 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...
9 replies | 171 view(s)
-
Yesterday, 08:07 PM
It`s 4.1 board.
4 replies | 114 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 :...
9 replies | 171 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 | 5149 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.
9 replies | 171 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...
9 replies | 171 view(s)
-
Yesterday, 06:11 PM
Oh, if that is the case, then my Google-fu must have been weak...
Found it
182 replies | 21214 view(s)
-
Yesterday, 06:03 PM
I thought that freezing without a Ethernet cable connected is a known issue.
182 replies | 21214 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...
426 replies | 5733 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
426 replies | 5733 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 | 185 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...
426 replies | 5733 view(s)