Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: KurtE

Page 1 of 10 1 2 3 4

Search: Search took 0.07 seconds.

  1. Replies
    471
    Views
    6,397

    @all I just pushed up a new st7735_t3 branch:...

    @all I just pushed up a new st7735_t3 branch: https://github.com/KurtE/ST7735_t3/tree/t4x_dma_no_copy

    With the WIP code, that appears like it might be working on Micromod with the V command.
    ...
  2. Replies
    471
    Views
    6,397

    I will probably testing soon, had a few...

    I will probably testing soon, had a few diversions this morning.

    Like, my updates to FlexIO was incomplete, I was in the process of saying there are 8 timers and shifters not just 4... But some of...
  3. Replies
    1
    Views
    36

    There is a variety of ways, also several topics...

    There is a variety of ways, also several topics on this:

    Some of this is sort of mentioned on the Teensy 4.1 product page: https://www.pjrc.com/store/teensy41.html#software

    a) you could use...
  4. Replies
    471
    Views
    6,397

    Yep - Will hopefully figure out what the syncing...

    Yep - Will hopefully figure out what the syncing up is...

    Yesterday, I made a first pass of code editing to ST7735/89 DMA code. Need to start testing.

    First need more coffee, and head to...
  5. Replies
    471
    Views
    6,397

    I am looking to update the ST77xx code to allow...

    I am looking to update the ST77xx code to allow the callbacks. But it looks like this still has my older variety of updateScreenAsync code for the IMXRT.

    Earlier on I was frustrated, with the...
  6. Replies
    471
    Views
    6,397

    Thanks @mjs513 Or do one or both of us need to...

    Thanks @mjs513

    Or do one or both of us need to integrate in code with ST7735_t3? Will take a quick look.

    Thinking of ILI9341, has anyone purchased the Sparkfun Input and display Carrier...
  7. Replies
    471
    Views
    6,397

    Just an FYI - I just pushed up a branch with this...

    Just an FYI - I just pushed up a branch with this code, that works pretty well with the ILI9341 display. (Don't have the calls in ST7735 ... Yet).

    Pushed up a PR, so people can play... May want to...
  8. Replies
    471
    Views
    6,397

    Note: I am doing some outside nice day...

    Note: I am doing some outside nice day activities, but in the process now of adding a Video mode...

    That is I am setting up to do DMA, plus turn on the Async updates in continuous mode, with...
  9. Replies
    471
    Views
    6,397

    @Paul - There appears to be an issue in the...

    @Paul - There appears to be an issue in the imxrt.h file... Not specific to MicroMod.

    Not sure best way to fix as associated with the GPIO structures...
    That is we have:

    // 12.5.1: page 961...
  10. Replies
    471
    Views
    6,397

    Hi Mike, yep as I mentioned in the commit - it...

    Hi Mike, yep as I mentioned in the commit - it sort of walks through the screen a couple of times and then settles.

    Will investigate. Right now playing with speeding up the VSYNC interrupt to see...
  11. Replies
    471
    Views
    6,397

    @mjs513 I am creating another branch working on...

    @mjs513 I am creating another branch working on DMA stuff (later for PR)...

    Looks like made similar changes to what you did since then in DMA callback in sketch (last use of that buffer)... Missed...
  12. Replies
    471
    Views
    6,397

    Just an FYI- These days mostly avoid these issues...

    Just an FYI- These days mostly avoid these issues of compiling for wrong board, as mostly work/build within sublime text and most of the time now using projects.
    So for example in the test3 test...
  13. Replies
    471
    Views
    6,397

    @mjs513 Not a problem... Question, as I start...

    @mjs513 Not a problem...

    Question, as I start testing a couple of the ideas from yesterday for continuous DMA, should I work with testv2 or move on to testv3?

    Also question to self (and maybe...
  14. Replies
    471
    Views
    6,397

    Morning all, Not fully awake yet, nor had...

    Morning all,

    Not fully awake yet, nor had coffee,

    We need to go through and maybe remove several of those buffers. Especially the uint16_t one that may not be used anymore as we don't convert...
  15. Replies
    471
    Views
    6,397

    :D looks like you beat me to it! :D At times...

    :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...
  16. Replies
    471
    Views
    6,397

    @Paul - Taking a quick look through your FlexIO...

    @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...
  17. Replies
    471
    Views
    6,397

    :D - Yep - decided to go ahead and merge it in as...

    :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.
  18. That branch relies on my USBHost_t36 library...

    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:...
  19. Replies
    471
    Views
    6,397

    @mjs513, I see a few different options: a)...

    @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...
  20. Replies
    471
    Views
    6,397

    It is in my library I was working on long ago......

    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
  21. Replies
    471
    Views
    6,397

    Playing a little more, I brought over my Frame...

    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!...
  22. Replies
    471
    Views
    6,397

    Paul, I will read more of your comments in a...

    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...
  23. Replies
    471
    Views
    6,397

    @mjs513 sorry I have been a bit distracted today....

    @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...
  24. Replies
    471
    Views
    6,397

    @all just pushed the WIP stuff for DMA up to new...

    @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...
  25. Replies
    471
    Views
    6,397

    :o ;) - That way I can pack up my bags and go...

    :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...
  26. Replies
    471
    Views
    6,397

    Maybe Reset Pin? I will switch back over.

    Maybe Reset Pin? I will switch back over.
  27. Replies
    471
    Views
    6,397

    Morning All, Will have to play... I did/do...

    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...
  28. Replies
    471
    Views
    6,397

    I am playing with the DMA code some more. I put...

    I am playing with the DMA code some more. I put in new command 'f' - read in one frame using DMA and then output it...
    It verified that the data in the frame is not coming back correctly. So...
  29. Replies
    471
    Views
    6,397

    @mjs513 yes probably the same, simply update some...

    @mjs513 yes probably the same, simply update some of the names and the like

    I pushed the changes up to github in my char_bounds branch, which is now part of the current Pull request back to Paul:...
  30. Replies
    471
    Views
    6,397

    I have a version that builds with the...

    I have a version that builds with the writeRect8BPP (as well as 4 2 1 and N)


    So may need to grab adafruit display and try it.
  31. Replies
    471
    Views
    6,397

    Afternoon all (I think), Been outside playing...

    Afternoon all (I think),

    Been outside playing (Planting Peas...)

    I have not fully resolved the DMA stuff yet.

    FYI - I pushed up a WIP of my FlexIO test code... Will test out some of my...
  32. Replies
    471
    Views
    6,397

    Thanks, was wondering if you somehow hooked up...

    Thanks, was wondering if you somehow hooked up using the board you showed in the post: https://forum.pjrc.com/threads/66771-MicroMod-Beta-Testing?p=276171&viewfull=1#post276171
    that you tried with...
  33. Replies
    471
    Views
    6,397

    @Paul - looks like you are making good progress...

    @Paul - looks like you are making good progress with it. Does your wiring do anything special? Or did your board just breakout the pins of the ribbon?

    @mjs513 not much progress yet with DMA......
  34. Replies
    471
    Views
    6,397

    @mjs513 - you might push up what you have, either...

    @mjs513 - you might push up what you have, either in main or some temporary branch and I will take a look.

    Could be several things like: maybe I am not responding quick enough for the VSYNC to...
  35. Replies
    28
    Views
    1,139

    With the HiLow test, I don't see you actually...

    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. ...
  36. Replies
    471
    Views
    6,397

    @mjs513 - I never went through to see how...

    @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...
  37. Replies
    28
    Views
    1,139

    Sorry to hear that. Again I would still be...

    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...
  38. You would need to edit the section that looks...

    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...
  39. Replies
    471
    Views
    6,397

    Good question/point! As mentioned by Frank, he...

    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...
  40. Replies
    471
    Views
    6,397

    Hi Paul, With the DMA stuff I found I needed...

    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...
  41. Replies
    471
    Views
    6,397

    I know typically can not push it much especially...

    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...
  42. Replies
    471
    Views
    6,397

    @mjs513 - Those values appear to work nicely. ...

    @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...
  43. Sorrry, I am not sure I can give you a complete...

    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...
  44. Hopefully Paul or someone who uses Linux and...

    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...
  45. Replies
    471
    Views
    6,397

    Sort of a random question/observation, not just...

    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...
  46. Replies
    471
    Views
    6,397

    @mjs513 - I pushed the current stuff as a PR so...

    @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...
  47. Replies
    471
    Views
    6,397

    Good morning again, Playing with sketch in new...

    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...
  48. Replies
    471
    Views
    6,397

    Namespace makes sense... MMODPIN::D0 or whatever...

    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...
  49. Replies
    471
    Views
    6,397

    Morning all, Looks like all are still having...

    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...
  50. Replies
    471
    Views
    6,397

    OK I pushed up a PR to you. Still not 100% but at...

    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...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4