Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > USB Controllers > SPI with CY_U3P_SPI_SSN_CTRL_FW = 0 cuts off the serial clock?

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



SPI with CY_U3P_SPI_SSN_CTRL_FW = 0 cuts off the serial clock?
Moderator:
RSKV

Post Reply
Follow this topic



SPI with CY_U3P_SPI_SSN_CTRL_FW = 0 cuts off the serial clock?

joebreprivate posted on 03 Aug 2012 8:14 AM PST
Top Contributor
35 Forum Posts

Hi, I'm wondering if I set CY_U3P_SPI_SSN_CTRL_FW to  0 does the serial clock is cutted off during no SPI communication ?

I don't see how otherwise I could guarantee SSN to work properly and with the right timing.

what does it means "The SPI controller supports four modes of SPI communication with Start-Stop clock." Is there any way to stop the SPI_SCK outside the SSN assertion?

Thanks, Joel




Re: SPI with CY_U3P_SPI_SSN_CTRL_FW = 0 cuts off the serial clock?

RSKV posted on 06 Aug 2012 08:32 AM PST
Cypress Employee
655 Forum Posts

Hi,

When you use CY_U3P_SPI_SSN_CTRL_FW for SPI initialization then SSN is controlled by firmware. SSN is asserted at the
beginning of a transfer and is de-asserted at the end of the transfer.

"The SPI controller supports four modes of SPI communication with Start-Stop clock." I think this means that all four modes of SPI communication are supported and mode will be decided based on the clock phase and polarity, which are available as part of SPI config.

Thanks,

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.