I purposely made the two waveforms at a slightly different frequency so I could tell if I could sync to one or the other. The project lets you select the channel and the voltage level that you trigger on using the built-in compare function in the SAR SEQ hardware. By the way, the waveforms are being generated by the PSoC5LP using two WaveDAC8s.
I've uploaded another version, that contains the dependant GraphicsLCD Component as well (its the same one we've been using in all the other GLCD examples).
As a result, the .zip file is slightly bigger (~4mb).
Please download and try this version, see if that fixes your problem - P4Scope2.zip
I need help with project #17. I have the psoc 4 pioneer kit and an LCD shield (ElecFreaks V1.2). I can't find a datasheet for this project describing the required pin connections. I built the project and programmed the device but I don't see anything on the display after pressing the reset.
i have been working with this lcd, please dont forget drive P3 high. please look at:
You must keep the input voltages to the PSoC4, within the supply rails. What you can do, is create a virtual ground at VDD/2 and keep the scope and source power suppply isolated. Then signals can swing below the source Vss, but will only swing negative in respect to your virtual ground, but still stay within VSS and VDD.
Today we're posting another Oscilloscope project that uses the Color Graphics LCD Shield. This project is a little dual channel scope using the PSoC 4 Pioneer board and the SparkFun Arduino color graphics shield or equivalent.
The user input is via SW2 on the Pioneer board (none of the switches on the display are used). Tap the button to cycle through the options highlighted with a white box drawn around it. Hold the button for a second or more until the box moves to another parameter.
* Trigger Channel: "TRG 1" or "TRG 2"
* Trigger Level: From 100mV to 5000mV
* Input Range: 5000mV, 2500mV, 1250mV, 625mV, 312mV
* Samples per Second: SPS 10k, 20k, 50k, 100k, 200k, 400k
* Graphics LCD Component (over SPI)
* SAR ADC Component
* a few instances of the Pin Component
Inside the PSoC Creator project, you'll notice 2 Sources Files -
* main.c - this implements the main firmware for the project's user interface
* scope.c - this implements all of the oscilloscope functions
* PSoC 4 Pioneer Kit
* Sparkfun or equivalent Nokia 6100 based Color Graphics LCD Arduino Shield
PSoC Creator Project .zip file