Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > PSoC® 1 > CY8C21534B - smart sense and UART in the same design

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



CY8C21534B - smart sense and UART in the same design
Moderator:
ARVI

Post Reply
Follow this topic



CY8C21534B - smart sense and UART in the same design

domoglass posted on 11 Sep 2011 12:12 PM PST
Senior Member
11 Forum Posts

Hi
I using the CY8C21534B as I would like to creat the following:
8 cap buttons
1 proximity
8 output to reflect each button (logic)
1 output to reflect proximity result (logic)
1 output to heptic/speaker
UART for serial communication
I thought the CY8C21534B will be excellent for it but then found out that i have only 4 digital blocks.The UART need 2 block and the Smart sense need 3 digital blocks. this means that I cant do it or are dont understand how to do it?

can you help?
any recommendation?
 




Re: CY8C21534B - smart sense and UART in the same design

tommoxon posted on 11 Sep 2011 07:27 PM PST
Top Contributor
45 Forum Posts

Hi Domo,

You are correct, SmartSense uses 3/4 Digital BLocks and you need 2 more for the UART.

So that configuration is not going to work.

You have a couple of options :

1) With the 21534B, use the CADADC/VC2 version of CapSense, which uses only one digital block.
    That leaves you the two (2) you need for a UART, and one more for PWM8 (Haptics).
    That will get you what you want, with the understanding that CSDADC is not as good
    a CapSense algorithm as SmartSense, but will likely do the job for you.

2) Do you need both UART RX AND TX? If you need only transmit, then you can use the  21534B
    with Smartsense and the TX8 for UART transmit only. You ill be limited to what VC3 can generate
   for baud rates however...

3) Switch to the 20666 part and use USB instead of the UART. The 20666 supports SmartSense and has USB.

4) Switch to the 22X45 or 28X45 parts if you need more resources. Those parts have lots of resources.

best regards,

Tom Moxon
www.moxon.com

www.westmarkco.com

 

 



Re: CY8C21534B - smart sense and UART in the same design

domoglass posted on 12 Sep 2011 02:10 AM PST
Senior Member
11 Forum Posts

Hi

The 22x45 and the 28x45 font have Smartsense so the doesnt help.

My project is going to be also in outdoor enviroment were the temp. will change all day so it is inportant to have the smartsense as automatic feature for correction.

does it mean that I need to moce to PSOC 3 family?

do you know if I can use USB for up to 20-50meter distance? need to comunicate between my project to a controller in a distance of 20-50 meter (this is why I choose the UART to use RS485 protocol).



Re: CY8C21534B - smart sense and UART in the same design

tommoxon posted on 13 Sep 2011 08:56 AM PST
Top Contributor
45 Forum Posts

Hi Domo,

Yes, it's good to lay out all your requirements, so people can make better suggestions.

You are correct, the 22x45 and 28x45 only have CSD2X algorithm, and not CapSense.

So yes perhaps PSoC3 is a better solution for you, if you want one package.

Another option would be to use I2C as your interface to CY8C21534B,

and then to use another small PSoC1 (8 pin device) as an I2C <-> RS-485 bridge.

You are correct, if you need to run that distance, then RS-485 is a safe choice,

USB with repeaters might be a problem at that distance...

regards,

Tom Moxon

www.moxon.com

www.westmarkco.com

 



Re: CY8C21534B - smart sense and UART in the same design

tommoxon posted on 13 Sep 2011 09:01 AM PST
Top Contributor
45 Forum Posts

This forum needs an edit function like PSoCDesigner forum...

what I mean to say (before hitting post too quickly) was

"You are correct, the 22x45 and 28x45 only have CSD2X algorithm, and not SmartSense."...

;-) Tom



Re: CY8C21534B - smart sense and UART in the same design

domoglass posted on 14 Sep 2011 02:12 PM PST
Senior Member
11 Forum Posts


Re: CY8C21534B - smart sense and UART in the same design

tommoxon posted on 16 Sep 2011 01:59 PM PST
Top Contributor
45 Forum Posts

This forum needs an edit function like PSoCDesigner forum...

what I mean to say (before hitting post too quickly) was

"You are correct, the 22x45 and 28x45 only have CSD2X algorithm, and not SmartSense."...

;-) Tom


 






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: KXP; Secondary Owner: VWA; Sunset Date: 01/01/20