Riverdi 5" resistive display FT812 parameters

General discussion on Visual TFT Software.
Post Reply
Author
Message
mynos
Posts: 78
Joined: 30 Oct 2015 17:22
Location: Venezia (Italia)

Riverdi 5" resistive display FT812 parameters

#1 Post by mynos » 10 Feb 2022 09:35

Hello,

can anyone give me the parameters to use for a Riverdi 5"resistive display with FT812 (RVT50AQFFWR00)?

At the moment I'm using STM32F407VG + 5" (RVT50UQFNWC0x) and 7" (RVT70UQFNWC0x) Riverdi capacitive displays with FT813 and all works well.
For a project I need to use the resistive version with FT812, I tried different "schemas" for VisualTFT for FT812 resistive, but the images are corrupted (overall if I draw more than 30 objects).
I can see something with the resistive display only if I draw few objects and use parameters for capacitive display.

Configuration parameters for capacitive displays that I usually use and the parameters for resistive touch:

Code: Select all

// Default configuration parameters
const TFT812Display VTFT_FT812_CONFIG_DISPLAY =
{
  60000000,        // Frequency          = main clock frequency
  0,               // OutRenderMode      = 0 normal, 1 write, 2 read
  0,               // RenderReadScanLine = scanline for read render mode
  0,               // RenderWriteTrigger = trigger for write render mode (read only)
  953,             // hCycle             = number if horizontal cycles for display
  88,              // hOffset            = horizontal offset from starting signal
  800,             // hSize              = width resolution
  42,              // hSync0             = hsync falls
  90,              // hSync1             = hsync rise
  525,             // vCycle             = number of vertical cycles for display
  32,              // vOffset            = vertical offset from start signal
  480,             // vSize              = height resolution
  9,               // vSync0             = vsync falls
  12,              // vSync1             = vsync rise
  0,               // Rotate             = rotate display
  0x01B6,          // OutBits            = output bits resolution
  0,               // OutDither          = output number of bits
  0x0000,          // OutSwizzle         = output swizzle
  0,               // OutCSpread         = output clock spread enable
  0,               // PClockPolarity     = clock polarity: 0 - rising edge, 1 - falling edge
  2,               // PClock             = clock prescaler of FT812: - 0 means disable and >0 means 48MHz/pclock
};

const TFT812Touch VTFT_FT812_CONFIG_TOUCH =
{
  3,               // TouchMode        = touch screen mode (2 bits): 0 - off, 1 - oneshot, 2 - frame, 3 - continuous
  0,               // TouchADCMode     = touch screen adc mode (1 bit): 0 - singleended, 1 - differential
  6000,                // TouchCharge      = Touchscreen charge time, units of 6 clocks
  3,                // TouchSettle      = touch screen settle time - 4 bits
  7,                // TouchOversample  = touch screen oversample - 4 bits
  1000,                // TouchRZThreshold = Touchscreen resistance threshold
};
Does anyone have better parameters for resistive FT812 display? (with a lot of objects drawed in the screen)

Thank you

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: Riverdi 5" resistive display FT812 parameters

#2 Post by filip » 10 Feb 2022 14:55

Hi,

We use the default parameters generated by the Visual TFT for the FT812.

This parameters don't work for you ?

Regards,
Filip.

Post Reply

Return to “Visual TFT General”