To print a float set in System view the heap size to 0x0200
Thank you for your answer.
Unfortunately it did not work.
I changed the CY8CKIT-049-4xxx with CY8CKIT-042 and now i'm able to read full scale. Maybe a faulty board? Don't know.
After I debugged the project now I know that ADC_CountsTo_Volts() function returns the correct value.
I have another question:
In datasheet is stated that ADC_IsEndConversion(ADC_WAIT_FOR_RESULT) "Does not return a result until the ADC conversion of all sequential channels is complete". What is the best way to use this function?
Again, thanks for your help.
Hello. What is your vref? 1.024v internal or vdd to vss?. And for float operation projrct build-linker float none must be true and also heap size must be 0x0200.
Vref is 3.3V, so the range is VDAA to VSS.
I finally managed to find the answer. And the board works now as expected.
According to the datasheet of the kit (page 63) VDDD and VDDA are tied together to VDD. In my case - the kit is powered from USB - VDD is 5V.
In PSoC Creator in "Design Wide Resources - System " VDDA and VDDD were set to 3.3V. By changing to 5.00V the problem is solved.
Thanks again everybody for help.