2 of 2 people found this helpful
Yes, the configurator only has some generic commands you would normally see in every chip. You can of-course pass your own commands, you just need to use the low level APIs. For example, to read JEDEC ID (opcode 9F) please do the following:
Cy_SMIF_TransmitCommand( KIT_QSPI_HW, 0x9F, /* RDID (JEDEC) command */ CY_SMIF_WIDTH_SINGLE, CY_SMIF_CMD_WITHOUT_PARAM , /* Command does not have parameters */ CY_SMIF_CMD_WITHOUT_PARAM , CY_SMIF_WIDTH_SINGLE, CY_SMIF_SLAVE_SELECT_0, /* External memory connected to nSS0 */ 0U, /* Do not disable nSS after command transfered */ &KIT_QSPI_context); smifStatus = Cy_SMIF_ReceiveData(KIT_QSPI_HW, rxBuffer, 20U, /* Read 20-byte */ CY_SMIF_WIDTH_SINGLE, NULL, /* Callback function is not used */ &KIT_QSPI_context); CheckStatus("Reading JEDEC failed", smifStatus); PrintArray("Received JEDEC", rxBuffer, 20);
You can also add a new flash device by File > New *.cymem file in the device configurator. You can find more information on how to go about this in Page#6 of the QSPI Configurator Guide.