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 |=...
Type: Posts; User: Rezo
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 |=...
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...
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...
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...
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?
Does this setup seem right then?
Can0.begin();
Can0.setClock(CLK_60MHz);
Can0.setBaudRate(500000);
Can0.setMaxMB(16);
Can0.enableFIFO();
Can0.enableFIFOInterrupt();
...
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...
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...
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...
RX to RX
TX to TX
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...
@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...
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...
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
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...
I believe the file I should be looking into is OctoWS2811_imxrt.cpp, is that correct?
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...
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 -...
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.
The music player runs beautifully on the T4.1 with the ILI9488!
Thanks for all of your support offline with getting the display running!
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...
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 :)
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...
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...
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
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...
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...
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...
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...
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...
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...
I second this! ^^^ would like to see higher res displays driven directly by the chip - seen some beautiful things on the development boards with LVGL and Qt.
Sounds interesting!
I have some bare ILI9488 displays that can be driven either SPI, DBI or RGB(as you plan to) that I can also test on. Happy to try it out once you have something built up
Kurt I was under the impression that only FLEXIO3 could be used as all it's GPIO's on the same port register.
But, if we can combine FLEXIO1 & FLEXIO2 with DMA that could be ideal, no?
I saw this...
Has anyone else tried the 16bit parallel interface with the T4.1?
It would be interesting to see how it performs against the SPI-DMA libraries by Kurt.
Im already using those libraries on the T4x, have been for the last 6 months. But they are simply an API to send commands to the display to draw lines circles strings etc.
Qt is the layer that...
1. For my needs, ILI9488 or HX8357 both supporting 16bit (or 18 bit) color depth and a resolution of 480x320
2. I have no idea, I have not gotten into the working parts of Qt, this is why I...
I thought I would revive this thread as I just came across Qt for MCUs and now that we have the T4.1 with the option to expand both SDRAM and Flash - might allow one to utilize the Qt framework
But...
Amazing! I remember the early versions of MegaSquirt - gosh that was like 13 years ago.
But the entire ECU board and housing looks top notch!
Perhaps you can also add in some form of dashboard...
I use two diodes as suggested by Paul in one of the guides. I used an TH diode last time, but will try the equivalent SMD version for a “cleaner” look
That's what I did with the 2nd breakout board. I applied flux on the pads and a very small amount of solder to the tip of the iron (TS100) and ran across the pads.
I then added more flux onto the...
A quick update from my side:
I got the display to work, but it's quite unstable. At first, the pads/pins would start crackling and smoking as soon as I'd power it up, and this happened only on...
I ordered early June and it arrived in Israel two weeks later with standard USPS shipping.
But, I had ordered some PCBs from OSH Park (they ship from the same state as PJRC) in April, it arrived two...
Yes, but without the GPU :D in a perfect world the Teensy would handle that, but the same TFT, yes.
I got to soldering the FPC connector to an Adafruit breakout board - my first time soldering an...
I understand you - if you can get it to be configurable in the constructor it will make config much easier for the user, but at the moment I think people are competent enough to uncomment that line
...
I'm willing to try the 9488 just because it's a third of the price, has capacitive touch and they can be ordered as bare displays and not as a shield (I've designed PCBs to surface mount the T4.1...
Funny enough, I eventually used an Adafruite HX8357 display for my first prototype, but placed an order for the ILI9488 last week and it's arriving later on today!
I'm looking forward to getting it...
You're correct on the resistor, I found a dev board with a 230 in the circuit and the schematic did show a 22k resistor between 3v3 and Rs, and another 10k resistor between Rs and a digital pin for...
That looks quick!
So you’re going to build a new library to play back the GIFs, or will it be an extension library that utilizes the APIs from display driver libraries such as ILI9341_t3n?
Can anyone suggest the best rout to implement the following behaviour with the SN65HVD230?
I want the transceiver to be in low power mode by default, which means I need to pull the Rs pin to Vcc...