Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > PSoC® 5 > Dynamic Reconfiguration

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



Dynamic Reconfiguration
Moderator:
ANCY

Post Reply
Follow this topic



Dynamic Reconfiguration

thomas.schmid posted on 08 Sep 2011 1:12 AM PST

1 Forum Post

Hello everyone,

I have a quick question how to reconfigure the (analog) part of the PSoC 5 in a running program.

For Instance:
I want to change the output range of an IDAC from 0-32 µA to 0-2,04 mA. I want to use the same DAC, only in a part of the program the range should be changed.

Another thing is to reassign pins during a program. How can I do that?

To myself: I am a student using the PSoC 5 and just started working with PSoCs. I found the application note on dynamic reconfiguration, but it is only for PSoC 1.

Thanks in advance for your help,

Thomas




Re: Dynamic Reconfiguration

Gautam Das posted on 10 Sep 2011 04:00 AM PST
Cypress Employee
742 Forum Posts

Hi Thomas,

 

IDAC in PSoC 5 supports 3 output ranges. In order to change the range from 0-32 µA to 0-2,04 mA, the API IDAC8_SetRange(uint8 range) can be used.

The parameter "range" can be IDAC8_RANGE_32uA or IDAC8_RANGE_255uA or IDAC8_RANGE_2mA as per your requirement.

 






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