PSoC™ 4 Forum Discussions
Could anyone please tell me the input signal range of the ADC on PSOC4 ???
Hello Every body,
I made a program using idac and TCPWM. I am unable to find the error. Can any body help me please ?
Looking forward for help.
Regards
Awais
Show LessHi,
We are looking for capacitve touch slider with LED indication for one of our project
(Product is basically a LED lighting with touch interface for brightness control) we are in process of designing a capacitive touch slider with 7 levels (each and every slider having a LED indication, for ex:I have touch the first slider led should glow the first slider and vice versa)
Can you have a such kind of capacitive touch slider interface reference design which related to our requirement it would be great
Hi all,
I have Cy8CKIT-042-BLE.
I have been following video 3 on http://www.cypress.com/training/how-make-ios-app-control-robot-using-bluetooth-low-energy-ble
When I configure my BLE GAP settings Peripheral role, advertisement packet, it give me the error, error 1: the advertisement packet length exceeds the max length of 31 bytes.
thanks,
J
Show LessHi:
I use Cy8C4124 as an I2C slave device. if master don't read anything after 30 secounds. CY8C4124 will go to stop mode.most times are fine but some times, i find all of output pin of CY8C4124 is high level output. it is not 3.3V, but is 1.7V.
I don't know why. please help me. thank you very much.
my code you can see below:
int main()
{
CySysPmUnfreezeIo();
CyGlobalIntEnable; /* Enable global interrupts. */
I2CM_Start();
EZI2C_EzI2CSetBuffer1(BUFFER_SIZE, READ_ONLY_OFFSET, ezI2cBuffer);
EZI2C_Start();
ReadfromBattary();
Test_Write(1);
CyDelay(10);
Test_Write(0);
CyDelay(1000);
Test_Write(1);
Timer_1_Start();
TimerISR_StartEx(timer_isr); // Do use this one!
/* Place your initialization/startup code here (e.g. MyInst_Start()) */
while(1)
{}
}
void TimerISR( void )
{
sleepcount++;
if(timecount>=500000)
{
timecount=0;
Test_Write(1);
ReadfromBattary();
}
else
{
timecount++;
read_flag=0;
Test1_Write(0);
Test_Write(0);
}
if(sleepcount>=5000000)
{
sleepcount=0;
I2CM_Stop();
EZI2C_Stop();
Timer_1_Stop();
CySysPmSetWakeupPolarity(CY_PM_STOP_WAKEUP_ACTIVE_HIGH);
CySysPmStop();
}
}
Well, I installed all the tools for my CY8CKIT-049-42xx and built the project Breathing LED. All going well until the program step. Here I get a blank pop-up when trying to select debug target. The board is plugged into the USB socket and I check in Device Manager on my Windows 10 PC and it looks like the driver is installed. How to acquire the port?
Show LessHi, I have two questions on my project.
1. how to calculate the absolute value of capacitance according to the raw data? Is there a equation to do this?
Since the resolution is 0.1pF, i assume the detection range is 0 to 25.5pF? Is that correct?
2. For the sensor we are going to use, 100kHz will be a proper frequency for the stimulation signal. So, how to set the stimulation signal frequency or can we use external signal source to drive the sensor? What is the frequency range it support?
Thanks for any answers!
Song
Show LessI want 2.4 KHz frequency on PWM out pin with 50% duty cycle. I added a PWM component, Clock - 1MHz, period - 416, compare -208
In the main loop I Start the clock, Start the pwm. and while loop is there.
But I am not getting anything on the scope. Can anyone tell what is wrong here ? Project is attached.
I think I am missing very small detail.
Show LessI'm looking for a universal analog signal conditioner to combine all my sensor needs in one unit controlled by our CPU.
have anything to recommend?......
inputs for: TC(all types), RTD(4 wire 10,100 & 1000 Ohm), Thermistor(1 & 10K), S-G(120-5k Ohm), pH & ORP(10>15 input impedance), %RH,(capacitance), etc.
I/O: I2C/SPI,
power:2.7- 5.5Vdc
we can linearize, X-Y, Polynomials, math. functions, zero, span tare etc in our PIC18F87 and selection of function desired(TC/RTD?S-G etc.)
if needed we can put a FET op amp for High impedance ckts
thanks
Dr. Otto Fest
Show LessI'm having some issues with my hardware design, which is using the PSOC4 BLE chip (CY8C4217LQI-BL473 to be exact).
I'm testing my hardware using some pretty simple code, which I have attached. It simply flashes my RGB LED once its all up and running. It also sets a digital output pin high (Pin_PSU_EN), which is the key to keeping my hardware PSU operating. This output turns on a PNP that bypasses a bootstrap resistor and allows enough current to flow from my DC rail to keep everything operating once the IC has started up.
The issue I am having is that the time it takes between when my PSU chip sets XRES low (and hence brings the chip out of reset) and the time the code sets Pin_PSU_EN high (which then enables everything to operate) appears to be over 500msec!!!
I'm measuring this time period by triggering on the signal from my PSU Power Good pin (which connects to XRES on my IC) and monitoring the Pin_PSU_EN pin, and I am seeing a time delay in the order of 500msec.
This seems a ridiculous amount of start up time - I would have expected something in the 500us range, at worst. What this means is that my hold up cap, which needs to supply the ~3mA of current for the time it takes the Pin_PSU_EN pin to be activated needs to be stupidly large (something like 220uF or larger).
Is this 500msec start up normal? Is there anything I can do to reduce it?
Regards,
Mike
Show Less