cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 

USB Superspeed Peripherals

Anonymous
Not applicable

ä½ å„½ļ¼Œęˆ‘ęƒ³åˆ©ē”ØCYUSB3014åŠ äøŠäø€å—NANDflashåšäø€ę¬¾Uē›˜ļ¼Œé‡åˆ°äŗ†äø€äŗ›éŗ»ēƒ¦ć€‚ęˆ‘å°†DQ0-DQ1č®¾ē½®äøŗę•°ę®åœ°å€å¤ē”Øēŗæļ¼Œē¬¬äø€ļ¼Œęˆ‘éœ€č¦å‘flash写兄8byteēš„å‘½ä»¤ļ¼ŒFX3 APIäø­ęœ‰ē›øå…³å‡½ę•°å—ļ¼Ÿē¬¬äŗŒļ¼Œęˆ‘ęƒ³åˆ©ē”ØGPIFēŠ¶ę€ęœŗčæ›č”ŒFIFOčÆ»å’ŒFIFOå†™ļ¼ŒåÆ¹FLASHēš„ę‰‡åŒŗčæ›č”ŒčÆ»å†™ę“ä½œļ¼Œę€Žä¹ˆęŽ§åˆ¶GPIFäø€ę¬”čæ›č”ŒčÆ»å†™512byte?ē¬¬äø‰ļ¼Œęˆ‘åŗ”čÆ„å¦‚ä½•č®¾ē½®DMAé€šé“ļ¼Œę—¢čƒ½ę—¢čƒ½č§£ęžę„č‡ŖHOSTēš„UFIå‘½ä»¤ļ¼Œåˆčƒ½čæ›č”Œę•°ę®ēš„ä¼ č¾“ļ¼Ÿ
ęœŸå¾…ę‚Øčƒ½å›žå¤ć€‚

0 Likes
Reply
5 Replies
Anonymous
Not applicable

Hi,

   

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.

   

Regards,

   

-Madhu Sudhan

0 Likes
Reply
Anonymous
Not applicable

你儽,

   

   ęˆ‘åœØå¼€å‘čæ‡ēØ‹äø­é‡åˆ°äŗ†é—®é¢˜ć€‚ęˆ‘åˆ›å»ŗäŗ†äø€äøŖ GPIF TO USB ēš„DMAé€šé“ļ¼Œå¹¶č®¾ē½®äŗ†DMAå›žč°ƒå‡½ę•°ļ¼Œå½“ę•°ę®å‘é€å®ŒęÆ•åŽļ¼Œčæ›č”Œäø€äŗ›ę“ä½œļ¼Œē„¶åŽčæ”å›žē»§ē»­ę‰§č”ŒēØ‹åŗć€‚åÆę˜Æęˆ‘åœØäø€äøŖå‡½ę•°äø­void CyFxMscSendCsw () č°ƒē”Øäŗ†apiRetStatus = CyU3PDmaChannelSetupSendBuffer (&glChHandleMscOut, &dmaMscOutBuffer)å‡½ę•°åŽļ¼Œę•°ę®å‘é€ęˆåŠŸļ¼Œå¹¶äø”å½“ę•°ę®å‘é€å®ŒęÆ•åŽčæ›å…„äŗ†CyFxMscApplnDmaCbļ¼ˆļ¼‰å‡½ę•°ę‰§č”Œļ¼Œä½†ę˜Æå½“ę‰§č”Œå®Œčæ™äøŖå‡½ę•°åŽļ¼ŒēØ‹åŗå°±ę²”ęœ‰å†å¾€äø‹ę‰§č”Œļ¼Œę²”ęœ‰čæ”å›žvoid CyFxMscSendCsw (ļ¼‰čæ™äøŖå‡½ę•°ē»§ē»­čæč”Œć€‚ęˆ‘ęƒ³ēŸ„é“čæ™ę˜Æäøŗä»€ä¹ˆļ¼Ÿ

   

ē„å„½ļ¼

0 Likes
Reply
Anonymous
Not applicable

你儽,

   

ęˆ‘å·²ē»ęŠŠäøŠé¢ēš„é—®é¢˜č§£å†³äŗ†ć€‚dmaå›žč°ƒå‡½ę•°ę‰§č”Œå®ŒęÆ•åŽäøčæ”å›žēš„åŽŸå› ę˜Æęˆ‘č®¾ē½®äŗ†å¤Ŗå¤šēš„CyU3PDebugPrintčÆ­å„ļ¼Œäø²å£ę‰“å°é€Ÿåŗ¦å¤Ŗę…¢ļ¼ŒåÆ¼č‡“ēØ‹åŗę­»ęŽ‰äŗ†ć€‚

0 Likes
Reply
Anonymous
Not applicable

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

0 Likes
Reply
Anonymous
Not applicable

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

0 Likes
Reply