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

Search:

Type: Posts; User: Rezo

Page 1 of 7 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    12
    Views
    428

    @KurtE Thanks! I used the serial stuff while...

    @KurtE

    Thanks!
    I used the serial stuff while debugging on the computer.
    But in the field its standalone - 12v power and CAN to request/respond for data.
    Question is, how long is CrashReport...
  2. Replies
    12
    Views
    428

    I used the info from this thread to log the crash...

    I used the info from this thread to log the crash report to the SD card, as I have a device that runs in the car and does crash from time to time for some unknown reason.
    Here is a basic sketch I...
  3. Replies
    33
    Views
    886

    22/28 that makes sense and is alright. Thanks...

    22/28 that makes sense and is alright.
    Thanks for running through them!
  4. Replies
    33
    Views
    886

    Well, I'm happy to hear that we're not alone, but...

    Well, I'm happy to hear that we're not alone, but sad to hear that this issue is not isolated to us.
    Would you be able to run the the test sketch I posted on each of those working boards to see if...
  5. We do use the SDIO interface to communicate with...

    We do use the SDIO interface to communicate with the card, so I will take on your suggestion to use SD.mediaPresent to check if it's still there, and I'll reserve the card detect pin for later if it...
  6. Is there any guide on best practices for using...

    Is there any guide on best practices for using the SD library?
    For example, should I call SD.begin() each time I want to write to the card?
    Or, what's the best route of logic to handle card...
  7. Replies
    33
    Views
    886

    We have several test boards, some assembled in...

    We have several test boards, some assembled in house, some at JLC as well as the Sparkfun ATP - no matter which board it’s in - get the same issues.
    On the ATP every now and then it wont establish...
  8. Replies
    33
    Views
    886

    Understood. Thanks again for running the test and...

    Understood. Thanks again for running the test and sharing results!
  9. Replies
    33
    Views
    886

    Amazing, thanks for taking the time and running...

    Amazing, thanks for taking the time and running the tests.
    On the two units that won’t boot, if you push on the NXP chip and then plug it into the computer - does it show up?
  10. Replies
    33
    Views
    886

    Here are some fresh results from the test: MM1:...

    Here are some fresh results from the test:
    MM1:

    Pin 0 state: 0
    Pin 1 state: 0
    Pin 2 state: 0
    Pin 3 state: 0
    Pin 4 state: 0
    Pin 5 state: 0
    Pin 6 state: 0
  11. Replies
    33
    Views
    886

    @Kurt, so far I have two units, each has one bad...

    @Kurt, so far I have two units, each has one bad pin on FlexIO2 (can't remember which one, I think Teensy pin 42) Another has a bad CAN3 pin, and a brand new one I opened two days ago has a bad pin...
  12. Replies
    33
    Views
    886

    New Teensy MicroMods defective

    I've been working with a friend on a product development for the past two years now, and as soon as the Teensy MicroMod was released we made the transition and implemented it into our test jigs as...
  13. Thread: Dashboard thoughs

    by Rezo
    Replies
    10
    Views
    433

    I have an IPS 3.5” tft running on 8 bit 8080 @65k...

    I have an IPS 3.5” tft running on 8 bit 8080 @65k colors on a Teensy Micromod. It used FlexIO for the port and DMA for async transfers
    I can get around 45-60FPS with no issues. Its butter smooth
    ...
  14. Thread: Dashboard thoughs

    by Rezo
    Replies
    10
    Views
    433

    The RT1062 on the teensy does not have MIPI...

    The RT1062 on the teensy does not have MIPI interface, nor do lower models of the RT10xx
    The new RT117x does have though, but it's not a teensy product (yet..)
  15. Hi Kurt, Thanks for the links and code example! ...

    Hi Kurt, Thanks for the links and code example!

    I do have a few questions:
    1. How often does MTP.loop have to be called? I have a bunch of other tasks that need to keep their high priority.
    2....
  16. MTP, MSC, USB, SD, LittleFS.. what do I use and how?

    Hi all,

    I've got a project up and running and I've just gotten the SD part of it working with LittleFS to take screenshots from the UI and save them to the SD card.
    Hardware wise it's a Teensy...
  17. Replies
    47
    Views
    3,702

    This happens to me on TD1.56 on both a 2016...

    This happens to me on TD1.56 on both a 2016 Macbook Pro and a 2020 M1 both with the latest Mac OS
  18. Replies
    38
    Views
    1,311

    If you can get the display working (is it 240x240...

    If you can get the display working (is it 240x240 or 128x128?) on the Teensy 4.0 I have an example ready to share that should work with LVGL v8.2
  19. Replies
    38
    Views
    1,311

    Steve what display driver and SPI pins are you...

    Steve what display driver and SPI pins are you using right now?
    Can you perhaps send a code example of something that is working? I'll try get an example of LVGL up for you
  20. Replies
    38
    Views
    1,311

    I understand your frustration! It can be quite...

    I understand your frustration!
    It can be quite complex to set up at first, but it a very flexible and advanced library
    Forum member SKpang has something for the T4.0 on an SPI display for lvgl v7...
  21. Replies
    131
    Views
    28,322

    Since I can't find any thing in the forum or on...

    Since I can't find any thing in the forum or on Google - Does code security work on a Teensy MicroMod?
    I just tried to run the Fuse sketch on a brand new MicroMod and I get the following error:
    ...
  22. Replies
    38
    Views
    1,311

    Have you tried this?...

    Have you tried this?
    http://www.rinkydinkelectronics.com/t_imageconverter565.php

    If you’re looking for a neat GUI with many widgets and font support, I highly suggest using LVGL...
  23. Replies
    24
    Views
    5,252

    Ive never messed with SPI, only with parallel...

    Ive never messed with SPI, only with parallel FLEXIO, but technically speaking (assuming QSPI is just an additional three parallel serial lines) it would be a matter of increasing the shifter buffer...
  24. @defragster I'm going to call this a big waste of...

    @defragster I'm going to call this a big waste of your time, and I apologize up front.
    I just felt like I had to do more basic testing before using your suggested troubleshooting code and steps:
    1....
  25. You can get 8 consecutive bits on FlexIO2 on a...

    You can get 8 consecutive bits on FlexIO2 on a Teensy Micromod.
    On the T4.1 you might be able to achieve 8 bits but they are scattered over a 32 bit register.
    So you would have to do bit shifting...
  26. The 16 bits you have available on FlexIO3 do not...

    The 16 bits you have available on FlexIO3 do not support DMA transfers unfortunately.
    You can try an interrupt driven method where you can fill up four 32 bit FlexIO buffers with data and transfers...
  27. @defragster thanks for the sketch and all the...

    @defragster thanks for the sketch and all the info.
    I've been out the past few weeks with Covid (my 2nd time) and family matters, so trying to find time to get back to this issue and start...
  28. I have a few millis intervals in the main loop:...

    I have a few millis intervals in the main loop:
    1. Tells LVGL how much time has passed
    2. Calls LVGL task handler (object drawing etc)
    3. CAN transmits using standard mailboxes
    4. Custom function...
  29. Thanks for the tips! BTW its not even a hard...

    Thanks for the tips! BTW its not even a hard crash - just a full on freeze. USB dies out at some point too.

    Using a lot of Serial prints I can confirm that the Teensy will freeze as soon as the...
  30. Im still trying to build out a simpler program...

    Im still trying to build out a simpler program that will demonstrate the issue, but meanwhiles I’ve tried the following:
    1. As the two frame buffers sit in DMAMEM, I've added align 32 attributes to...
  31. Replies
    1,044
    Views
    173,360

    @tony got another quick one for you. As...

    @tony got another quick one for you.
    As mentioned before I have three mailboxes set up, each with it's own callback:


    Can0.setMBFilter(REJECT_ALL);
    Can0.setMBFilter(MB1, id1); //...
  32. Replies
    1,044
    Views
    173,360

    @tony I'd like to do on iso-tp something similar...

    @tony I'd like to do on iso-tp something similar to FlexCAN where I can assign a mailbox to a specific ID
    Can0.setMBFilter(MB1, 0x100); and trigger a specific callback when a message arrives in...
  33. Replies
    1,044
    Views
    173,360

    Can I use iso-tp onRecieve callback to trigger...

    Can I use iso-tp onRecieve callback to trigger per message ID?
    For example:
    id = 0x001 - trigger function callBack1
    id = 0x002 - trigger function callBack2
    id = 0x003 - trigger function callBack3...
  34. Yep that's the guy! CAN runs an isr for the rx,...

    Yep that's the guy!
    CAN runs an isr for the rx, but the issue will happen with transmitting which just happens through the main loop with a millis() delay.
    DMA code was written mostly with the help...
  35. @defragster I believe it was a friend of mine...

    @defragster I believe it was a friend of mine posting about the use of the same display library, LVGL and NRF24 over SPI.
    He was having the same issue, he also changed from DMA transfers to standard...
  36. Teensy MicroMod freeze/hang when using multiple libraries together

    Hi all,

    I've been working on a long time project that uses the following libraries:
    IntervalTimer - used for handling a GUI library timing mechanism
    LVGL v7/8 - a GUI library
    FlexCAN_t4 - CAN...
  37. Thread: Teensy MicroMod

    by Rezo
    Replies
    59
    Views
    18,160

    You can either use a different set of FlexIO pins...

    You can either use a different set of FlexIO pins for WR/RD (you can use MM pins 56/54 which is Teensy pins 7&8 which is FlexIO2:16,17) or you could use any other set of SPI pins available such as...
  38. Thread: Teensy MicroMod

    by Rezo
    Replies
    59
    Views
    18,160

    @Neal note that WR and RD pins can be wired to...

    @Neal note that WR and RD pins can be wired to alternate FlexIO2 pins that are available, but they will need to be changed within the library code.
  39. Thread: Teensy MicroMod

    by Rezo
    Replies
    59
    Views
    18,160

    @Neal I only use the display, CAN, USB, I2C and...

    @Neal I only use the display, CAN, USB, I2C and planning for SDIO in the future.
    27772
    This is the pinout I've used for the various peripherals. Note that the pin numbers are MicroMod pins and not...
  40. Replies
    74
    Views
    7,483

    What are you measuring up top left? (49c and...

    What are you measuring up top left? (49c and 68Hz)?
  41. Replies
    74
    Views
    7,483

    How are you exporting the screenshot? Are you...

    How are you exporting the screenshot? Are you writing it directly to the SD card or through a buffer of some sort?
    In LVGL v8 there is a screen-capture API that will export a C array of the current...
  42. Thread: Teensy MicroMod

    by Rezo
    Replies
    59
    Views
    18,160

    When I was writing the library I was using a...

    When I was writing the library I was using a Sparkfun MicroMod ATP board with an Arduino ILI9486 shield that I purchased on Amazon. It is an 8 bit parallel breakout display board.
    Here is a video of...
  43. Replies
    3
    Views
    448

    I use a performance monitor on LVGL to measure...

    I use a performance monitor on LVGL to measure FPS.
    Seems to be doing 45-60FPS on average on a 480x320 display @16 bit color, 8 bit bus @24Mhz
    Altough on paper 24Mhz/(480x320x2) = 78.x FPS
    Either...
  44. Replies
    3
    Views
    448

    FlexIO2 won’t work on the 4.1 as you don’t have 8...

    FlexIO2 won’t work on the 4.1 as you don’t have 8 consecutive pins.
    You will have to do bit shifting on each write to get it to work properly which will create inefficiency.
    Have you considered...
  45. Thread: Teensy MicroMod

    by Rezo
    Replies
    59
    Views
    18,160

    I've written a library with the help of Eric...

    I've written a library with the help of Eric (easone) and Kurt's FlexIO_t4 library.
    It can drive ILI9481, 9486, 9488 and R61529 displays at 480x320 resolution @16 bit color depth. Supports blocking...
  46. Replies
    17
    Views
    749

    Do any of you have a suggestion for an...

    Do any of you have a suggestion for an alternative serial monitor?
    I find the one in VSC/PIO to be very erratic and it barely works most times.
  47. On the Teensy loader click File>Open It will...

    On the Teensy loader click File>Open
    It will take you to the build folder where the .elf can be found.
    You can copy the folder path to access it
  48. @Paul i get the same results with addr2line on...

    @Paul i get the same results with addr2line on PlatformIO
    If I convert the app to compile in TD and reproduce the same crash - addr2line works with the elf generated by TD.
  49. Replies
    18
    Views
    923

    Placing this function is FLASHMEM worked for me...

    Placing this function is FLASHMEM worked for me too.
    I did see a similar solution to the 9 blinks on a recent thread yesterday while searching for the root cause.
  50. Replies
    18
    Views
    923

    Thank you @Frank B, I appreciate it! Will test...

    Thank you @Frank B, I appreciate it!
    Will test later on and come back with insights
Results 1 to 50 of 310
Page 1 of 7 1 2 3 4