Ok I changed browser and it works now, the code was attached on the previous reply.
Sorry about that
I tested the project on CY8CKIT-001 usiung PSoC5 processor module.
The following changes were made in the project.
1) The Analog Pins were initially not connected to the ADC's Input terminals. The Square at the end of the pin and the ADC's terminal should coincide. Then the square will disappear indicating that the terminal is connected to the Analog pin.
2) The ADC's Input range should be chosen appropriately. In this case if the differential voltage is 1.2V (2.5V - 1.3V), but the Input range was chosen as +/- 1.024 V. If the range is chosen as +/- 2.048V, then the input voltage will not violate the maximum Reference.
With these changes and using a Char LCD component, I was able to see the correct reading which changes with change is the voltage as expected.
There seems to be no fault with the CAN as the communication seems to happen successfully.
The modified project is attached.
ADC_16_sensor_1.zip 392.2 K