Teensy 4 and Riverdi 70H not working #137
-
|
Hello, I've had good luck with the GDSTx library on my setup here but wanted to switch to yours to eek out some more performance. However, the built-in example in this project doesn't work at all - the backlight powers up but nothing else happens. Any idea what's happening here? One thing that might be important to note is that my PDN pin is not connected, and the whole thing is already integrated in a PCB so I can't add it. This hasn't been a problem in the other library. Any ideas as to what might be wrong would be much appreciated! |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 16 replies
-
|
Hi, check EVE_init(), if you add EVE_SOFT_RESET to your build environment you can get away with not wiring the PD line properly. |
Beta Was this translation helpful? Give feedback.
-
|
I was thinking about it for a while, and then decided to take the inverse of 16.67ms. 60Hz. Aha, video refresh rate! I will perform some more experiments now, and gate the CMD_SWAP to greater than every 16.67ms. Maybe the "line strip" is the way to go. I am also interested in DMA, as I want to reduce the CPU load as much as possible in the application. Thank you very much for the fast response, and also thank you for the library! Best regards, |
Beta Was this translation helpful? Give feedback.
-
|
Well, yes, this is just abstraction, the bare-panel datasheets describe things a bit different than the module datasheets. A linestrip is a pretty efficient way to plot a graph from a set of samples like an oscilloscope. |
Beta Was this translation helpful? Give feedback.
-
|
There are two mechanisms to use commands from RAM_G, the older one is to use CMD_DLSTART, write a number of commands into the display list, then copy that display list to RAM_G and use CMD_APPEND. Both variants are used here: https://github.com/RudolphRiedel/EmbeddedVideoEngine/blob/main/examples/EVE_Test_SAME51_RVT50H/tft.c What both of these methods provide is a way to reduce the SPI traffic from the host controller to the EVE chip, I am still using that scheme, but it became somewhat obsolete when I moved to faster controllers with DMA. |
Beta Was this translation helpful? Give feedback.
-
|
Well, first of all, going from a famebuffer-chip to an EVE chip already reduces the SPI traffic by a lot. Which is also the reason why I never explored to go beyond single SPI, there is not really a point to do this for updates Now with the Teensy 4, DMA support is already baked in. |
Beta Was this translation helpful? Give feedback.
Hi,
check EVE_init(), if you add EVE_SOFT_RESET to your build environment you can get away with not wiring the PD line properly.
I am thinking about removing the condition, but there are hardly any display modules with no PD line.