Based on the information you've provided, it seems you're trying to enable QPI mode on your ls1012afrwy board with a Winbond flash. You mentioned that you're able to generate 1-4-4 and 1-4-4 signal/opcode but are having trouble with 4-4-4 signal generation. You also mentioned that you need to enter into QPI mode by giving 38h instructions.
According to the application note AN12279, when QSPI is selected as the boot source, PBL accesses QSPI flash in single bit mode and fetches RCW/PBI at a low speed. If the boot loader is also in the QSPI flash, the boot loader instructions will also be fetched at the same speed. This slows down the boot process. By increasing QSPI clock frequency and expanding QSPI bus width at an early stage in boot process, the boot process can be sped up.
Assuming that you're trying to execute the 38h instruction to enter QPI mode, you would typically need to send this instruction to the flash memory. However, the exact method of doing this can depend on the specific flash memory and the board you're using. You may need to write a function in your code that sends this instruction to the flash memory.
Here's a simple example of how you might do this:
void enter_qpi_mode(void) { // Send 38h instruction to flash memory write_instruction_to_flash(0x38); } Please note that this is a simplified example and the actual implementation may be more complex, depending on your specific hardware and software environment. You may need to consult the documentation for your specific flash memory and board for more details.