Datasheet
Aalap Tripathy, 2004P3PS208
PSOC Lab, BITS Pilani Goa Campus
42
25. Select Program
26. Make sure you check “power device” icon after “Programming Successed” is displayed
27. Make sure Port0[5] is connected to a CRO!!
Modifications/Exericse :
1. Connect the output of BPF2_1 FLIN module to the analog bus, then via the buffer to a pin of your
choice. Observe the difference if any between the outputs of the two Band Pass Filters. This will
enable us to understand why at all two BPF Filters should be used.
2. Try giving the output of the 8 bit counter directly to the Band Pass Filter (Internally and externally
both). You will notice that the input may also be given through a buffer amplifier. Try changing
the gain of the buffer or PGA (to 1, then to higher values) and observe the changes in the sine
wave output waveforms.
3. Perform the application mentioned in AN2086. In case a digital encoder is not available, use a
microprocessor or another PSoC to generate the output waveforms mentioned in the Application
Note.
4. An important thing to do is to add an R-C LPF on the output.
O-------/\/\/\-----o----------- output
|
---
---
|
Gnd
The purpose of this filter is to remove the sample clock from the SC block. Its pole should be set
between the pass frequency of the BPF and the frequency of the SC blocks. The pole for the RC
must be higher than the BPF frequency but has to be low enough so that the SC clock is removed
sufficiently. Look in the spreadsheet to see what the oversample frequency of the BPF is. This will
give an idea of the limits for the RC LPF.
Review of this Experiment :
1. Note : Items in italics refer to suggestions on this experiment by Jeff Dahlin, Principal
Applications Engineer, Cypress Semiconductors, San Jose. He may be reached for concrete doubts
on
jvy@cypress.com. Please first use the Developer Forums at psocdeveloper.com for queries
before contacting Jeff.
2. This experiment has been reviewed by Jeff Dahlin, PAE, Cypress Semiconductors.