Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > USB Controllers > GPIF 16 Bit Master mode

Bookmark and Share
Cypress Developer CommunityTM
Forums | Videos | Blogs | Training | Rewards Program | Community Components



GPIF 16 Bit Master mode
Moderator:
RSKV

Post Reply
Follow this topic



GPIF 16 Bit Master mode

HdeB posted on 10 Jul 2012 12:52 AM PST
Member
2 Forum Posts



Re: GPIF 16 Bit Master mode

HdeB posted on 10 Jul 2012 12:53 AM PST
Member
2 Forum Posts

 

Hello, everyone

I try to send a buffer containing words (16 bit data) through endpoint 1 to the gpif interface via DMA. The gpif interface is configured in 16 bit master mode.The lsb appears on dq[0] to dq[7] and a clock cycle later appears it msb also on dq[0] to dq[7] . Dq[8] to dq[15] are always zero. If I change the Endianness from little to big then both the msb and lsb appear on dq[8] to dq[15] and dq[0] to dq[7] are always zero. This is not what I want, I want to sent the lsb to dq[0] t/m dq[7] and the msb to dq[8] to dq[15].Someone any idea what I am doing wrong? Maybe the DMA also has to be configured to use words?

Thanks



Re: GPIF 16 Bit Master mode

RSKV posted on 11 Jul 2012 05:25 AM PST
Cypress Employee
655 Forum Posts

 Please make sure that you have configured IO matrix correctly in the firmware.

io_cfg.isDQ32Bit = CyFalse;

io_cfg.lppMode   = CY_U3P_IO_MATRIX_LPP_UART_ONLY;    /*GPIF 16-bit and UART only*/

 

Regards,

sai krishna.






ALL CONTENT AND MATERIALS ON THIS SITE ARE PROVIDED "AS IS". CYPRESS SEMICONDUCTOR AND ITS RESPECTIVE SUPPLIERS MAKE NO REPRESENTATIONS ABOUT THE SUITABILITY OF THESE MATERIALS FOR ANY PURPOSE AND DISCLAIM ALL WARRANTIES AND CONDITIONS WITH REGARD TO THESE MATERIALS, INCLUDING BUT NOT LIMITED TO, ALL IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT OF ANY THIRD PARTY INTELLECTUAL PROPERTY RIGHT. NO LICENSE, EITHER EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, IS GRANTED BY CYPRESS SEMICONDUCTOR. USE OF THE INFORMATION ON THIS SITE MAY REQUIRE A LICENSE FROM A THIRD PARTY, OR A LICENSE FROM CYPRESS SEMICONDUCTOR.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms and Conditions of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms and Conditions of this site. Cypress Semiconductor and its suppliers reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.