With the HiLow test, I don't see you actually trying to run a probe from either 3.3v or GND depending on which way, and touch other side to a pin.
Note: you need to hit enter to change modes. ...
Type: Posts; User: KurtE
With the HiLow test, I don't see you actually trying to run a probe from either 3.3v or GND depending on which way, and touch other side to a pin.
Note: you need to hit enter to change modes. ...
@mjs513 -
I never went through to see how many rows we ignored. Will be obvious when I can hook up LA to it... Or could write some extra code, probably like you did.
I did find out about the...
Sorry to hear that. Again I would still be tempted to maybe post a picture of it, and probably double/triple check wiring.
If it were me, I would probably run something like what I call the HiLow...
You would need to edit the section that looks like:
while (sd.exists(fileName)) {
if (fileName[BASE_NAME_SIZE + 1] != '9') {
fileName[BASE_NAME_SIZE + 1]++;
} else if...
Good question/point! As mentioned by Frank, he did increase the refresh rate to a higher speed.
As I mentioned in the previous post, the question is how much time to take to polish some of this...
Hi Paul,
With the DMA stuff I found I needed to ignore 4 pixel clocks per HSYNC. I do it at the end of the row, not sure if best to split? Or not.
Keep meaning to update my internal FlexIO...
I know typically can not push it much especially over jumper wires.
If we really need to get it faster... We probably need a setup where camera and display are plugged in.
But not sure at...
@mjs513 - Those values appear to work nicely. Wonder if it is the DMA or the update to the screen or???
That is can the ILI9341 display display 60 full frames per second?
That is assuming 0...
Sorrry, I am not sure I can give you a complete list of projects, that use the USB Host, but off the top of my head here are a few devices and the like that we have code support for:
Simple HID...
Hopefully Paul or someone who uses Linux and Makefiles a lot can give you a decent answer.
If I were wanting to do this, I would probably tend to have sort of recursive makefiles. That is for...
Sort of a random question/observation, not just tied to MM but all T4.x...
How best to put infrequently used tables with stings into flash memory so it does not eat up ITCM space....
I wanted a...
@mjs513 - I pushed the current stuff as a PR so you can play along also....
Also forgot to mention, made the build with SerialUSB1 optional, if you use the command that needs USB1 it will print...
Good morning again,
Playing with sketch in new branch: dma_frame_8bit, where I removed the conversion from 8 bits to 565 in the DMA code and instead returned the 8 bit frame data, which to display...
Namespace makes sense... MMODPIN::D0 or whatever your namespace is called would make it convenient for C++.
There may still be issues for users like: Serial2 is actually on pins marked like I2S SDO...
Morning all,
Looks like all are still having fun. Wondering with my DMA stuff, for the heck of it, I converted the one byte data into 565 format like @mjs513 code was doing external for single...
OK I pushed up a PR to you. Still not 100% but at least it is showing signs of seeing full DMA image.
We may still want to combine buffers. Like you have that new double one. I have double as...
I have a DMA version that is actually showing the images, Right now try to rebase, hopefully not totally screw up)... Made copy before trying.
Note it builds again, I had several conflicts, but...
Wonder if maybe there should be a different mode? And/Or simply remove the grayscale test?
@pretty cool, sure does look like it would make things easier to debug!
@mjs513 - I was about to edit my response, and noticed you had edited yours.
I was going to mention, that you might be able to use the other way, if you do something like SD.sdfs.open(...)
I...
@mjs513 - Does SD.open take all of those flags? these days?
Sorry I have not played with the makefiles in a very long time... But one key thing is to make sure you have the right USB type selected.
That is in the makefile you pointed to you see: OPTIONS =...
Sorry I am not really sure what you are asking here? Or what your setup is or the like. Or see any of your code or ...
Or what is working for you and what is not.
Example is the Linux your...
Thanks,
I have been playing with this, and it does shrink down the number of stuff going into dma. I still am getting a few at start and the like that do not have the HSYNC bit set. Sort of had...
Often times if the display works sometimes and not others and/or different libraries, I would be tempted to see what SPI speed they are outputting at. And then maybe lower the speed a bit and see if...
Afternoon/evening all - Been playing some, @mjs513 I pushed up a DMA branch on a fork...
Not working yet, but it does get some stuff to screen. I know one issue is my current DMA code was setup...
FYI - I have mine currently setup with ILI9341 (_t3n) library so it should work fine for you. I would not suggest ILI9488 yet as lots of memory used don't have PSRAM so can not run a full Frame...
It worked: picture going up from desk...
24385
Note: It took a couple of attempts to make sure I got all of the jumper wires correct, so I hacked your sketch to startup sort of like my other...
@mjs513 in the process of setting up for that camera on the Machine learning... Brought down you updated version, plus @defragsters... May grab an ILI9341 display.. I noticed he used _t3 and not _t3n...
Good point. I was also going to suggest that he double check his wiring, plus not knowing which devices he has, check to make there is some Pull UP resistors. on the pins.
And maybe post photo of...
Morning all,
I have not tried it yet with ILI... Was playing with ST7789 as @mjs513 was using the ST7... and it was convenient to use the Adafruit display as I also wanted
SD card on pin 10, so...
Wire1 works just fine on T4.1... Here is a test setup that Paul setup earlier, where we can choose several devices and which Wire buss they are on.
24383
Here is a Wire scanner program version...
@mjs513 Looking like progress! :D
Today I am having a lower productivity day with this.
I am playing with the OV7670 DMA input. Having some progress, finding out that the ST7735 code may...
Note with the OV7670 and test code, after it receives the bytes, it needed to swap the bytes for each pixel... Not sure about this one...
Also again maybe it is my jumper cords or the OV76 or......
Different hardware Wire versus SPI and yes lots of libraries do not support specifying which bus.
In your above case not really using library... For the scanner there if you wish to use that code...
Quick FYI - I have issued PR to Adafruit, will see how well this one goes through.
https://github.com/adafruit/Adafruit_MAX31856/pull/28
Know the feeling, but with the Adafruit board just needed one extra one ;)
Starting to update the DMA code in that library to the right pins, ...
Once that looks reasonable, then may try...
I think we cross posted... Pushed up branch with those functions. At some point soon, may switch to ILI9341, but started with Adafruit board as I also have the SD card setup for MTP, MSC...
...
Morning again, Yeah I probably should go back to using ILI9341 library on it... But as you were doing ST... I hooked up ST and starting adding support for it.
I have version of ST7735_t3 with the...
Morning all, I have not ordered one of those yet, especially since it is easier to debug using other OV... camera hooked up to external pins.
Looks like other options to order those, like ebay:...
Yes it looks like Adafruit has not updated their AD31856 library...
Would not be hard. Someone needs to make the same changes I made for AD31855 library, which is trivial.
That is: change...
I wonder if their camera connector was setup for ov7670 like https://smile.amazon.com/Quickbuying-Camera-Module-OV7670-2-5V-3-0V/dp/B07H3QXZH9/
The other sparkfun board that mentions the camera......
Sounds like a pain.
I just pushed up my changes to OV7670 for reading parallel... Still not 100% correct, but fixed the sync to the start of frame......
@Paul @mjs...
I am playing now with OV7670 and I know I ran into this also earlier where the VSYNC line is glitchy... If I turn on the glitch filter in LA it does not show it, but turned off I...
@defragster I am guessing, that yes if you went to USB-C you would probably need/want to change what the USB Host power circuit might be.
That is I think the T4.1 and probably this one is using...
@Paul - Not sure if you want to pick this up soon or not... But there is a new update to: https://github.com/greiman/SdFat-beta
It now supports UTF-8 filenames...
Plus he update the...
@Paul - looks good. For my own debug stuff I often like the two USB Host pins with spots that I can solder in pins... Makes it easier to hook up LA to see what new devices are doing.
Sorry, I am probably not much help here. I don't see anywhere that the attributes are exported that way or ways to control it.
But I am looking at it more from using it with other things like MTP...
Quick update: Pushed up MTP change to define SD_DAT3 for Micromod, which is same pin as T4. I don't have a carrier board setup to test to see if that part works or not.
I should mention, that I had sort of dropped working on the OV7670 code that was GPIO based and was earlier then spending more times on the CSI version for the T4.1... So may also want to look back...