- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
after a little reading and studying about PSOC 5, I discovered that there are 2x SAR ADC, 1x Del Sig ADC, 1x Sample and hold circuit. This is very small amount of ADC.
I have 6 sensors, their output is AC signals (sine wave), I want to connect them to psoc5lp and then detect the maximum peak for each signal, then send the peaks values to the computer by UART. Is it impossible to do this tasks thru chip, right?
Also I need to generate a sine wave this 20khz frequency inside the chip, then connect the signal with an analog pin, which connected to a seventh sensor, after that, re-enter this signal to the chip to do sample and hold on it, is this possible to do on psoc5lp, cy8c888AXi???
Solved! Go to Solution.
- Labels:
-
PSoC 5LP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
1. There should be no problem to accomplish that using PSoC5. A little more reading required though. Please refer to those app notes first
http://www.cypress.com/documentation/application-notes/an60321-peak-detection-psoc-3-and-psoc-5lp
http://www.cypress.com/documentation/application-notes/an60580-sio-tips-and-tricks-psoc-3-psoc-5lp
and for sine wave generation:
2. Get KIT-059 ($10) and start coding. Single (multiplexed) ADC should suffice for your application. You havn't provide six input sine frequency range, so exact implementation may vary. For more meaningful advise you need provide some specs: sine frequency range, amplitude range, possible offset, phase coherency and offset, bits of resolution, time constant. What d you really need: sine peak value or averaged Amplitude/RMS value?
PS. There are total 4 sample and hold blocks (one per SC block).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
1. There should be no problem to accomplish that using PSoC5. A little more reading required though. Please refer to those app notes first
http://www.cypress.com/documentation/application-notes/an60321-peak-detection-psoc-3-and-psoc-5lp
http://www.cypress.com/documentation/application-notes/an60580-sio-tips-and-tricks-psoc-3-psoc-5lp
and for sine wave generation:
2. Get KIT-059 ($10) and start coding. Single (multiplexed) ADC should suffice for your application. You havn't provide six input sine frequency range, so exact implementation may vary. For more meaningful advise you need provide some specs: sine frequency range, amplitude range, possible offset, phase coherency and offset, bits of resolution, time constant. What d you really need: sine peak value or averaged Amplitude/RMS value?
PS. There are total 4 sample and hold blocks (one per SC block).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Out of my mind, I don't know any other MCU which has more than 2 ADCs available. (Most have just one and then a mux to handle multiple signals). So you can use the SAR MUX to handle many channels - with DMA you can sample them without MCU intervention. Depending on the signal frequency, you can even to peak detect using the ADC...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thanks you so much @odissey1 and @hli :
actually the attachments image explains what I want to do: I have a reference signal (generated in PSOC) with a frequency =20kHZ and a 1 peak to peak voltage with offset =2.5 voltage. , then this ref signal is going to a six sensors and modified (the amplitude maybe change and may appear a phase between a signal and the reference signal equal to 0 or π . the frequency doesn’t change, it is fixed 20khz , the offset is fixed =2.5v ) . I need to detected the maximum peak for each signal of the six signals inside PSOC, then display this peaks as DC outputs on a 4 pins on the chip and then send this peak values to PC by UART. ---------- now I know, I have to use a multiplexer with ADC, Can I display the peaks as a DC using DAC with de-multiplexer ????
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content