Professional Documents
Culture Documents
Lab Exercise-4
Instructions
Implement the following on CY8CKIT-059 PSOC® 5LP Prototyping Kit using PSOC Creator 4.4 software.
Problem-1:
Using Signal Generator give following signals and find using ADC
a. Square wave input frequency range 50 Hz to 1 KHz in.
Find Frequency.
Find average voltage.
b. Input Sine wave 50 Hz to 1 KHz
Find Frequency.
Find Peak to Peak value.
Find Offset value.
Display the result using UART -> putty on the host computer once every 3 to 5 secs interval.
2. Mention the settings for single ended operation of ADC:(a) Resolution (b) Conversion rate (c) Clock
source (d) Sample mode (e) Input range (f) PWM modes available with their use in PWM block of PSoC
Creator
3. Explain Baud Rate. What is the minimum, maximum and default bits per second setting in UART
peripheral?
4. Write macros for the following: (a) Conversion of a real number into 4.12 format (b) Addition of two
real numbers in 4.12 format (c) Multiplication of two real numbers in 4.12 format.
5. Which pins are used to transmit and receive the data through UART?
Due Dates:
Demo 1 – 6 September 2022
Demo 2- 8 September 2022
Report Submission – 11/20 September2022*