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

Search:

Type: Posts; User: SteveSFX

Page 1 of 5 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    54
    Views
    1,541

    Thought I should update on this thread. Been...

    Thought I should update on this thread.

    Been working a lot of hours, so only got back to it this morning. DEAD. Teensy 4.0 appears to be zapped and I have no idea why. Barely anything on the...
  2. Replies
    54
    Views
    1,541

    I am completely re-breadboarding the whole...

    I am completely re-breadboarding the whole project, and drawing the circuit diagram as I go to post here.

    I decided maybe the better option was to utilise the SPI1 and SPI2 ports on the Teensy 4,...
  3. Replies
    54
    Views
    1,541

    OK. I thought I was explaining my issue well...

    OK. I thought I was explaining my issue well enough, but I will endeavour to draw out the circuit later tonight and put that up.
    To be fair, this thread is the whole project and not just this...
  4. Replies
    54
    Views
    1,541

    It would appear that this flash IC is not...

    It would appear that this flash IC is not behaving at all.

    All connected with a 10k pullup on the CS pin. All OK.
    Connect the SCK and the bus freezes. I'll grab some more 10k's tomorrow and...
  5. Replies
    54
    Views
    1,541

    OK. I will grab some resistors in the morning...

    OK. I will grab some resistors in the morning and have a go. It must be the flash acting up, as the SD and screen play together fine (well.. that's my logic)
    Thanks
  6. Replies
    54
    Views
    1,541

    My concern is that it causes issues with any one...

    My concern is that it causes issues with any one of the SPI pins connected. Surely that would not be the case?
  7. Replies
    54
    Views
    1,541

    eh? Me thick. Not sure what is occuring. ...

    eh? Me thick.

    Not sure what is occuring.

    I have an SD module and the screen connected to the SPI pins. Each have their own CS.

    Added the flash IC and literally any of the flash SPI...
  8. Replies
    54
    Views
    1,541

    Display working fine..... but Add in my...

    Display working fine..... but

    Add in my W25Q128JV flash memory IC and the screen corrupts.

    Seems to be when I connect any of the SPI pins
    Just for sanity:

    W25Q128JV
    1 = CS (has it's own...
  9. Replies
    54
    Views
    1,541

    OK. SD card and filenames all sorted. Binned it...

    OK. SD card and filenames all sorted. Binned it all, found another system I have used before and we are all working.

    Gave up on the new screen library. The one I have works, so I will stick...
  10. Replies
    54
    Views
    1,541

    Well I have a library called...

    Well I have a library called 'ILI9341_fonts-master' and it contains font_Arial.h.

    Yet... duplicate libraries and no compiling. Think my IDE is broken / a mess. Time to play Minecraft instead
    ...
  11. Replies
    54
    Views
    1,541

    This is what I had ... char PNG_FILENAME[22] =...

    This is what I had ... char PNG_FILENAME[22] = "/TG2.png";

    This is what I get




    In file included from C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4/Print.h:38:0,

    ...
  12. Replies
    54
    Views
    1,541

    Thanks. I think I sounded ungrateful there! I...

    Thanks. I think I sounded ungrateful there! I am not.... thank you for all your time and attention. It's user error 99.9% of the time!
  13. Replies
    54
    Views
    1,541

    OK. I did Google. I believe my method using...

    OK. I did Google. I believe my method using char was correct, it just doesn't work with the png image display routine.

    Been fun, but progress is slow so time to park this for a while I think....
  14. Replies
    54
    Views
    1,541

    Err... stupid here again In my post #16 ...

    Err... stupid here again

    In my post #16

    There is a line:

    #define PNG_FILENAME "/TG2.png" // Temp PNG file to load

    How the heck do I change that to...
  15. Replies
    54
    Views
    1,541

    OK. A bit of fiddling, and declaring the...

    OK. A bit of fiddling, and declaring the includes in a different order has resulted in success so far.
    I have managed to get it to compile with the code in post #15 with littleFS.h and...
  16. Replies
    54
    Views
    1,541

    Deleted the repeated SD.h folder, so I assume...

    Deleted the repeated SD.h folder, so I assume it's using the correct one now.

    But, throws this up? AudioStreams? Eh?



    Build options changed, rebuilding all
    C:\Program Files...
  17. Replies
    54
    Views
    1,541

    Oh.... should have known I hadn't actually got it...

    Oh.... should have known I hadn't actually got it working.

    I will break it later then!
  18. Replies
    54
    Views
    1,541

    Quite possibly it is using the wrong sd library,...

    Quite possibly it is using the wrong sd library, but does that matter? I hate changing things when it's working!

    As for all that faff trying to use other versions of the IDE..... life's too...
  19. Replies
    54
    Views
    1,541

    Arduino 1.8.9 Teensy 1.57 Beta1 (As required by...

    Arduino 1.8.9
    Teensy 1.57 Beta1 (As required by the #include <MTP_Teensy.h> suggested above)

    Loathed to update my Arduino IDE because it breaks so many things. Above this version breaks quite...
  20. Replies
    54
    Views
    1,541

    As soon as I try to #include (I...

    As soon as I try to #include <MTP_Teensy.h> (I have upgraded to the latest Teensy loader)
    .... I get this faceful


    In file included from C:\Program Files...
  21. Replies
    54
    Views
    1,541

    Thanks for that. I will look into that further....

    Thanks for that. I will look into that further.

    After an afternoon of bashing through library after library with different issues with each one, I managed to cobble something together that...
  22. Replies
    54
    Views
    1,541

    Well I was tinkering with the Adafruit image...

    Well I was tinkering with the Adafruit image loader that didn't complile.

    After Googling away, it turns out it also needs this library to work: https://github.com/adafruit/Adafruit_EPD

    Would...
  23. Replies
    54
    Views
    1,541

    I didn't want to repeat what is being discussed...

    I didn't want to repeat what is being discussed on another thread.... but OK:

    This is the screen: GC9A01

    https://www.amazon.co.uk/gp/product/B08V5538C6/ref=sw_img_1?smid=A3U321I9X7C9XA&th=1...
  24. Replies
    38
    Views
    1,299

    Does anyone know what this commented code is for...

    Does anyone know what this commented code is for in the example?


    /***************************************
    Start of Canvas (framebuffer) ...
  25. Replies
    54
    Views
    1,541

    Don't know! Lol I have an odd round display...

    Don't know! Lol

    I have an odd round display that is lovely, but being a pain to work with.
    I don't really know enough about flash comms to do this properly, so I am stabbing around in the dark a...
  26. Replies
    38
    Views
    1,299

    Sorry... had the flu. Totally knocked for six ...

    Sorry... had the flu. Totally knocked for six

    it's 240x240. Just going to sit here now and see if I can make any headway
  27. Replies
    38
    Views
    1,299

    Can anyone point out what is wrong here (clearly...

    Can anyone point out what is wrong here (clearly alot)....


    #include <Arduino_GFX_Library.h>
    #include "flashloader.h"
    #include <SD.h>

    File root;

    #if defined(__IMXRT1052__) ||...
  28. Replies
    38
    Views
    1,299

    I sent a whole evening on the LVGL stuff and got...

    I sent a whole evening on the LVGL stuff and got nowhere. I could not get anything to work (or even compile correctly).

    Trouble is, people have a go and then it's not kept up to date (at least...
  29. Replies
    54
    Views
    1,541

    Sorry... I was fishing... Direct connection to...

    Sorry... I was fishing...

    Direct connection to the SPI pins didn't work and stopped the Oled working (which is still playing up). I didn't want to use the direct SD card connections under the...
  30. Replies
    54
    Views
    1,541

    I give up. Made an SD board using just an SD...

    I give up.
    Made an SD board using just an SD card slot. It is a blank pcb meant to have a level shifting ic on it. All running at 3.3v
    Tested all pins and all fine.

    Connected to my NEW 4.0...
  31. Replies
    54
    Views
    1,541

    Thanks. I have a separate 1A 3.3v regulator on...

    Thanks. I have a separate 1A 3.3v regulator on the breadboard already, so I will use that.
    Thank you
  32. Replies
    54
    Views
    1,541

    SD card on a 4.0

    Am I correct in thinking I can connect an SD card socket directly to a 4.0 without any other parts?

    The pinout of a MicroSD I believe are:

    1 NC Not used
    2 CS Chip Select...
  33. Replies
    38
    Views
    1,299

    Well just downloaded a whole pile of LVGL...

    Well just downloaded a whole pile of LVGL libraries and examples. None of them compile.

    Not in the mood for sitting for hours working out why. Job for another day
  34. Replies
    38
    Views
    1,299

    Rezo... very interesting and a nice job! I...

    Rezo... very interesting and a nice job!

    I will look into the LVGL. Did not know about that option.

    I will have to research all this a lot further. How did you determine the scales etc for...
  35. Replies
    38
    Views
    1,299

    OK then, new 4.0... LCD screen purring along...

    OK then, new 4.0... LCD screen purring along nicely.

    Images. I want to display 240x240 images on the screen. There is a demo in the GFX library showing a .c files being displayed.

    My...
  36. Replies
    38
    Views
    1,299

    OK. Just so that I don't end up stabbing pins...

    OK. Just so that I don't end up stabbing pins around again...

    The display requires Din. Din = Miso correct?

    So, the Teensy 4.0 has default Mosi on 11 and Miso on 12. Does my Din connection...
  37. Replies
    38
    Views
    1,299

    Yea.... think I will give up trying to get this...

    Yea.... think I will give up trying to get this working with a 3.2


    WARNING: Category 'Utility' in library FlexIO_t4 is not valid. Setting to 'Uncategorized'
    WARNING: Category 'display' in...
  38. Replies
    38
    Views
    1,299

    Thanks for the reply Paul. Pretty sure the...

    Thanks for the reply Paul.
    Pretty sure the processor is the cause, but I may investigate a little further. I was breadboard on my dining room table and suddenly just died, so I don't see how a...
  39. Replies
    38
    Views
    1,299

    Yes, I know the 4.0 is 3.3v. This screen is...

    Yes, I know the 4.0 is 3.3v. This screen is apparently 3.3v and 5v tolerant.

    Well the 4.0 is dead. Took the regulator off and the 3.3v output pin from the regulator is a dead short. So I can...
  40. Replies
    38
    Views
    1,299

    My Teensy 4 just entirely died for no obvious...

    My Teensy 4 just entirely died for no obvious apparent reason. I don't see anything connected incorrectly, and it's only powered from the USB lead.
    Tried an UNO and the USB lead is fine, so that is...
  41. Replies
    38
    Views
    1,299

    Just changed those definitions as recommended...

    Just changed those definitions as recommended above and it's spluttering! No display yet, but occasional flashes of light are a start

    Something is still not quite right...
  42. Replies
    38
    Views
    1,299

    I have found several resources (youtube video...

    I have found several resources (youtube video etc) regarding this display, but they all use an UNO.
    Pretty sure this library doesn't support a Teensy 4.0 in any form.

    I thought I would be able to...
  43. Replies
    38
    Views
    1,299

    I would appreciate some assistance in connecting...

    I would appreciate some assistance in connecting this screen to my Teensy 4.0. I don't seem to be able to work out how to declare the pins (I can literally use any pins).
    ...
  44. Replies
    38
    Views
    1,299

    Swapped the project over to a 4.0. Broke the...

    Swapped the project over to a 4.0. Broke the code entirely.

    Now the TFT doesn't seem to work properly, and the Fastled library work work either (4.0 too fast?). Tried different pins for the RGB...
  45. Replies
    38
    Views
    1,299

    I planned to use the Ethernet breakout on the...

    I planned to use the Ethernet breakout on the 4.1. Don't think that is available on the 4.0? (I might be wrong).

    I may play about with a 4 if I can find one
  46. Replies
    38
    Views
    1,299

    I'll stop the thread here then. Would...

    I'll stop the thread here then.

    Would switch over to a Teensy 4.1, but I may need to 'make my own' as the standard 4.1 footprint PCB is far too long for my needs. BUT.... no bootloaders...
  47. Replies
    38
    Views
    1,299

    OK. Plodding along OK. First.... what do...

    OK. Plodding along OK.

    First.... what do these warning actually mean and how do I correct them? (do I need to correct them?)

    WARNING: Category 'Utility' in library FlexIO_t4 is not valid....
  48. Replies
    38
    Views
    1,299

    OK Thanks for the help. I will look into the K...

    OK Thanks for the help. I will look into the K line signal as well.

    As for the fried Teensy.... well it's dead! I have 2 power rails on my breadboard. Top one i5 5v supply from a 7805 that...
  49. Replies
    38
    Views
    1,299

    Yes... I have been literally Googling for 2 hours...

    Yes... I have been literally Googling for 2 hours on this.
    Ideally, I would find someone's code I can adapt or use to try and understand the process. How I filter out the information is proving to...
  50. Replies
    38
    Views
    1,299

    So, got it working.... Then noticed something...

    So, got it working....

    Then noticed something not quite right. That will be an accidental 5v connected to the 3.3v pin of the Teensy 3.2 :mad: Not done that in a while.

    I assume that is...
Results 1 to 50 of 234
Page 1 of 5 1 2 3 4