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

  1. Replies
    8
    Views
    127

    Thanks Mike, I tried it with the test program...

    Thanks Mike,

    I tried it with the test program that outputs an image using DMA to RA8876, and it appears like it works...
    Before the change that page took about 279ms to output the image. With...
  2. You are welcome! As I mentioned, pictures help...

    You are welcome!

    As I mentioned, pictures help :D

    Also that program helps.

    Example testing RA8876 with some changes. My adapter board, I screwed up and had the IO pins rotated 180 degrees...
  3. And believe me, I have done similar things...

    And believe me, I have done similar things (although no wire wrapping) before! (Many Times)

    So I keep on hand a sketch that @defragster an myself hacked up, called HiLowTest


    void setup() {
    ...
  4. That is what I wondered if you did not count the...

    That is what I wondered if you did not count the GND pin when you were wiring it. Hope it works (fingers crossed)
  5. Quick FYI - I ordered one of the Adafruit units...

    Quick FYI - I ordered one of the Adafruit units from Amazon, should be here maybe next Thursday...

    On LA software, you might try out their probably soon to be released Version 2 stuff... More...
  6. Note in cases like this, it can really help to...

    Note in cases like this, it can really help to see pictures of the actual setup.

    We might be able to see if it looks like bad (or no) solder joints of pins, likewise maybe see shorts. Or maybe...
  7. Also sometimes here it might help if you printed...

    Also sometimes here it might help if you printed out some additional information about your build, like what did the system say about your build
    For example I compiled and see a number of warnings:...
  8. I have not tried this module before (looks...

    I have not tried this module before (looks interesting)...

    Which wifi library are you trying to use?
    That is if I look at the Adafruit learn page:...
  9. yes in my ili9341_t3n library I did add the extra...

    yes in my ili9341_t3n library I did add the extra parameters to the begin to allow you to choose an upper speed for SPI. By upper speed I mean that the system will choose the fastest speed it can...
  10. Replies
    8
    Views
    127

    It will be interesting to see how well your...

    It will be interesting to see how well your numbers come out.

    As mentioned the same cache I believe is used for more or less everything other than the ITCM/DTCM areas of memory.

    Will be good...
  11. If you run into issues and there are not some...

    If you run into issues and there are not some good libraries with support, you often need to resort to read the documents associated with the device.

    So if you look at their pdf:...
  12. Thansks, always good to have things like this...

    Thansks, always good to have things like this double checked.

    Probably may be awhile before next teensyduino beta and hopefully by then Paul will pick up some of the current PRs...

    And yep I...
  13. Sorry, what I mainly was asking is, does...

    Sorry, what I mainly was asking is, does whoever's sketch work on the board and gives you proper readings?

    Why I ask that, is that gives some confidence that the hardware is working properly.
    ...
  14. Morning all, Yes looked like @FrankB did...

    Morning all,

    Yes looked like @FrankB did change his library to start looking at memory after some gap... So that works now.
    BUT I also made some new #define at start (commented out), which...
  15. I am trying to remember which library are you...

    I am trying to remember which library are you using? One from Analog Devices?
    Or I see others like: https://github.com/epsilonrt/ad7124

    Did the full CN0391 sketch work?
  16. Do you have anything hooked up to the I2S pins? ...

    Do you have anything hooked up to the I2S pins? Or are they just floating?

    Also wondering what all of the power usages are on your board. That is what all is hooked up to the 3.3v pins?
    You...
  17. I am sort of curious why it crashes. I ran it...

    I am sort of curious why it crashes. I ran it under GDB and it died accessing the memory location right after the last zeroed memory location, which I would think was still valid... May have to look...
  18. You mentioned that if you comment out those two...

    You mentioned that if you comment out those two lines (plus the ones that reference it), that you don't see the problem.

    What happens if you only comment out one of them? That is, can you...
  19. I have it running on my machine now. Comment...

    I have it running on my machine now.

    Comment out the code or call to EstimateStackUsage and as you already have seen and likewise my fill of memory

    #if 0
    // Guess of where it is safe to...
  20. I may have to see if I can find both of my...

    I may have to see if I can find both of my 240x240 displays to see if I can reproduce. Defragster - do you recognize this error traceback?
    May have to find my ones without CS pins. Not sure how...
  21. Also more side notes: If you use the Arduino...

    Also more side notes: If you use the Arduino hardware installer, the files are installed in a different location that is not independent of which Arduino you are using.
    On Windows on my Windows 10...
  22. Yep - unless I get that burr under saddle again...

    Yep - unless I get that burr under saddle again to add something else ;) Will steal that T4.1 back with the extra memory for other projects.
  23. Thanks @mjs513 - I removed the lines I commented...

    Thanks @mjs513 - I removed the lines I commented out and then retried with that test.

    I also selected back my PR request branch for RA8876, and the test sketch has gone through all 4 rotations and...
  24. If it were me, some of the debugging I would try...

    If it were me, some of the debugging I would try include:

    a--) look real close at T4 to see if there are any small pieces of solder or small wires piece or like that might short out pin, does...
  25. The Original Arduino stuff was working only on...

    The Original Arduino stuff was working only on AVR based boards. Now Arduino itself sells a couple of different types of Arm boards M0 and M4, there is also STM32 setup, ESP32, ESP8... Robotis has...
  26. @mjs513 @Paul ... You might my quick and dirty...

    @mjs513 @Paul ... You might my quick and dirty change to SPI.

    Turns out I was not arm_dcache_flush of the whole count of bytes being output. Only the max I could do for one operation...
    I...
  27. Replies
    4
    Views
    160

    Yep - Was on BasicMicro, Lynxmotion (now...

    Yep - Was on BasicMicro, Lynxmotion (now RobotShop), Trossen, ...

    So the Sparkfun kit would work. Likewise the Talldog kit works...
  28. @mjs513 @Paul... I am not totally...

    @mjs513 @Paul...

    I am not totally concentrating today, so may not get stuff finished today...
    I did hack up a version of the code to just call SPI and ran without display... My guess is there...
  29. Replies
    4
    Views
    160

    It depends. What board? Which pins, what is...

    It depends.

    What board? Which pins, what is the rest of the board connected as...

    Can be anything from:
    a) solder a wire to the pad.

    b) POGO pins

    c) Many of the boards you can use an...
  30. Yep - I was trying to do a quick and dirty just...

    Yep - I was trying to do a quick and dirty just using SPI to verify that it has nothing to do with display...

    So I was trying to figure out a quick and dirty way to define a PROGMEM large array to...
  31. Sorry I am not sure what you are really asking? ...

    Sorry I am not sure what you are really asking?

    If you wish to go total bare metal, you would need to start by reading the Hardware Reference Manual and the like for the processor, which you can...
  32. Just about to start hacking on SPI. Before I...

    Just about to start hacking on SPI.

    Before I started, I thought I would show a couple of screen captures with the Logic Analyzer showing the issues and differences in speed.

    Here is a quick...
  33. Something like that is what I am going to try. I...

    Something like that is what I am going to try. I will probably setup to do each DMASetting object to do up to 32K-32bytes transfers, such that if what was passed in was 32 byte aligned all of the...
  34. Replies
    8
    Views
    228

    Question can you not simply have the samples stay...

    Question can you not simply have the samples stay in flash memory?

    If I look at the example sketch SamplePlayer, I see that it's samples are stored in flash memory...
    That is if I look at the...
  35. Replies
    5
    Views
    165

    Looks like fun. Not sure How I would try to...

    Looks like fun.

    Not sure How I would try to do it. If these were the only thing to display like this, I might be tempted to have a bitmap with it that I just put up on display. But that is...
  36. @mjs513 - Thanks, It has been strange, I was...

    @mjs513 - Thanks,

    It has been strange, I was seeing this when I tried doing this with malloc created image. Where I had/have version of code that rearranges the bytes such that you can do a...
  37. I was curious, so wondered what it would do on...

    I was curious, so wondered what it would do on T4.1 with PSRAM...
    So updated sketch, to see if building on T4.1 and at run time it knows it has PSRAM, if so it also copies the image to the...
  38. If it were me, and it was a one off device (i.e....

    If it were me, and it was a one off device (i.e. only for my own usage), I would probably first take the easy route and use the combo with midi and more or less do nothing with midi...
  39. Replies
    2
    Views
    142

    One of these?...

    One of these? https://www.buydisplay.com/spi-1280x400-7-84-ips-tft-lcd-module-with-ra8876-capacitive-touch-panel

    If so you might take a look at our RA8876 driver that a few of us have been playing...
  40. As @Chris O. mentioned the only ways I know of. ...

    As @Chris O. mentioned the only ways I know of.

    Also sort of as he mentioned, it may also depend on what you are needing Serial for. If you want something like a debug Serial port, the Audio USB...
  41. Replies
    11
    Views
    214

    This is a guess, only a guess, do not pass go......

    This is a guess, only a guess, do not pass go... ;)

    But looking at the startup code for T3.x code yyou see:

    #if defined(KINETISK)
    // RTC initialization
    if (RTC_SR & RTC_SR_TIF) {
    //...
  42. Notes on SPI DMA, and things I have tried. The...

    Notes on SPI DMA, and things I have tried.

    The SPI DMA code does not chain DMASetting objects, so at most any one DMA operation can do something like 32767 bytes transfer. And that is what the...
  43. T4.x DMAMEM and RA8876 and SPI - (Paul?) - Large image does not display correct...

    Thought about just adding this to the RA8876 thread, BUT there is an interesting issue having to do (I think) with SPI doing DMA transfer from DMAMEM not getting the right bits...

    Note for those...
  44. Replies
    19
    Views
    208

    That is an interesting question. That is if...

    That is an interesting question.

    That is if you are running at 120mhz and you want to run at .5us, if my quick and dirty calculations are correct, that gives you 60 clock cycles per iteration. So...
  45. Replies
    19
    Views
    208

    This type of per sketch customization is sort of...

    This type of per sketch customization is sort of difficult in the "pure" Arduino environment.

    If you look in Kinetis.h you will see lines like:

    #elif (F_CPU == 96000000)
    #define F_PLL...
  46. As @defragster mentioned, yes I do that type of...

    As @defragster mentioned, yes I do that type of debugging all of the time with my logic analyzers.
    Not sure how much of a delay it will show up given only a a couple of assignments between setting...
  47. Replies
    7
    Views
    189

    To add on to what the others have asked/answered....

    To add on to what the others have asked/answered.

    It is sometimes hard to know exactly how to answer... Many times the questions don't have enough information to give a decent answer. Things...
  48. Replies
    19
    Views
    208

    If you go with IntervalTimer on T3.2, lets say...

    If you go with IntervalTimer on T3.2, lets say you configure for 120mhz.
    Which by default has F_BUS of 60mhz. You can experiment setting F_BUS to 120mhz by editing Kinetis.h...

    And if we look at...
  49. Replies
    325
    Views
    8,617

    As you probably know I pushed up a new branch...

    As you probably know I pushed up a new branch based off the the 1280x400 branch with the changes I mentioned.

    The main thing was all of the settings, were causing the issues of stuff off the...
  50. Replies
    325
    Views
    8,617

    I thought I would take a look at this again with...

    I thought I would take a look at this again with the Branch that supports the larger landscape branch to see if I can see what it going on...

    So far looking through differences in code, I am...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4