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. 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...
  2. 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.
  3. 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...
  4. 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...
  5. 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...
  6. @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...
  7. Replies
    4
    Views
    130

    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...
  8. @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...
  9. Replies
    4
    Views
    130

    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...
  10. 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...
  11. 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...
  12. 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...
  13. 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...
  14. Replies
    8
    Views
    215

    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...
  15. Replies
    5
    Views
    151

    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...
  16. @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...
  17. 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...
  18. 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...
  19. Replies
    2
    Views
    135

    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...
  20. 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...
  21. Replies
    11
    Views
    201

    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) {
    //...
  22. 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...
  23. 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...
  24. Replies
    19
    Views
    187

    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...
  25. Replies
    19
    Views
    187

    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...
  26. 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...
  27. Replies
    7
    Views
    178

    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...
  28. Replies
    19
    Views
    187

    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...
  29. Replies
    325
    Views
    8,555

    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...
  30. Replies
    325
    Views
    8,555

    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...
  31. Replies
    24
    Views
    792

    Sorry, I know I am probably missing something...

    Sorry, I know I am probably missing something here and maybe suggesting some more hardcore things than what you actually need or want.

    But I am confused on what is the goal? To do as many fast...
  32. Replies
    24
    Views
    792

    Just wondering if you looked at the ADC example...

    Just wondering if you looked at the ADC example sketch:
    adc_timer_dma.ino?

    It uses a Quad Timer to automatically trigger the ADC, and results go out using DMA...

    I have not tried the timer...
  33. Thought I would mention that when I did some of...

    Thought I would mention that when I did some of my remote control work, like updated firmware for the Arbotix Commander or for a DIY remote control, I did the mapping of the analog input data two...
  34. It has been awhile since I did a remote control...

    It has been awhile since I did a remote control using joysticks... Lots of fun.

    Not sure how easy it is to do, but what happens if you switch which one is 3.3v and which one is GND. What range do...
  35. Replies
    7
    Views
    129

    Hard to say without seeing pictures. I assume...

    Hard to say without seeing pictures.

    I assume when your: 11 MISO(Master IN Slave Out) you are meaning pin 11 which is MOSI (Master Out Slave In), Pin 12 is the MISO pin.

    Also not sure from your...
  36. Replies
    479
    Views
    291,339

    Looking at the code, I think it is reasonably...

    Looking at the code, I think it is reasonably safe to assume that:

    bool ADC::startSynchronizedSingleRead(uint8_t pin0, uint8_t pin1)
    {
    // check pins
    if (!adc0->checkPin(pin0))
    {
    ...
  37. Replies
    325
    Views
    8,555

    Hi Again, FYI - I reworked some of the code...

    Hi Again,

    FYI - I reworked some of the code including the test sketch.

    I went ahead and issued a PR as well - It only added functionality so if does not work 100% well it hopefully got most...
  38. Replies
    3
    Views
    128

    I assume you have a version of Teensyduino...

    I assume you have a version of Teensyduino supporting T4.1 You need to choose the Teensy 4.1 as the current board type.

    Your above compile is showing that you built to Teensy 3.2(3.1) not 4.1
    ...
  39. Replies
    325
    Views
    8,555

    In my case the images are stored in flash memory...

    In my case the images are stored in flash memory so they are const...

    Still playing around
  40. Replies
    325
    Views
    8,555

    writeRect and putPicture are pretty much the...

    writeRect and putPicture are pretty much the same. Just happens we have writeRect in several libraries. In fact the writeRect for rotation 0 is a copy of that function.

    Yes the static data...
  41. Replies
    325
    Views
    8,555

    @mjs513, @wwatson, @blackketter and ... I put...

    @mjs513, @wwatson, @blackketter and ...

    I put up a new branch based off of master (https://github.com/KurtE/Ra8876LiteTeensy/tree/writeRect)

    Which put in a first pass at a writeRect that may...
  42. Replies
    325
    Views
    8,555

    Quick update - I updated sources and tried out...

    Quick update - I updated sources and tried out the font test 4 with the branch Ra8876LiteTeensy-ER-TFTM0874 and it is showing the fonts again going off the top of the screen.

    May look at this...
  43. Replies
    325
    Views
    8,555

    I will try to get around and pull out my RA8876...

    I will try to get around and pull out my RA8876 display and see about a quick and dirty port/test of the draw an image (drawRect) and see if it will work in the 4 orientations.
  44. Quick FYI - My later versions of ILI9341_t3n no...

    Quick FYI - My later versions of ILI9341_t3n no longer needs/uses SPIN library. Decide to excise it from there.

    As for TSPISlave library, I have not tried it. My quick look through the code...
  45. Not sure but may start a new thread on this? ...

    Not sure but may start a new thread on this?

    But right now playing around some more with the Adafruit library and adding some functionality.

    With the test sketch reading 4 sensors, with two...
  46. Glad things are working. A quick FYI - As I...

    Glad things are working.

    A quick FYI - As I mentioned up on the Pololu forum (and github), I have been hacking up the Adafruit library to extend some of the APIS as well..
    My test case is...
  47. Git/Github is a three headed monster that...

    Git/Github is a three headed monster that sometimes has a mind of it's own, especially when you use GUI interface to talk to it.

    It tries to make assumptions and what you really want... And I...
  48. Replies
    3
    Views
    252

    Both the two .cpp files you included in your zip...

    Both the two .cpp files you included in your zip file have:

    unsigned __exidx_start;
    unsigned __exidx_end;


    So when you link it will find both of these. As a quick fix you might try removing...
  49. Sorry not sure if I understand your call to...

    Sorry not sure if I understand your call to Serial3.flush();

    The flush operation (https://www.arduino.cc/reference/en/language/functions/communication/serial/flush/), says: Waits for the...
  50. Replies
    3
    Views
    135

    It might help to understand what you are doing. ...

    It might help to understand what you are doing. i.e. example program that shows the issue.

    For example does your program look something like:


    #define PIN1 1
    #define PIN2 2
    uint32_t...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4