PSoC™ 5, 3 & 1 Forum Discussions
Hi All,
PSoC5LP CY8C5868AXI-LP035 - PSoC Creator 3.0
I'm using 3 UDB UARTs (1xRS232 & 2xRS485) for which the Tx lines should be shifted in HZ when needed in order not to parasitically feed their corresponding AD eCouplers when thoses are not used (Vccs cut thru the use of P channel Mosfets for energy saving purpose).
I wanted to use the SetDriveMode() possibility to shift the Tx lines either in (input) HZ or in (output) buffered mode when requested, but the compiler refuses this IO instruction for the 3 UARTs (error : implicit declaration of function 'SetDriveMode' is invalid).
I'm also using a CAN component the same way without this problem.
An alternative would be thru the use of the port-register manipulations, but I'd like to know if there is a reason not to be able to go with the current context.
Michel
Show Lesshi,
i have downloaded a example i2c_eeprom project, which is not working as desired in the project, when i burn to the psoc3,
whereas it is working, when i run it step by step with the use of miniprog3 debugger. pls solve this issue, i am attaching the example project that i downloade from cypress website..
regards,
vijay s
Show LessI want to create an SPI component which leaves a small gap between bytes. To achieve this, I am using edge triggered DMA to transfer bytes to the SPI component. A PWM component is used to create the edges. I can vary the PWM period to vary the inter-byte spacing.
It all works, except that the first byte is always missing! When I try to transfer the following bytes: {1,2,3,4,5,6,7,8} I see {2,3,4,5,6,7,8} come from the SPI component.
When I was using the usual level triggered DMA, I never saw this problem. What am I doing wrong? Please see attached waveform.
Many thanks
Hugo
Show LessHi Everyone,
I am using a pga in my circuits. Most of the time I operate it at unity gain where it's input is a InsAmp referenced to AGND and the output is sent to an A to D. However, I need to get an analog signal from a ground referenced RF crystal detector in one situation. I mux PGA between the InsAmp and the crystal detector. Unfortunately, I need some gain when measuing the crystal detector, but to really get much gain without driving the PGA to the rail I need a VSS reference when measuring the crystal detector. The rest of the time I want the PGA referenced to AGND. No driver is provided to switch the PGA amplifier reference dynamically, but it can be set to VSS in the GUI. I am assuming it can be done dynamically. Is that true? Could someone give me a nickel tour on how to do this for a pga placed at ACB01.
Thanks,
Tim
Show LessI AM TRYING TO WRITE DATA ON EXTERNAL SPI EEPROM VIA HYPERTERMINAL DATA TRANSFER UTILITY. THE SEQUENCE AS PER EEPROMS DATASHEET IS COMMNAD, ADDRESS, DATA. BUT IN CASE OF FILE WRITING THROUGH HYPERTERMINAL HOW TO DO IT?
Show LessDoes anyone know why uint64 is not in PSoC3?
In cytypes.h there is code to typedef "usigned long long" into uint64 but it seems to only be supported for everything but PSoC3.
I seem to be able to use the "usigned long long". Is there any reason I shouldn't just typedef it myself?
Show LessI am looking at setting up a project that requires 4 x Analog outputs. The system receives digital data values from 0-1000 via a serial port. The values then need to be converted to 0-2.5 DC voltage and output to a pin.
The DAC appears to be 8-bit resolution and I have seen some apps for increasing resolution using 2 Dacs. However, would it be better to use 4 x PWM output and some op amps?
The internal opamps appear to provide rail to rail output. I was thinking of having PWM to Digital output pin and then a 2 pole Low pass filter connected back into PSOC to an opamp (to form a Sallen & Key filter to convert the PWM to DC voltage), finally a voltage follower and DC out a pin?
Or is there a more effcient way of doing this? I don't need much current, the 0-2,5V DC linear voltage is being used to control the setting of each of 4 x 4-20mA generation IC's
While I am on the topic of analog, Is there a component that can act as a shunt resistor to ground to convert 0-20mA signal input to 0-2V signal for measurement by ADC. Or would external resistor to ground be necessary?
Thanks
Show LessI'm seeing some strange behaviour writing to pins on a PSoC 5LP. I'm writing a 6-bit value to six pins grouped as a bus. I'm then writing a 1 followed by a 0 to a separate pin. The changes on some of the bits within the bus don't always happen concurrently. In fact, some of them occur *after* the strobe is cycled.
Here's the code I'm using:
P_Write(data);
CyDelayUs(1);
STB_Write(1);
STB_Write(0);
Here's what the resulting timing looks like. Anyone know what's going on?
Hi,
First sorry my english and sorry if this is on a wrong place.
I try work my DEV kit CY3275( http://www.cypress.com/?rID=38059 ) with board of CY3273( http://www.cypress.com/?rID=38025 ), and I make the board of 3273 with all layers (4) and use components indicated on manual of this, buyed on mouser, now I try use the PSoC MiniProg (I got it together CY3275 kit) and no work, the Cypress Programmer don´t find device, if I try write Cy3275 board work fine,
Need help to find problem and fix it to make board work.. when I plug 12v on Jack led and voltage work fine, have 12 in and 4.89 after LM317 on Cy3273 board...
thank you all