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

Search:

Type: Posts; User: Rezo

Page 1 of 4 1 2 3 4

Search: Search took 0.00 seconds.

  1. Tested it out - still no luck. I even moved...

    Tested it out - still no luck.

    I even moved the entire register config into the setup loop and it does the same thing.

    I have copied the exact configuration for the shifter and timer from the...
  2. You are correct, my transmit function will go...

    You are correct, my transmit function will go into a while loop when SHIFTSTAT == 0 as it wait's for the transmit to complete. So setting it to 1 would clear it.
    Will give it a try later on today...
  3. It looks like 6, but it is actually 5 pulses, the...

    It looks like 6, but it is actually 5 pulses, the 1st one being the one I don't need.
    Per the data sheet, FLEXIO_SHIFTCFG_PWIDTH(n) will detemine how many bits are being pushed/read at a time, and...
  4. FlexIO "Extra" clock cycle on 8080 parallel setup

    So the title may not fully reflect the content of this post, but I tried to keep it short :)

    So I'm in the process of building out an 8 bit parallel display driver for the Teensy Micromod using...
  5. Replies
    170
    Views
    17,220

    You can get 8 bits on FlexIO2 on the Teensy...

    You can get 8 bits on FlexIO2 on the Teensy Micromod
  6. Replies
    1
    Views
    121

    I have an ILI9488 display driver written by...

    I have an ILI9488 display driver written by another forum member (@beermat) that supports 8/16 bit wide bus on a Teensy 4.1
    It could be modified to support the 9341 as well I guess - and supports...
  7. Replies
    21
    Views
    1,871

    I've hacked some code together based on one of...

    I've hacked some code together based on one of NXPs code examples for FlexIO.
    I was wondering if someone here (Paul, Kurt, miciwan) who knows the in's & out's just a bit (ALOT) better and can...
  8. Replies
    21
    Views
    1,871

    @miciwan thanks for confirming! I have a few...

    @miciwan thanks for confirming!

    I have a few more questions up my sleeve :D

    I'm in the process of adapting the NXP FlexIO 8080 LCD example to the Teensy 4.1/MM (focus is 8 bit width on MM) and...
  9. Replies
    14
    Views
    399

    Thanks luni, this is great! Does it support the...

    Thanks luni, this is great!
    Does it support the T4/4.1?
  10. Replies
    14
    Views
    399

    Implementing TeensyLoader into a C# app?

    I'm in the process of creating a simple app for updating a teensy based product (to be) and I was wondering, how can I implement the teensy cli C file into my existing visual studio wrapper (.cs) app...
  11. Replies
    21
    Views
    1,871

    @miciwan I have a quick Q about the...

    @miciwan I have a quick Q about the shifters/shifter buffers.
    Looking at this image:
    25098

    If I configure the flexio instance to shift out 8 bits at a time, does that mean I can fill each buffer...
  12. I use this method to power a T4/4.1 in my car via...

    I use this method to power a T4/4.1 in my car via a drop down SMPS and also flash/log data via usb in the car as well. I've had zero issue so far.


    The PJRC website has a short guide for this as...
  13. Replies
    21
    Views
    1,871

    @hobi I have a 8/16 bit library written by...

    @hobi I have a 8/16 bit library written by another forum member that uses the fast GPIO's
    A full screen update on an ILI9488 @16bit color / 16bit bus takes roughly 6ms - not too bad!
    But, the fast...
  14. Amazing project >> product! How are you driving...

    Amazing project >> product! How are you driving the display? Over SPI?
    It looks like the CPT ILI9488 based on resolution and clarity.
  15. Replies
    7
    Views
    466

    You can define in your library's source file the...

    You can define in your library's source file the following:


    #define Wire Wire2

    I did this with an Adafruit library and it works. It's an effortless and harmless edit that's easy to revert
  16. Replies
    944
    Views
    37,689

    Kudos to all of those involved in this project -...

    Kudos to all of those involved in this project - I am very much looking forward to using the MicroMod with the new FlexIO pins exposed :D

    I see there has been a lot of development effort around...
  17. Replies
    12
    Views
    843

    I mean that I have no seen anyone sucessfully...

    I mean that I have no seen anyone sucessfully implement the 8080 protocol with FlexIO. I'll keep reading and experimenting though
  18. Replies
    12
    Views
    843

    I could actually do that in the DMA interrupt and...

    I could actually do that in the DMA interrupt and stop it once the all the data as been pushed out.. I'll look into it.



    I would love to try FlexIO as it can run at a much faster speed, but...
  19. Replies
    12
    Views
    843

    @KurtE thanks, After going through many source...

    @KurtE thanks,

    After going through many source codes repo's and reading the documentation, finally things are making much sense to me and I understand how the flow works.

    My biggest dilemma now...
  20. Replies
    29
    Views
    5,058

    I want to stop the PWM in some cases to write...

    I want to stop the PWM in some cases to write simple 16 bit commands to the display, so I set the registers to stop the PWM and to set pin #33 back to a GPIO pin:



    FLEXPWM2_MCTRL |=...
  21. Replies
    29
    Views
    5,058

    Just a quick update.. After a few hours of going...

    Just a quick update..
    After a few hours of going through documentation and experimenting, I finally found how to switch the timer output to pin #33

    I started by setting pin 33 to FlexPWM_PWM2_B00...
  22. Replies
    29
    Views
    5,058

    I finally have the guts to test this and start...

    I finally have the guts to test this and start playing around as I have been doing ALOT of reading (still don't understand much but know more that I did a few weeks ago).
    I want to thank miciwan for...
  23. Replies
    12
    Views
    843

    Coming back to this after a few weeks. @miciwans...

    Coming back to this after a few weeks. @miciwans latest posts have been very helpful and getting my mind to understand how dma works on the code side and I now have a code example to build on.
    One...
  24. Replies
    804
    Views
    82,986

    Have an easy one Tony! If I was to add another...

    Have an easy one Tony!
    If I was to add another FIFO filter, lets say setFIFOFilter(1, 0x714, STD) - could it trigger a different callback? How would I set that up?
  25. Replies
    804
    Views
    82,986

    Does this setup seem right then? ...

    Does this setup seem right then?


    Can0.begin();
    Can0.setClock(CLK_60MHz);
    Can0.setBaudRate(500000);
    Can0.setMaxMB(16);
    Can0.enableFIFO();
    Can0.enableFIFOInterrupt();
    ...
  26. Replies
    804
    Views
    82,986

    TBH, I don't know what is the best route here.. ...

    TBH, I don't know what is the best route here..

    I send one request which is a total of 3 frames.
    So I send off frame#1
    receive flow control
    Send frame#2
    Send frame#3

    Then I receive response...
  27. Replies
    804
    Views
    82,986

    Add Tony's example to your global rx callback...

    Add Tony's example to your global rx callback (canSniff)
    If the 1st byte starts with or is equal to 0x10 and the 3rd byte is equal to 0x49 (positive response) and the 4th byte is equal to 0x02 (VIN...
  28. Replies
    804
    Views
    82,986

    This is neat! Just in time as I have started to...

    This is neat! Just in time as I have started to send/receive UDS compressed messages.
    So this knows how to handle incoming messages that are longer than 8 bytes. But from what I understand, sending...
  29. Replies
    5
    Views
    349

    RX to RX TX to TX

    RX to RX
    TX to TX
  30. Replies
    29
    Views
    5,058

    Hi Kurt, I’m driving the lcd at the moment via...

    Hi Kurt,

    I’m driving the lcd at the moment via 8/16bit 8080 on GPIO6 writing directly to the port.
    It works quite fast but I am afraid that when I start to add more functions and interrupts its...
  31. Replies
    29
    Views
    5,058

    @miciwan great post! Do you have any reference to...

    @miciwan great post! Do you have any reference to information about XBAR besides the technical manual?
    What other methods are there to trigger a DMA transfer? And how would one attach a clock signal...
  32. Replies
    804
    Views
    82,986

    Did you take your UDS example from a Hackster...

    Did you take your UDS example from a Hackster article? If so it might be mine.

    I'm not sure 0xF405 will yield anything unless it's being requested from a VW/Audi MQB platform vehicle (that's what...
  33. Replies
    804
    Views
    82,986

    Positive response will be 0x41 for Mode 01 and...

    Positive response will be 0x41 for Mode 01 and 0x62 for mode 22
    Thatís probably why youíre not going into any of the if conditions in your rx callback
  34. Replies
    12
    Views
    843

    I was hoping to use code based trigger via a...

    I was hoping to use code based trigger via a display flush callback from LVGL (they did it that way on an STM32F429 example with DMA)
    But, this is where I feel I have far too less knowledge to even...
  35. Replies
    12
    Views
    843

    I believe the file I should be looking into is...

    I believe the file I should be looking into is OctoWS2811_imxrt.cpp, is that correct?
  36. Replies
    12
    Views
    843

    DMA parallel output on T4.1

    I was provided a sample library from a forum member to drive a tft display via 8 bit parallel using digitalWriteFast() and we can get a full screen update (480x320) in roughly 5-6ms.
    Performance...
  37. Replies
    20
    Views
    3,641

    Dynamically, I believe not. The Teensy does not...

    Dynamically, I believe not.
    The Teensy does not have a mechanism to dynamically allocate RAM into the PSRAM chip.
    You can declare EXTMEM before variables to place them into the PSRAM memory block -...
  38. Replies
    4
    Views
    546

    You can use the ILI9341_t3n...

    You can use the ILI9341_t3n library with DMA, and use the setClipRect function to clear the areas that need to be rewritten on the display.
  39. Replies
    1
    Views
    667

    The music player runs beautifully on the T4.1...

    The music player runs beautifully on the T4.1 with the ILI9488!
    Thanks for all of your support offline with getting the display running!
  40. Replies
    20
    Views
    3,641

    Just coming back to this as I am now finally...

    Just coming back to this as I am now finally giving it a try.

    When I set my lv_conf file with the same setting as above I get a bunch of compile errors - so many that I have attached them as a...
  41. Replies
    20
    Views
    3,641

    This is great! Thank you for bringing it to my...

    This is great! Thank you for bringing it to my attrntion!
    I had actually manually set most fonts and images to storge in Flash memory but your suggestion here above saves a LOT of file editing :)
  42. Replies
    2
    Views
    1,013

    It's a real shame that the LCD interface pins are...

    It's a real shame that the LCD interface pins are not fully exposed on the T4/4.1, as it has a whole lot of potential.
    For this reason I'm migrating my project to an ST based chip using an M4 core...
  43. Replies
    8
    Views
    1,451

    vgopaitsa I'm really glad it's working for you! ...

    vgopaitsa I'm really glad it's working for you!

    If you want to make a nice GUI, I can suggest the following:
    Ring gauge - this is fairly easy to adapt to your current display library, and looks...
  44. Replies
    8
    Views
    1,451

    By the way, I plug into the OBD port, not...

    By the way, I plug into the OBD port, not directly to any of the available busses in the car. I was after true P&P :D
  45. Replies
    8
    Views
    1,451

    As Tony mentioned, UDS is not easy to understand...

    As Tony mentioned, UDS is not easy to understand and it's not documented anywhere but it's got more enhanced data than standard OBD2 PIDs - that's why can sniffing individual PID's is the best...
  46. Replies
    20
    Views
    3,641

    Yep, that's exactly what was suggested to me. I...

    Yep, that's exactly what was suggested to me. I applied that to both the image and to all of my font files. I went from 126% usage of RAM down to 60%!
    It was also suggested that I could move some...
  47. Replies
    8
    Views
    1,451

    I have experience with the MQB platform, but as...

    I have experience with the MQB platform, but as your Jetta is on the PQ35 platform, I can't provide you with my request response sample as it's not the same.
    What kind of data do you want to display...
  48. Replies
    20
    Views
    3,641

    Thanks!! I opened a thread over at the LVGL...

    Thanks!!

    I opened a thread over at the LVGL forum and after some help there we realised the images I was loading was being stored in RAM and not in Flash, so I am making a modification to change...
  49. Replies
    20
    Views
    3,641

    T4.1 - using PSRAM chip as RAM

    I've tried searching the forum on this specific question for the last 40 mins but didn't come to an answer...

    I was wondering if it would be possible to allocate the 8Mb PSRAM chip to the system...
  50. I FINALLY got to testing the buydisplay ILI9488...

    I FINALLY got to testing the buydisplay ILI9488 on the T4.1 with external PSRAM.

    Unfortunately, it does not work well at all using external PSRAM. It seem to update extremely slow when...
Results 1 to 50 of 188
Page 1 of 4 1 2 3 4