-
Older Activity
-
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...
409 replies | 5633 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 | 49766 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,...
3 replies | 118 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 | 77 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
409 replies | 5633 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...
409 replies | 5633 view(s)
-
Yesterday, 11:33 PM
Can you point me to that DMA serial receive code?
409 replies | 5633 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 | 77 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.
409 replies | 5633 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...
409 replies | 5633 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...
409 replies | 5633 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...
409 replies | 5633 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 | 159 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 | 159 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 | 159 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...
409 replies | 5633 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...
409 replies | 5633 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 | 355 view(s)
-
Yesterday, 09:36 PM
Mistakes in that schematic (wish I could delete) -- MISO & MOSI confused. Here's the corrected schematic:
9 replies | 355 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 | 146 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 | 27 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 | 159 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 | 146 view(s)
-
Yesterday, 09:01 PM
Thank you, we`ll check.
4 replies | 97 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...
409 replies | 5633 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 | 97 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 | 146 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 | 146 view(s)
-
Yesterday, 08:07 PM
It`s 4.1 board.
4 replies | 97 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 | 146 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 | 5115 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 | 146 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 | 146 view(s)
-
Yesterday, 06:11 PM
Oh, if that is the case, then my Google-fu must have been weak...
Found it
182 replies | 21185 view(s)
-
Yesterday, 06:03 PM
I thought that freezing without a Ethernet cable connected is a known issue.
182 replies | 21185 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...
409 replies | 5633 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
409 replies | 5633 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 | 159 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...
409 replies | 5633 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.
409 replies | 5633 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...
409 replies | 5633 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...
409 replies | 5633 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...
409 replies | 5633 view(s)
-
Yesterday, 05:00 PM
I'll be watching this space.
134 replies | 13502 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 )
{
...
409 replies | 5633 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...
409 replies | 5633 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 | 28 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 | 49766 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 | 21185 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 | 73 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 | 49766 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.
...
409 replies | 5633 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...
409 replies | 5633 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...
409 replies | 5633 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 | 77 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
409 replies | 5633 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...
409 replies | 5633 view(s)
-
Yesterday, 01:00 PM
Maybe Reset Pin? I will switch back over.
409 replies | 5633 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...
409 replies | 5633 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...
409 replies | 5633 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...
409 replies | 5633 view(s)
-
Yesterday, 12:33 PM
Here's what I am using as of this morning after your changes:
409 replies | 5633 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.
409 replies | 5633 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...
409 replies | 5633 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...
409 replies | 5633 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 | 77 view(s)
-
Yesterday, 11:36 AM
Merge done.
409 replies | 5633 view(s)
-
Yesterday, 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...
409 replies | 5633 view(s)
-
Yesterday, 11:05 AM
@Paul - @KurtE - @defragster
Did a couple more tests with FlexIO.
Test 1: Tried changing the frameRate from 30fps to 60fps. At 30 "F" (flexIO continuous) using @defragster's updated sketch, runs fine picture quality...
409 replies | 5633 view(s)
-
Yesterday, 10:36 AM
Morning All
Merged the changes into the github repository and just start playing but my display is acting up - wire connections with jumpers Argh!
Anyway ran 'f'lexio using Sparkfun and non-sparkfun configs. Both...
409 replies | 5633 view(s)
-
Yesterday, 10:28 AM
I can also highly recommend the SPI version, MCP23s17. especially as the set up of all eight chips on one CS line works very fast on polling loop, so no need to worry about dealing with interrupts and all the potential...
18 replies | 305 view(s)
-
Yesterday, 08:57 AM
Final Note before Zzz's: with > //#define USE_SPARKFUN 1 :: It works here now for 'c' and 's'. And image is brighter.
>> ALSO it works across code upload or T.MM Reset (TyComm) { edited above post }
I put the...
409 replies | 5633 view(s)
-
Yesterday, 08:29 AM
So, it looks like this:
18 replies | 305 view(s)
-
Yesterday, 08:00 AM
You can use your existing TSynth to edit the headless ones. I'm pretty sure the TSynth sends out it's controls over midi and usb, so if you connect your TSynth to the USB host port of your rack versions it should be...
39 replies | 10839 view(s)
-
Yesterday, 07:45 AM
I haven't run into any difficulties dynamically creating and patching audio objects, but I just do it once at startup - I don't change the connections arbitrarily during the lifetime of the program. (Is there something...
14 replies | 317 view(s)
-
Yesterday, 07:31 AM
@alfrede
We are waiting for the first boards. It will take a while before circuit boards or kits can be ordered.
@trevorbryden
The Jeannie Synth-core is a little different from TSynth. It's smaller and has 8...
134 replies | 13502 view(s)
-
Yesterday, 07:14 AM
Quick UPDATE :: Frame Update using FlexIO @31 fps
<edit>: Ran 1 hour since posting and still running no issue at 31 fps.
with : #define TFT_ILI9341 1 for >> "ILI9341_t3n.h"
and this in 'F' : ...
409 replies | 5633 view(s)
-
Yesterday, 07:00 AM
Yes I have replaced '.' by '->'.
I will try arrays of objets, it is new to me.
Thaks
4 replies | 149 view(s)
-
Yesterday, 06:56 AM
@all - Paul - I got github to merge your changes into mine that was in sync with @mjs513
>> Changed to using ILI9341_t3n
THIS WORKS !!! >> 'f' : read a frame using FlexIO (changes hardware setup!)
<edit> : it now...
409 replies | 5633 view(s)
-
Yesterday, 06:03 AM
if you want a schematic of usb-c skpang has breakout boards for T4.x canbus, they use usb-c and/or 12v car input
5 replies | 70 view(s)
-
Yesterday, 05:45 AM
Super, thank you!
5 replies | 70 view(s)
-
Yesterday, 05:40 AM
charging devices have power profiles for usb-c, a protocol must be communicated to allow switching to higher voltages if supported by the adaptor. power is defaulted to 5v on connection and unless you send the correct...
5 replies | 70 view(s)
-
Yesterday, 05:32 AM
That covers the power from the bus on a computer. What about charging devices? and fast charging devices? Any thoughts there?
5 replies | 70 view(s)
-
Yesterday, 04:22 AM
it doesnt matter as you are still limited to the 500mA current max
5 replies | 70 view(s)
-
Yesterday, 04:05 AM
Hey Everyone,
I'm doing a MIDI controller project with the Teensy 4.0 soon which I plan to be selling as a product. I only want to have it be powered via USB, so I'm thinking I don't need to add any sort of power...
5 replies | 70 view(s)
-
Yesterday, 03:52 AM
I had tried spi clock from 40 MHz fown to 20 MHz then finally down to 6 MHz .. and the screen is the same ..I pulled it apart tonight , but the screen is very dim.. I'll put it back together and get a screen shot .
40 replies | 1073 view(s)