Analog Inputs ,ADC, Digital Inputs, UART - Combined in PSoC4 | Cypress Semiconductor
Analog Inputs ,ADC, Digital Inputs, UART - Combined in PSoC4
Anyone working with interrupt based programming of Analog Inputs ,ADC, Digital Inputs, UART - Combined in PSoC4? I am facing a lot of problems integrating all of them in one program though I have tested them successfully individually. Please find attached my entire project with all of them integrated. A brief target of the project would be:
- Take a square wave as a Common Digital Input to two pins of PSoC4 and detect its rising and falling edge on them respectively.
- Take all the analog samples in between the rising and falling edge and store them in an array.
- When the falling edge is detected, stop the ADC conversion, manipulate the average and rms values from the readings of all samples and send them to UART for display.
I repeat that all of the modules are implemented successfully idividually, so they are configured as per the successful individual modules. Please help me with this ASAP.
Thank you all in advance.