1
Discussion - Software / Re: EVE Screen Editor Font Problem
« on: June 20, 2019, 02:49:58 PM »
Hi,
I'm using the last version is v3.2.1.
I'm using the last version is v3.2.1.
Welcome to the FTDI Community!
Please read our Welcome Note
Technical Support enquires
please contact the team @ FTDI Support
New Bridgetek Community is now open
Please note that we have created the Bridgetek Community to discuss all Bridgetek products e.g. EVE, MCU.
Please follow this link and create a new user account to get started.
Bridgetek Community
#define settingQVGALCDPARAMETER \
{ \
480U, /* Active width of LCD display */ \
272U, /* Active height of LCD display */ \
548U, /* Total number of clocks per line */ \
43U, /* Start of active line */ \
0U, /* Start of horizontal sync pulse */ \
41U, /* End of horizontal sync pulse */ \
292U, /* Total number of lines per screen */ \
12U, /* Start of active screen */ \
0U, /* Start of vertical sync pulse */ \
10U, /* End of vertical sync pulse */ \
5, /* Pixel Clock */ \
0, /* Define RGB output pins */ \
1, /* Define active edge of PCLK */ \
} \
uint32_t cmdBufferWr = ft800memRead32(REG_CMD_WRITE);
ft800memWrite32(REG_CMD_WRITE, cmdBufferWr + 3012);
ulCommandIndex = 0;
ftcmdwrite4lines(RST_PULSE);
ftcmdwrite(FT_EXTERNAL_CLOCK);//or ftcmdwrite4(FT_EXTERNAL_CLOCK);
ftcmdwrite(COMMAND_ACTIVE);//or ftcmdwrite4(COMMAND_ACTIVE);
HAL_Delay(500);
//ftmemwrite8(SPI_WIDTH,2);
ftmemwrite8(PWM_DUTY,100);//it writes 4 lines
uint32_t cmdBufferWr= ft800memRead32(REG_CMD_WRITE);
sCommands.Instruction = 0x00;
sCommands.InstructionMode = QSPI_INSTRUCTION_NONE;
sCommands.AddressMode = QSPI_ADDRESS_4_LINES;
sCommands.DdrMode = QSPI_DDR_MODE_DISABLE;
sCommands.AddressSize = QSPI_ADDRESS_24_BITS;
sCommands.AlternateByteMode = QSPI_ALTERNATE_BYTES_NONE;
sCommands.AlternateBytesSize = QSPI_ALTERNATE_BYTES_8_BITS;
sCommands.AlternateBytes = 0x00;
sCommands.Address = (cmdBufferWr + RAM_CMD) | 0x800000;
sCommands.DataMode = QSPI_DATA_4_LINES;
sCommands.NbData = ulCommandIndex;
sCommands.DummyCycles = 0;
sCommands.DdrHoldHalfCycle = QSPI_DDR_HHC_ANALOG_DELAY;
sCommands.SIOOMode = QSPI_SIOO_INST_EVERY_CMD;
s_transfer_reg_to_ftdi.b_state = IMAGE_TRANSFERRING_FTDI;
__FTDI_SELECT();
vDelayUs(300);
HAL_QSPI_Command(&hqspi, &sCommands, HAL_QPSI_TIMEOUT_DEFAULT_VALUE);
HAL_QSPI_Transmit_DMA(&hqspi, (uint8_t*) &ucCmdBuffer[0]);