FT813_Riverdi Display 7 inch #23
Replies: 9 comments 38 replies
-
Hello, the RVT70 is supported, in fact I have one running here one desk over for a week now as HMI for a control unit under test. My adapter boards ( https://github.com/RudolphRiedel/EVE_display-adapter ) are all active and have at least a 3.3V step-down regulator. I do not have hands on experience with the S32K series (yet) but I do have an eval board with a S32K144. What needs to be changed is in EVE_target.h. |
Beta Was this translation helpful? Give feedback.
-
I just found the thread on the FTDI community forum and their assesment that the adapter does not match the display is wrong. And pin 8 on the Riverdi Click is labeled "RST", this pin is the PD pin on the display, this connects to pin 12 on the EVE chip: |
Beta Was this translation helpful? Give feedback.
-
You need both the logic supply and the backlight supply. A smaller display like the EVE3-50 from Matrix Orbital could be used with only 3.3V. I am using a GPIO for CS in my library as I am supporting a wide range of controllers of which at least half do not have hardware support for the SPI CS line. |
Beta Was this translation helpful? Give feedback.
-
I am trying to make use of the S32K144EVB I have but so far this only provided the worst experience I have ever had with a new eval board. |
Beta Was this translation helpful? Give feedback.
-
Now that it compiles I started to expand the "hello_world_s32k144" example. In order to do so you need to either find defines for the target controller that are already set in the development enviroment or add defines. So I added a new target in EVE_target.h like this: /----------------------------------------------------------------------------------------------------------------/ #if defined (CPU_S32K148) || (CPU_S32K144HFT0VLLT) #include "pins_driver.h" #define EVE_CS_PORT PTD It does not do anything usefull so far but it compiles just fine. Now I have to check the board documentation to find out which pins could be actually used for CS, PDN and the SPI. |
Beta Was this translation helpful? Give feedback.
-
This is a cleaned up version: I removed the odd SPI driver from NXP after reworking the EVE_init_spi() with inspiration from example code from NXP. And I removed the now unnecessary defines for the pins in EVE_target.h. Two things are a bit alarming, one is the still rather low clock speed of the SPI. static inline void spi_transmit(uint8_t data) So far I have not found a way to ignore the received data for transmit-only operations. |
Beta Was this translation helpful? Give feedback.
-
Damn, I am stuck with this DMA engine. As a next step this one should transfer the buffer with DMA and wait for completion. I am only getting one byte of the DMA though. The SPI is setup for byte transfers and so I configured the DMA to use bytes as well. When I increase the amount of bytes per minor loop more bytes get transferred on the SPI. What is this DMA engine doing and why? |
Beta Was this translation helpful? Give feedback.
-
I got some help from NXP or rather they pointed me in the direction of annother SPI/DMA example I was not aware of so far. And this is the first version that transfers the buffer for the screen update with DMA: It still does busy-wait for the DMA to complete, to finish this I still need to add the DMA-done interrupt. |
Beta Was this translation helpful? Give feedback.
-
Now this was easier than I thought it might be. This one is using an DMA-done interrupt: Edit, I merged the changes and released new versions of EVE_target.c and EVE_target.h. |
Beta Was this translation helpful? Give feedback.
-
Hello RudolphRiedel,
I recently bought this LCD : https://riverdi.com/product/rvt70aqffwc00/
And Riverdi click adapter : https://www.mikroe.com/riverdi-click
MCU: NXPS32K148
I want to get works the display with NXPS32K148 mcu . But it does not work yet.
I would like to use your library but, I have some questions before all. Is my HW ok for getting work this display? Which one of your library could be more adapted to my mcu target?
Thank you in advance for your help.
Best Regard,
Milad
Beta Was this translation helpful? Give feedback.
All reactions