PSoC™ 5, 3 & 1 Forum Discussions
Thanks in advance for any help, I'm a student which needs to use a QuadDec with 32 bit size counter, so I created a long int variable to storage it's value, because I need to send it through the UART interface as string to capture the quadrature information, the thing here is that even though I do select the counter with 32 bits, the data I'm receiving can't go up to -32 768 and +32 768 just as it was a 16 bits counter.
I read in the Component Data Sheet this:
"The 32-bit counter implements the lower 16 bits in the hardware counter and the upper 16 bits in software to reduce hardware resource use. For this target, an additional ISR is used. To work properly with the 32-bit counter, interrupts must be enabled. You can add ISR code to source files as needed; see the Interrupt Component datasheet for more details."
I'm not really sure to fully get what it means but as far as I can understand that it seems that it really never creates a 32 bit counter.
How can I fix this?
I'm a newbie, and I wanted to poll the community to see if there is any collateral describing or explaining the use of the PSoC3 (or 5L) SPI interface with frames less than 8 bits? I haven't checked the PSoC creator yet, so maybe it's outlined there. I'm just getting started, but l'm looking forward to it.Show Less
I programed my CY8C5868AXI-LP without any problems and since that moment I can't re-program it. PSoC Programmer says to me:
"FAILED! PSoC device is not acquired! Check connection of the chip to the programmer
Please, check the following items:
- the connection between the programmer and the PSoC;
- the correct programming protocol is selected;
- the correct connector option is selected."
thanks in advance 🙂
In attached my JTAG connections on the PSoC.Show Less
Hi there !
Anaybody knows how to get again PSoC 3.0 ?. I think is about the last Service pack version.
The rason for get again that verson is because I have an application that was working spectacular in PSoC 3.0
and doesn't want to work wiith f PSoc 3.1
It is about RF tranceiver nRF24L01P breakout board.
The only component used in the design is a SPIM 2.40.
I would like to get PSoC3 3.0 to verify if it is some mistake from myself.
Thank you very much.Show Less
I want to program psoc4 firmware by using psoc5 (psoc4 is target , psoc5 is programmer) I follow "AN84858 PSoC® 4 Programming Using an External Microcontroller (HSSP) " http://www.cypress.com/?rID=81013
and " \AN84858\B_Hssp_Pioneer.cydsn " is model for PSoC5 firmware(Programmer) .
This concept be possible? And if I connect PSoC5 and PSoC4 together with SWD protocol
and run this function" programResult = ProgramDevice(); " PSoC4 will programed? or I need to do anything else.
Thank you.Show Less
I have a design where I need to be able to supply analog voltages to a variety of pins for test purposes. I'm using a PSoC 5LP chip with two VDACs, and I'd like to be able to generate two independent voltages or waveforms, routing each one to one (or even several) arbitrarily selected pins.
I've had a go at this a couple of ways; two great big 17-way MUXes which connect to the array of pins works fine, but has the downside that you nothing prevents you connecting both DACs to the same analog pin.
17 2-way MUXes makes more conceptual sense, since it allows each pin to choose which VDAC (or neither) it's connected to. However, the API for this is a nightmare - 17 individual MUX APIs, with no straightforward way to address them programmatically. I can't use a hardware mux to connect these all to a single set of registers, because PSoC creator won't allow the 'wide' side of an analog hardware mux to be connected to anything other than GPIO pins.
Can anyone suggest a third way? I looked into customizing the MUX component, but it's a fiendishly complex bit of dynamically generated verilog.Show Less
I am using the I2C bootloader which works great.
Until now I did setup the slave adress (0x08) in the I2C component settings because I always used the same adress
But now I want to setup the I2C Bootloader Slave adress from code (in this example 0x09) to be able to use a slave adress which depends of e.g. a dipswitch setting.
I did the following in the main.c but the I2C adress stays the adress given in the component settings :
Bootloader_Start(); /* Does not return */
Probably the Bootloader_Start re-initializes I2C using the component's I2C adress. Is there any way to do what I want ?
This may be a stupid question but as I am good at stupid here goes.
If I have a design in which I have embedded a PSoC5 device, is there any way that I can program the embeddid chip using the PSoC development kit (CY8CKIT-050) that I already have or do I need a dedicated programmer?
I would like to use the kit if possible as I am looking at a small project but don't have the budget to buy a programmer.
Any help would be very much appreciated.