Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > USB Controllers > Complex GPIO: can I create an exact amount of impulses (HIGH/LOW)

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



Complex GPIO: can I create an exact amount of impulses (HIGH/LOW)
Moderator:
RSKV

Post Reply
Follow this topic



Complex GPIO: can I create an exact amount of impulses (HIGH/LOW)

Lumpi6 posted on 23 Feb 2012 6:20 AM PST
Top Contributor
183 Forum Posts

Hello,

I like to produce an exact amount of impulses with a complex GPIO. The impulses should be faster than the produced impulses with a simple GPIO. With the following code snippet, I can produce an output frequency of 846 kHz. And also an exact amount of impulses.

 

        for (u16Cnt = 0; u16Cnt < 1024; u16Cnt++)
        {
            CyU3PGpioSimpleSetValue (IS_GPIO_PIN_UART_RTS_32BIT, IS_FALSE);
            CyU3PGpioSimpleSetValue (IS_GPIO_PIN_UART_RTS_32BIT, IS_TRUE);
        }
 

I tried with a complex GPIO in toggle mode and there it is possible to create frequencies of almost 50MHz. But there I can not creat an exact amount of the impulses.

I like to use a frequency of 10MHz with an exact count/amount of pulses. Is this possible? If yes, how can I configure the complex GPIO?

Thanks,

lumpi




Re: Complex GPIO: can I create an exact amount of impulses (HIGH/LOW)

aasi posted on 24 Feb 2012 07:30 PM PST
Cypress Employee
1073 Forum Posts

 With the current set of definitions this doesn't seem possible. Please create a tech support (MyAccount -> MyCases) so that one of our engineers can take a deeper look at this. If needed, it would be easier for us to add a definition for the same.

Regards,

Anand



Re: Complex GPIO: can I create an exact amount of impulses (HIGH/LOW)

Lumpi6 posted on 27 Feb 2012 09:41 AM PST
Top Contributor
183 Forum Posts

Hi Anand,

 

thanks for your answer, I already created a case.

Lumpi






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.