Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > PSoC® 5 > Schmitt triger, ADC, Creator 2.0 question

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



Schmitt triger, ADC, Creator 2.0 question
Moderator:
ANCY

Post Reply
Follow this topic



Schmitt triger, ADC, Creator 2.0 question

JLS posted on 06 Oct 2011 1:14 AM PST
Member
4 Forum Posts

 Hi all

Please help me with some question

1. is possible make Schmitt triger with Creator components ?

2. is possible make ADC component with direct 8bit digital output bus ? (like data bus DAC component )

3. Creator 2.0 will be free for all user like Creator 1.0 ? or info about it or release date.

 

Many thanks info

Kamil

(sorry my bad english)




Re: Schmitt triger, ADC, Creator 2.0 question

roit posted on 10 Oct 2011 11:17 PM PST
Cypress Employee
3 Forum Posts

Hi JLS,

The following may answer your questions:

1) Yes, it is definately possible (and easy too) to make Schmitt Trigger with Creator components. You can use the OpAmp component (Found in the Cypress Component Catalog tab under Amplifiers) and external resistors and capacitors to make the Schmitt trigger. The value of the external components can be easily determined if you know the upper and lower triggering values.

2) Yes, you can make ADC components with direct 8-bit digital output bus. For this, you need to use the DMA. It's source will be the ADC data register and destination will be set to a pin port. The EOC of ADC components should be connected to the 'drq' of DMA such that at every End-Of-Conversion of ADC, the DMA will transfer the 8-bit data from ADC to External pins configured by you. (It will be advantageous to use GPIO's of digital pins.)

3) Yes, it will be free.

 



Re: Schmitt triger, ADC, Creator 2.0 question

JLS posted on 10 Oct 2011 02:19 AM PST
Member
4 Forum Posts

 Hi Roit

Many thanks info :-)

But point 2. (ADC) i mean ADC direct bus out to verilog component (like optional output from DAC). Not for direct pin but for verilog internal PLD connection.

Is possible post me example ?

Many thanks Kamil



Re: Schmitt triger, ADC, Creator 2.0 question

roit posted on 10 Oct 2011 04:39 AM PST
Cypress Employee
3 Forum Posts

Hi jls,

I feel you want to have "visible" outputs at ADC so that you may directly connect components with it. If such is the requirement, there is a way to implement it.

Attached along is the image of TopDesign of one such implementation. At every EOC, the DMA is configured to transfer a byte of ADC output  to Control Register and generate a signal at 'nrq'. Such DMA configuration can be easily done by the DMA Wiard under the Tools menu in Creator. once the transfer is done, the value is reflected at the output lines on Control Register, acting though it is a data bus. This output lines can then be direclty used as data bus to connect to any other digital input. The output signal at 'nrq' can be used to point that data has been written.

In the attached TopDesign, The output of the control register is connected to VDAC. The strobe of VDAC is connected with the 'nrq' of DMA.

I hope this solves your problem.



Re: Schmitt triger, ADC, Creator 2.0 question

JLS posted on 10 Oct 2011 02:29 PM PST
Member
4 Forum Posts

 Hi Roit

 

Many thanks example - working fine !

 

My next level - learn creating component :-)

 

Kamil



Re: Schmitt triger, ADC, Creator 2.0 question

Gautam Das posted on 11 Oct 2011 02:29 AM PST
Cypress Employee
742 Forum Posts

Hi JLS,

 

Yes, you can create a schematic component for the same and use it in your design when required.






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