PSoC™ 5, 3 & 1 Forum Discussions
I'm working with a PSoC 1 evaluation board.
It has only available 2 analog outputs.
More advanced deviced has only 4 analog outputs.
So I think, what matters the analog blocks we have if after all we have a few analog outputs?
Can I use the digital outputs as analog outputs?
Thanks
Show LessGanesh/ Group,
I am using PSoC Express, a MiniProg and a CY3280 Capsense Development kit/card.
I have been having trouble getting the program (*.HEX) into the chip.
I just read your article about the most common solution to this problem.
I don't even think it was my problem, but I tried P1(5) and P1(7) instead of (0) and (1), for Clk and Dta.
Still, "Unable to locate device".
Any other suggestions?
CD
I am tyring to use ISSP programming to program CY8C20436A using MiniProg1. For some reason it MiniProg is not recognizing the device. Device is QFN32 pkg soldered on my board. I do not have anything else connected to the micro. I have ohmed out all five lines from micro to the MiniProg(SCK, SDATA, XRES, Gnd, Pwr). All connections are solid. I have tried on mulitple micros and same problem with all micros.
I have tried both methods of programming ie (RESET and Power Cycle)
Any help would be greatly appreciated.
Thanks,
Arun Show Less
I input a 6bits_code_min=0dec or 6b_code_max=62dec value into the DAC6 by means WriteStall API and I get unexpected Voutput value.
Theoretically the DAC6 datasheets told us:
Vout=(Vrefhi-AGND)*ACap/FCap+AGND
Taking into account my reference Vdd/2+/-BandGap I must to have:
Vout(max)=3.76V
Vout(min)=2.5V
Instead of this I obtain a more or less a Vout=3.7 V and after that the value is going down until reach
aproximattely 2.5V. I put the analog outputs in High Z.
The C code is simple:
#include
"PSoCAPI.h" // PSoC API definitions for all User Modules
#define
DAC_MAX ( 62 ) // Define max DAC value as 62
unsigned
char bDACValue = DAC_MAX; // Variable for the DAC valueunsigned
char j; // Variable for an indexint
i;
void
{
DAC6_Start(DAC6_HIGHPOWER);
main() // Start DAC6 in HIGH power modeBUFFER_Start(BUFFER_HIGHPOWER);
while ( 1 ) // Repeat forever
{
//for(j=0; j<62; j++){
DAC6_WriteStall(bDACValue);
for(i = 0xFF; i != 0; i--); // Delay loop
for (i = 0xFF ; i != 0 ; i--); // Delay loopfor (i = 0xFF ; i != 0 ; i--); // Delay loop
}/*while*/ /*main*/
Anyone could tell me what's going on? Thanks
}
Show LessDear Forum,
I'm using a CY3280-BK1 capsense development kit, and I'm trying to program a CY7C24794.
I'm using a PSoC MiniProg to plug into the board from the PC and I was using P1(0) and P1(1) for clock and data and that wasn't working, so after reading some of the forum topics, I tried (5) and (7) instead, but that's not doing it.
I get "Unable to Locate Device."
Thanks about the Enoa parameter. The datasheets states:
ENOA Noise at 1 kHz (Power = Medium, Opamp Bias = High) – 100 – nV/rt-Hz
But anyway, I introduce a sinusoid into a PGA follower (Gain=1) and apart I monitories the input and output in the First column and I get the image 1, obtaining the expected.
Input=Output (Port 0_3)
(Vsin input= 500Hz 1Vpp and 1Voffset)
When I did the same in the second row I got a noisy sinusoid output. The output is equal to the input but the noise is much higher than the specifications told in the datasheet, so I still thinking my part is damaged.
Image 3 shows the add noise is around 800KHz and 1MHz.
What do you think about it?
Is damaged my part?
By the way, I have a RC filter in my Port 0_5 board outout.
Could it produce the noise?
Show LessI have had great experience with the PSoc 1 family. I understand we are still using Beta software for development. The PSoc 3 and PSoc 5 is basicaly not very user friendly. There is very few snippents of code sample in C. I tried to get better than 16 bit accuracy on the Psoc 3. It appears to be a board layout problem.
I wish to continue with PSoc 3 and 5 SDKS. But is not very user friendly at this time. Is there any time in the future when the PSoc 3 and Psoc 5 will look like the Psoc 1 family.
Thanks
Philip
Show Less