For transferring 8 byte commands, you may use the GPIF register read write APIs such as CyU3PGpifWriteDataWords. Also, in order to send 512 bytes, you need to have your DMA Buffers configured for 512 bytes, Please create a Tech Support case for more guidance.

Hi, I want to send 8 bits command to NANDflash via GPIF, You suggest me to use CyU3PGpifWriteDataWords() function, but i note that in the FX3 firmware API Guide, it says "Please note that each data word in the buffer is expected to be padded to 32 bits. " How can i do ? Can you give me a example code? Besides, the parameter "numWords" means how many times of 32 bits or how many times of 16 bits? Looking forward to get a reply. Regards, -Feng Li

Hello, Another question I want to consult you. I want to write or read NANDflash 512 bytes every time via GPIF state machine. But I don't know how to control state machine very well. The picture is my configuration of GPIF state machine. I want to use CyU3PGpifSMSwitch() function to realize it. Is it right? How can I set the parameters to control state machine to transfer 512 bytes every time? Can you give me the example code? Looking forward to get a reply. Thank you very much! Regards, -Feng Li