Cypress Semiconductor Cy8CKIT-050 Cy8CKIT-050B ユーザーズマニュアル

製品コード
Cy8CKIT-050B
ページ / 62
CY8CKIT-050 PSoC® 5LP Development Kit Guide, Doc. # 001-65816 Rev. *E
37
Code Examples
ADC. To set Vdda to 5 V, in the VoltageDisplay_DelSigADC.cydwr window of PSoC Creator, click on
the System tab, go to Operating Conditions options. Set Vdda to 5 V.
5.2.4
Verify Output
Build and program the code example, and reset the device. The LCD shows the voltage reading
corresponding to the voltage on the potentiometer
 demonstrates the functionality. When
you turn the potentiometer, the voltage value changes. You can also verify the voltage on the
potentiometer using a precision multimeter.
Note The potentiometer connects to a differential ADC, which works in single ended mode. This
means the ADC input is measured against internal Vssa. Any offset in the measurement can be
positive or negative. This can result in a small offset voltage even when the potentiometer is zero.
Move jumper J10 and J11 back to position 1-2 after verifying the output.
Figure 5-5.  Voltage Display using Del-Sig ADC