What board are you using ?
I recommend you post your project, use IE or Firefox to post.
"Create Workspace Bundle"
This is the original example project that I have posted here. I will post my own project soon.
Also even in the original project, the output on LCD should be
Instead of that it is displaying following. I have attached image of this.
IMG_20140130_172747.jpg 1.8 MB
I downloaded your project, and modified the code so it just loops in the section before you inc VDAC8 values.
I consistently get .2, .43, .64, .86 as readings. Thats for settings of 192 mV, 400 mV, 592 mV, 800 mV in the
respective VDAC8 properties.
The VDAC8 has a total G error of 5%, so readings within spec. Note I did not do an end to
end error analysis, for example VDAC8 output is not buffered, did not take into account Vref
error, offsets, etc..
So not sure what your issue is ?
This API is for the last channel just converted, not the whole sequence, I believe.
In order to flag the end of all channels being converted you need to use EOC and attach an ISR
component to it,set a flag in ISR. That will indicate -
eoc – Output
A rising edge on the end of conversion (eoc) output means that one conversion cycle is
complete. At this moment, conversion results for all channels are ready to be read from the
SRAM. An internal interrupt is also connected to this signal, or you may connect your own
Note you do not check for end of conversion for the incrementing case.
Thanks a lot Dana. This helped me a lot.
Although when I programmed your project on my evaluation kit, it still displays initial VDAC settings as
There is a pattern here. Values on the screen are multiplied by 1.5
I am not sure what is the issue. Is there some setting on the hardware that I am missing?
I am using CY8CKIT-050 PSoC 5LP Development Kit with LP035 microcontroller.
I am using same kit.
I still do not understand where you see the 1.5 relationship. Below you
can see the BP I set, and results I get are .20, .43, .64, .86, which align with
the global proerties setting of each VDAC8 as stated earlier in this thread.