PSoC™ 5, 3 & 1 Forum Discussions
I have a design in production, and just realized I grounded the P5 IND pin. According to the application notes and datasheet this pin should be left floating. What are the effects of grounding this pin? Will this damage the device? Will this increase current consumption.
My designs appear to be working but I want to understand any potential effects for units already out in the field.
Show LessHey,
I'm using the CY3274-HV PLC development Kit, including the PLC and AMUX4_1 user modules. The AMUX4_1 is used to multiplex 4 analog inputs.
The PLC module is using up port 0 - 0,3,5,6 pins to connect to the AC power line connector.
I have a doubt if the AMUX4_1 will read inputs from the remaining free port_0_1, port_0_2, port_0_4, port_0_7 pins, that is 2 even and 2 odd bits of Port 0, when selected.
Could you please help me know if I could use the select defines AMUX4_1_PORT0_1, AMUX4_1_PORT0_2, AMUX4_1_PORT0_4, AMUX4_1_PORT0_7 ?
These select defines are in sets of even and odd. Or is there an alternative?
Regards,
Tejal
Show LessI have a quick question for an analog circuit that is low frequency. I am implementing a PH meter that is reading a voltage from a probe (that is a very low current battery). It is amplified by a TI LMP91200 opamp and then sent to the delSig (at 16 bit, 200k sps with bypass cap). I was going to put RC filters on the inputs to block some noise coming from switching power supplies, etc. Can someone recommend a good set of R and C values for this? is this even necessary?
Show LessI have a DS1307 RTC connected to I2C and an PC8574 connected to a 16x02 LCD connected to the same I2C lines in parallel.
The issue is that each of the devices work in isolation but when I try to use both, they don't work. I am using the CharLCD by Michael Bey CharLCD_I2C Component interface for PCF8574AT / HD44780 Combo .
The program is attached for your reference. Any advice is much appreciated.
PS: There are 2 no's of 4.7k pull-up resistors on the DS1307 component.
Show LessI am using a PSOC5LP and want to calibrate the ADC in the final product that I am developing. I got the code from AN68403 and ran it on my PSOC5LP system with a 16-bit differential DelSig +/- 1.024 V. It says it successfully wrote the GCOR and OCOR to EEPROM. But it seems to have no effect on my readings. When I run a ReadGCOR(), the output is 39654 regardless of whether the calibration was done or not. I even cleared the EEPROM page 1 and 2 without rewriting the GCOR and OCOR and still get the same result for ReadGCOR().
I went so far as to mess up the code by setting a false GAIN setting- this messes up the Gn Cor value, but the ReadGCOR() doesn't change.
Is the code from AN68403 appropriate for the CY8CKit-059 with the CY8C5888LTI-LP097 chip?
Can someone help me get this figured out?
Best-
jk
Show LessHi all,
I am currently trying to implement a PID controller. I am fairly new to PSoC so this is going to be a bit of a challenge for me. The goal of the project is to control the output RMS of a DC-to-AC converter. The way this is done is the following, the RMS value is obtained through the sampling of the output sine wave. A SIMULINK diagram of the whole operation can be seen below.
The RMS is subtracted from whatever RMS value I set. The error then passes through a PI controller and then is multiplied with the control sine wave signal. I am generating the control sine wave and triangle waves in PSoC using the WaveDAC component. Since I am trying to use the sine wave as a control signal, from my understanding, I have to pass it through some ADC in order to multiply it by the output of the PI controller.
My problem the following: I have read articles on PID using C, and from what I have read, you need to use 16 bits for floating point math. I am using the PSoC
CY8CKIT-059 which only contains one Delta-Sigma ADC which can have up to 16 bit resolution whereas the SAR can only go up to 12. Is there a way I could get around this? Like I said, I am fairly new to PSoC as well as coding in C as is. The Top Design for my project can be seen below.
Thanks,
Show Less
Hi, I'm emulating neural cells with PSoC1. The chip packs two cells, each with two SC blocks.
One cell, with two blocks connected by external wiring, works fine, as shown in the following
scope image, with stable baselines:
But, the other cell shows:
Problem is the blue baseline including ripples of clock frequency (two spikes vs three above are OK). The
blue block is fed directly by another block, and is configured with "ASign: Pos", so with "ClockPhase: Swap"
(I understand that non-inv amp gets input at phi 1, then not consistent with the feeding amp with its output
active at phi 2). Sure, external connection will solve the problem, but no routing resource.
Any hint is welcome.
Fumi
Show LessI still have problems with UART communication, I read the datasheet and some post on this forum but I can't do something on my own, I would like just to collect some byte in an array of char, make it a string and send it back.
for example send H-e-l-l-o and create Hello\0. What's wrong in my code? why the programm doesn't stop if I dont put a char in the Filling function loop? I have no idea.
Show LessHello,
I am somewhat new to PSoC and I am working on my senior thesis for which my part of the project is to design a DC-AC Converter. I am currently using a PSoC 5LP to generate my control signal using the top design in the figure below.
The top DAC generates a 60 Hz sine wave. For my next step, I want to implement some sort of feedback control for which I need to subtract the reference sine wave from the measured one and pass it through a PI controller.
I am planning on implementing the PI algorithm in C code so my question is: Is there a way I could read the output of the DAC and store in it a variable in my code so thatg i can implement the rest of the PI Algorithm?
Show LessHi all
I made simple KS_Osc in veriog but PSOC5 have little resources.
Exist way how to replace registers datapath or sram in verilog ?
Second Karplus component is mcu base.
Is possible make this in DFB ?
Thanks help and info.
Kamil
Show Less