If using two UART pin sets, each/all UARTS have unique individually settable baud rate.
Not noted how much data comes in on each stream?
First guess: Alternating between the two each at 10Hz...
Type: Posts; User: defragster
If using two UART pin sets, each/all UARTS have unique individually settable baud rate.
Not noted how much data comes in on each stream?
First guess: Alternating between the two each at 10Hz...
Doh - didn't see the single quotes on the 'ZERO'
Is the the switch 'VAR' a byte type by any chance?
Or something odd confusing the compiler optimization?
switch ( VAR&0xF )
I saw some hangs leaving Vid mode as well in some combination with ILI9341 - thought it was just an invalid command series but it was there. Some part of the DMA left active doing interrupt spasms?
@mjs513 does the "case 0x30:" work as "case 48:" ?
I've got outdoor things to do as well. Spring sun is sprouting trees in deck cracks and a pickup firewood to unload.
I did GIT that ST7735...
"V" works SO SMOOTHLY! it only works USE_SPARKFUN - comes up Very Dark without a good "Calibrating Auto Exposure" it seems, and at times it comes up iffy for a bit, one time it was running and went...
Saw the PR to mjs513 was taken -testing:
//#define USE_SPARKFUN 1:
SEEM GOOD :: s, c, D, f, F :: i.e. no signs of tearing or skewing or shift offset in the ILI9341 image
"d" :: (before FlexIO)...
Good luck @KurtE.
Will keep using the ILI9341 then perhaps swap to the ST7789 when your new work is done.
Not sure what is up with 'z' - it can work - but sometimes just aborts it seems.
...
@mjs513 - Noticed the SFun display backlight was on during Pin Testing when it should have been off. Nice the single Teensy lib works and not a pile of others needed.
Saw SPI speed 30 MHz in _t3n...
"F" seems to be working in CallBack w/code like DMA
Last run of DMA was torn down left edge after it centered instead of the top?
Seems I got that in testv3.
s and c work and D too. Not sure what the deal with SPARKFUN define is failed first time - worked without - then repower it worked turned back on?
d - cont DMA...
github finally got me the latest update ...
Using ILI9341 the "F" working perfectly and no frame confusion on 'wiggling' hand giving skew!
>> moving images all drawn in phase : No skew or...
@mjs513 - Paul has a PR pending on your git.
... here a short time - github desktop not showing me changes ... another remove/and fork ... arrgh
Still seeing this ugly (hard coded static)...
Created /mjs513/TMM-HB01B0-Camera/pull/10 for adding hm01b0_testv3.ino for posts noted above
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
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...
Edited above - can't find explicit post, but that seems to have been implied in a Paul post I found versus faulty memory here.
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...
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...
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...
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...
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...
Yes, that is the nature of interrupts. Execution returns to the point and state of the interruption.
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...
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...
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...
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...
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...
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 -...
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...
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...
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...
@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...
I started to do that - but some of the DMA disable stuff isn't compatible so switching that off is needed - and thought I saw you ask for a way to count DMA updates? And other than the Reformat...
Indeed, Thread was marked BETA - and a good amount of effort shows GDB generally usable - but has some limitations - for whatever reason the author hasn't updated in 10 months. Whether lack of...
RTC on Teensy 3.x is "Compile Time" - filled in as HEX is created and unchanging - reload the same HEX 22 hours later and it can go back to that time.Off by 2 minutes suggests a long build time or...
@mjs513: Made PR for the text.ino
Sublime 'code reformat' - lots of tabs showing - odd indents?
Added 'i' and 1 sec interval timer to track loop cnt and DMA callbacks
> DMA has minor affect...
Just got around to pulling this morning's changes - will see where it stands - seems the DMA buffer will work for the Continuous sent to Processing without the bogus image result - will try that...
That is a big bunch of data - 300 consecutive 512 byte buffers. Though at 100-200 Mbs throughput that ~1.3M bits should be a blink. Though we've seen PC side using Java isn't a perfect conduit.
...
That did it - it was set before ...
The PDE transfer works here in batches. Again maybe it is something about using this USB-C Computer port on a newer faster computer?
Had to restart PDE 3...
Got the DMA code and the screen goes crazy - seems my 4" Ribbon wires are too long for that speed and signal?
Single and Continuous work well.
It changes behavior when I touch and move the wire...
Okay, I assumed that was like Teensy and would use the net USB speed ...
Changed to : myPort = new Serial(this, "COM23", 960000); // Windows
Seems to be the same? Also with...
Number always coming up right - not getting a false trigger - but the buffer can start 'skewed' or go skewed :(
Implemented "P" { upper case P } for :: g_continuous_pc_mode
> quick hack -...
Indeed that @Paul OSH board looks a good way to mount and debug.
It is intermittently and often perfect - except for some batches.
Just restarted and sent 3 PERFECT images - first two...
Just restarted PDE again and the back of the T_4.1 card came over perfectly.
I have noticed if I stop and start the PDE 'too quickly' it seems I get : 'RuntimeException: Error opening serial port...
Just restarted PDE - broken image again - the delay(3) not the fix :(
Here is a Teensy card with light image out of H and V sync:
24397
> some of the images before this were worse with garbage...
Quick note - I put in an SD card on the MachL and saved a usable bitmap with 3 hr old github - now see it is fresh 32 minutes ago - lib.prop update
Sounds like good progress on something ...
Cloned the @mjs github for camera - not sure where the new code is evolving - have not read today's posts yet ...
All seems well!
>> Continuous seems FASTER? And it starts with "C"
Running the...
Flash is memory too.
maybe design a board to hold a PSRAM alive - would take a smaller battery - and it has RAM in the name. Just the fun of getting it the right voltage at the right time - all...
This page : pjrc.com/store/ethernet_kit.html
It has this image:
24393
Using the specified MagJack - all the stuff in the box handles bringing the needed signals to the numbered pins to route...