PSoC™ 5, 3 & 1 Forum Discussions
hello all ,
can someone please explain whats the difference between
Power Monitor and Voltage Fault Detector blocks ??
they seem to me identical if i am not using the current measurement of the power monitor block
thanks lampel
Show LessI am looking for help on programming psoc with Cypress MiniProg3, using Jtag. I am evaluating the CY8C5888LTI-LP097. I would like to find out which pins to hook up to? I also like to know what type of file to generate for JTAG programming ? Can you also look into how to incorporate a boot loader into the JTAG programming ? Which type of interface does the bootloader support? Can you specify the pin outs, and generate the loadable file for updating the application?
Show LessHow does Cypress explain the lack of PSOC3/5LP devices in the packages smaller than as big as they can have, i.e. QFN68 and TQFP100? The leadless packages such as QFN (3/5LP) or BGA (6+) are a guaranteed route to a disaster due to the lack of thermal strain relieve mechanism, while the gull wings have all the necessary springs, hence they are my only choice in high-rel/mid-rel applications. But then the only option on the table is TQFP100, which is way too big in many applications. I've just had to design PSOCs out of two projects just because there is no TQFP32 or 48 version of the chips. Microchip has many of their MCUs available in packages ranging from QFN down to DIP40 with the same chip inside. The same issue prevents me from ever considering PSOC6s in any of my designs, BTW.
Show LessPSoC3 CY8C34 Famiry
DC Specifications
VDDD (Digital core regulator enabled) : Min 1.8V Max 5.5V
Precise Low-Voltage Reset (PRES) with Brown Out DC Specifications
PRESR (Rising trip voltage) : Min 1.64V Max 1.68V
PRESF (Falling trip voltage) : Min 1.62V Max 1.66V
PSoC4 PSoC4000S Famiry
DC Specifications
VDD (Internally regulated supply) : Min 1.8V Max 5.5V
Power On Reset (PRES)
VRISEIPOR (Rising trip voltage) : Min 0.80 Max 1.5V
VFALLIPOR (Falling trip voltage) : Min 0.70V Max 1.4V
Q1. when the voltage drops, PRES is asserted in PRESF(VRISEIPOR) voltage range.
When the voltage recovers, PRES is negated in PRESR(VFALLIPOR) voltage range.
Are these correct?
Q2. When the voltage drops, even if it is below 1.8V, the device is in the normal operating state until PRES is asserted.
When the voltage recovers, even if it is still below 1.8V, the device is in the normal operating state after PRES is negated.
Are these correct?
Show LessThis is my first design with a DVDAC, Im trying to make a CV Out for a keyboard I am working in, but I have a few questions about how to get really precise on the Voltage Output, first this is what I routed on the top Design:
It is a DVDAC that passes through an op amp configured as an Non Inverting Amplifier. The DVDAC requires a 10 nF Capacitor because it is configured to be 12 bit with a clock speed of 1000 kHz.
The Opamp gain obtained by the Non Invrter Amplifier Formula is 9.8.
Max DVDAC output voltage is 1020 mV with a resolution of 4080 steps.
So the DVDAC output range should be:
from 0V to (1.02 V * 9.8) ≈ 10 V (9,996 V).
And each step would be:
00025 * 9.8 ≈ 0.0025V (0.00245V) wide.
This is where it becomes annoying to me, CV specification says that the output should be 1 Volt per octave, here mine would already be theoretically off by a little. for example Octave 5 would start at 4.998 V not at 5 V, it is only out by 2 mV, but I don't know if this little scalation error would become significant with the drift also generate by the resistor ladder (even though I use 1% resistors, there would not be exactly the value of the resistor).
This is a Chart for obtaining all the CV Voltages:
Note (Zy) | Number (Xn) | Octave (y) | Voltage (Xv) |
---|---|---|---|
C0 | 0 | 0 | 0 V |
C#0 | 1 | 0 | 0.083 V |
D0 | 2 | 0 | 0.16 V |
D#0 | 3 | 0 | 0.25 V |
E0 | 4 | 0 | 0.3 V |
F0 | 5 | 0 | 0.416 V |
F#0 | 6 | 0 | 0.5 V |
G0 | 7 | 0 | 0.583 V |
G#0 | 8 | 0 | 0.6 V |
A0 | 9 | 0 | 0.75 V |
A#0 | 10 | 0 | 0.83 V |
B0 | 11 | 0 | 0.916 V |
Z = Xn % 12 | Ranges from 0 to 127 in MIDI | y = Xn / 12 | Xv%12 + (1V * y) |
*Z Represents the notes ( C, C#, D, D#, E, F, F#, G, G#, A, A#, B ).
*Xn Represents the note number ( This matches the MIDI Specification ).
*y Represents the Octave.
*Xv represents the actual Note CV.
This values are the same for all the octaves, but add (1 * Octave) Volts.
for example C5 would be 5 V, or F#6 would be 6.5 V
The other solution I though of is using the DVDAC with a resolution of 0xFA0 ( from 0 to 1V ) and change Resistor2 to 9K Ohm, so it would be 1 volt times 10, this would be neater, but you would be losing 80 steps from the DVDAC.
The DVDAC output range should be:
from 0V to (1.00 V * 10) = 10 V.
And each step would be:
00025 * 10 = 0.0025V wide.
So what are your thoughts in this?
Which one do you think would be the right solution for accuracy?
Show LessHi,
I have not used the DMA yet and now looking at using it for Buffer to SPI and SPI to Buffer data transfer.
For beginning, I thought of using the example code in Creator for 5LP. It appears straight forward but how is the transmission initiated in a real world example?
Can I simply load data into txBuffer, wait till transfer complete and read results each time I want to transfer, like below?
sprintf(txBuffer,"some data"); //put new data in tx Buffer
while (0u == (SPIM_ReadTxStatus() & SPIM_STS_SPI_DONE)) { } //.wait till transferred
for(i=0u; i<BUFFER_SIZE; i++)
{
LCD_PrintHexUint8(rxBuffer); //read received data
}
Thanks
Show LessIs a baud rate of 115200 only supported via the kitprog FW ? I am using CY8Ckit-059 and wish to use a higher baud rate for an application . like 460800 baud
I tried by changing the baud rate on the UDB in my application and did not get consistent desired results on PC terminal window
Thanks
Sreedhar
Show LessHello,
I am a starter of psoc devices. I have bought CY3210-PSOCEVAL1 and CY3215A-DK In-Circuit Emulation Lite Development Kit.
I have read a lot of documents about debugging and find that I also need to buy CY3210-29466 or CY3250-29***.
But there is no supply in the cypress web or other local distributors.
Does anyone have a second hand CY3210-29466 or CY3250-29*** as well as the related ZIF socket to sell?
Thanks a lot!
Show LessHello everyone,
I have a problem with the spi communication of my Psoc 5Lp. The Master SPI is a raspberryPi... The Pi just send the chip select and 4 bytes 0x00 with a clock of 2MHz. The Psoc should send 4 bytes everytime the raspberry contact the psoc... But i have a problem with the bytes the psoc sends... The psoc dont send the bytes i want to... even when i clear the txbuffer and dont write anything to the buffer, the psoc sends everytime the byte i put in the buffer at last.
For the screenshot:
Ch1 : Raspberry Pi CLK
Ch2 : MOSI ( 4x 0x00 Byte from Raspberry )
Ch3 : MISO ( the last byte, even when i clear the txbuffer )
Ch4 : CS
Have anyone a idea, why the psoc sends bytes even when i clear the buffer ?
Martin
Show Less