Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > PSoC® 5 > EzI2C project example in PSoC Creator 2

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



EzI2C project example in PSoC Creator 2
Moderator:
ANCY

Post Reply
Follow this topic



EzI2C project example in PSoC Creator 2

Swee Huei posted on 09 May 2012 8:29 PM PST
Top Contributor
33 Forum Posts

I am testing the I2C function by using the EzI2C example project inside the PSoC creator 2. I am using the PSoC5 development kit, CY8CKIT-050.

 

I have connected the wires and pull-up resistors as specified in the example. However when run, I can write to the slave when SW1 is pressed, but when SW2 is pressed, it is unable to read from the slave and nothing is displayed on the LCD display.

 

Please kindly advise the possible reasons.

 

Thanks & Regards




Re: EzI2C project example in PSoC Creator 2

Swee Huei posted on 09 May 2012 08:31 PM PST
Top Contributor
33 Forum Posts

Sorry, forgot the attachment.



Re: EzI2C project example in PSoC Creator 2

Swee Huei posted on 09 May 2012 08:35 PM PST
Top Contributor
33 Forum Posts

Sorry, previous attachment not successful.



Re: EzI2C project example in PSoC Creator 2

yliu posted on 09 May 2012 09:44 PM PST
Cypress Employee
29 Forum Posts

No able to reprodue the problem, I can write and read with the project you attached. Did you checked the hardware setup of SW2 read pin, is it P5.0?

- Roy



Re: EzI2C project example in PSoC Creator 2

Swee Huei posted on 17 May 2012 02:45 AM PST
Top Contributor
33 Forum Posts

Problem solved. I did not make the connection between the master and slave on the development kit by wire.

Thanks






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.

Spec No: None; Sunset Owner: GRAA; Secondary Owner: RAIK; Sunset Date: 01/01/20