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.06 seconds.

  1. Replies
    529
    Views
    9,234

    Good morning all, Sorry I have not given this...

    Good morning all,

    Sorry I have not given this enough thought and hard looking through the code to give a good answer about some of my wondering about API/Library setup for generic stuff, is how is...
  2. Hi @AdzTheDemon - as you may have noticed the...

    Hi @AdzTheDemon - as you may have noticed the last comments in this thread were over 7 years ago. Which I have probably not used much since then.

    Curious Are we talking Ros or ROS2?

    Note:...
  3. The documents and libraries show the ability to...

    The documents and libraries show the ability to hook up to SPI.
    Example: https://forum.arduino.cc/t/adxl345-wiring-issue-on-spi/257756
    Or page 15 of their PDF:...
  4. Warning I have not used many of the...

    Warning I have not used many of the accelerometers, although I do have a few of them sitting around here somewhere... My desk and office areas organization is not as it should be.

    But for example...
  5. Replies
    529
    Views
    9,234

    Boy just #ifdef out all my stuff :D ;) Actually...

    Boy just #ifdef out all my stuff :D ;)
    Actually at some point if we really want to kitchen sink it, we should also for the T4.1 add the CSI mode stuff.
  6. Replies
    529
    Views
    9,234

    @mjs513 - I hacked up the example, mainly just...

    @mjs513 - I hacked up the example, mainly just the callback:

    void frame_callback() {
    //Serial.printf("FCB: %d %d\n", tft.frameCount(), tft.subFrameCount());
    uint32_t frameCount =...
  7. Replies
    529
    Views
    9,234

    For the most part I think it is an issue with the...

    For the most part I think it is an issue with the way the test is doing stuff...

    So I may not hold up stuff on this. I am going to change the test callback to only do stuff for shutting down...
  8. Replies
    529
    Views
    9,234

    Sounds good, I am assuming that the two others I...

    Sounds good, I am assuming that the two others I ordered from Sparkfun, scheduled to arrive Sat at our PMB, which usually means Monday... Will be Mono as well.

    As for the hang, I am pretty sure...
  9. LC goes in the 3 branch

    LC goes in the 3 branch
  10. Replies
    529
    Views
    9,234

    Morning @mjs513.... Yep I need to look more at...

    Morning @mjs513.... Yep I need to look more at the shutdown... It did not go all of the way through... Which is why I added all of those outputs, back in the ILI coding of it. Probably something...
  11. Replies
    529
    Views
    9,234

    They both have the same debug code... My last...

    They both have the same debug code... My last push up turned of the DMA test code in the ST7735/89 code. Let me know if that fixes it for you. Works on mine.
  12. Replies
    529
    Views
    9,234

    I just pushed up change for one fix for...

    I just pushed up change for one fix for 240x240...

    I can start and stop, sometimes a few times, but sometimes it hangs, so I need to debug more of that.
  13. Replies
    529
    Views
    9,234

    @defragster - not sure why not building? ...

    @defragster - not sure why not building? Obviously only define one of the two displays... Actually in my current version one of 3...
    Note, I should probably hack it up some more for which ST7789......
  14. Replies
    529
    Views
    9,234

    @mjs513 which one? Hard to say. Maybe depends on...

    @mjs513 which one? Hard to say. Maybe depends on what the power source is. If ac might just use wallwart if battery depends, when I was playing with nimh or lifo for 6v servos I used different......
  15. Replies
    529
    Views
    9,234

    Just pushed up I think fix for T4.x into the...

    Just pushed up I think fix for T4.x into the ST7735_t3 branch I mentioned... Not sure if anyone else wants to try it before I do the PR?
  16. Replies
    529
    Views
    9,234

    Yep - often times it is the simple things: Code...

    Yep - often times it is the simple things: Code came from ILI9341: 320x240:

    So on those I need to split up the DMA into 3 chunks: So number of Words to write per DMA: 320*240/3 = 25600
    So...
  17. Replies
    529
    Views
    9,234

    I have not used those before, some of the others...

    I have not used those before, some of the others I have used that looks similar:
    https://www.digikey.com/en/products/detail/murata-power-solutions-inc/OKI-78SR-5-1-5-W36-C/2259781
    Or a similar one...
  18. Replies
    529
    Views
    9,234

    Looks like I may have a bit more work to do on...

    Looks like I may have a bit more work to do on ST7735 on T4.x...
    24462
  19. Replies
    529
    Views
    9,234

    Looks like you are having fun. I just finished...

    Looks like you are having fun.

    I just finished this round of ST7735_t3/89 updates on T3.5 and T3.6... To allow them also to get callbacks on full frames and half frames.

    Note I rebase -i the...
  20. Replies
    529
    Views
    9,234

    One like:...

    One like: https://smile.amazon.com/gp/product/B081Q79X2F ? Mine arrived yesterday, might pick up today.

    Right now editing the T3.6/T3.5 code. For Callbacks.
  21. Replies
    529
    Views
    9,234

    Pushed up some changes to the ST7735 stuff, which...

    Pushed up some changes to the ST7735 stuff, which helps so far with starting and stopping async...

    Test sketch I modified from my ILI9341 sketch...

    Tomorrow will check it out on T3.6 to make...
  22. Replies
    529
    Views
    9,234

    Sorry guys, been sort of distracted with other...

    Sorry guys, been sort of distracted with other things today. Like trying to help get Lynxmotion LSS servos to talk to T4.1...

    Will be interesting still to figure out what the differences are...
  23. Replies
    529
    Views
    9,234

    @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.
    ...
  24. Replies
    529
    Views
    9,234

    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...
  25. Replies
    1
    Views
    104

    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...
  26. Replies
    529
    Views
    9,234

    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...
  27. Replies
    529
    Views
    9,234

    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...
  28. Replies
    529
    Views
    9,234

    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...
  29. Replies
    529
    Views
    9,234

    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...
  30. Replies
    529
    Views
    9,234

    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...
  31. Replies
    529
    Views
    9,234

    @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...
  32. Replies
    529
    Views
    9,234

    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...
  33. Replies
    529
    Views
    9,234

    @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...
  34. Replies
    529
    Views
    9,234

    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...
  35. Replies
    529
    Views
    9,234

    @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...
  36. Replies
    529
    Views
    9,234

    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...
  37. Replies
    529
    Views
    9,234

    :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...
  38. Replies
    529
    Views
    9,234

    @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...
  39. Replies
    529
    Views
    9,234

    :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.
  40. 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:...
  41. Replies
    529
    Views
    9,234

    @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...
  42. Replies
    529
    Views
    9,234

    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
  43. Replies
    529
    Views
    9,234

    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!...
  44. Replies
    529
    Views
    9,234

    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...
  45. Replies
    529
    Views
    9,234

    @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...
  46. Replies
    529
    Views
    9,234

    @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...
  47. Replies
    529
    Views
    9,234

    :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...
  48. Replies
    529
    Views
    9,234

    Maybe Reset Pin? I will switch back over.

    Maybe Reset Pin? I will switch back over.
  49. Replies
    529
    Views
    9,234

    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...
  50. Replies
    529
    Views
    9,234

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