PSoC™ 4 Forum Discussions
Hi guys,
I'm trying to use Timer to produce interrupt on my program, but comes up with a problem after compiling.
here are the error descriptions:
Build error: too few arguments to function 'Timer_1_ClearInterrupt'
Build error: The command 'arm-none-eabi-gcc.exe' failed with exit code '1'.
And here is my interrupt function for the timer:
Can anybody help to solve the problem?
Many thanks!
Show LessI am using Cy_LPComp_GetCompare() API to compare the input volage and reference voltage. As per API description in PDL library it returns non-zero value when the voltage connected to the positive input is greater than the negative input voltage.
What happens when input voltage and reference voltage is same?
What is the return value of Cy_LPComp_GetCompare() API ?
Hello
I can't see the real-time data in the Chart window of the Bridge Control Panel for Sensorless BLDC Motor Control Example.
I download de variables.ini and the file .iic from this community but I can't see anything in the chart window when I press SW2 on CY8CKIT-037.
Thanks!
Show Less
PSoC4 の UARTについて UART Advanced の MultiProcessorModeについて 詳細な資料や 実施例 を知りたいです PSoC Createrの付属資料の PSoC 4 Serial Communication Block (SCB) の 166ページ付近Multiprocessor mode operation を見ていますが もうすこし詳しい情報がないでしょうか? 特に知りたいのは Figure 36. Multiprocessor Bus Connectionsの図の Slave側のTXの挙動 複数のSlaveが TXにつながっているので データが衝突しない為に どういう処理をする必要があるか? 同様に Master側のCPU側のTX,RXの処理はどうする必要があるか?Show Less
Hi, Community
We are considering the recommended ECO for PSoC 4100Smax.
The ECO is used as the overall system clock and as the master clock for I2S.
I was able to find some from the CY8CKIT-041S manual UserManual and the manual on crystals here. AN95089
Are the following the key points for device selection?
1.Equivalent series resistance (ESR):The crystal ESR should be ≤ 60 Ω.
2. Drive level: A crystal whose maximum drive-level specification is ≥ 100 µW (meaning that it can sustain at least 100 µW) .
3. Load Capacitance: That the chosen crystal have an 8-pF load capacitance.
4. Pullability: Pullability should be low.
When producing boards for automotive applications, what range of variation in ppm over the temperature range of the device should be set?
Also, if you have a crystal that is matched with PSoC4100Smax, please let me know the model.
Best Regards,
Chihiro Tatebayashi
Show LessHi, Community
I would like to use the device configurator in Modus tool box 3.0 to make the SAR ADC look like the attached figure.
What settings do I need to make?
There are two settings I would like to achieve.
The first is single-ended unsigned integer, 12 bit resolution.
The second is unsigned integer with differential input, 12 bit resolution.
I would like to know how to set up Vneg and the wiring design.
The figure is from this manual : https://www.infineon.com/dgdl/Infineon-PSoC_4_Scanning_SAR_ADC_(Scan_ADC)_1.0-Software%20Module%20Datasheets-v03_01-EN.pdf?fileId=8ac78c8c7d0d8da4017d0eb260ff2b12
The device I am trying is a PSoC4100Smax. I am using the architecture guide as a reference : https://www.infineon.com/dgdl/Infineon-PSoC_4100S_Max_PSoC4_Architecture_Technical_Reference_Manual_TRM-AdditionalTechnicalInformation-v01_00-EN.pdf?fileId=8ac78c8c83cd30810183ef1400e220a9
Best Regards,
Chihiro Tatebayashi
Show LessDear Guys,
I add a deep sleep mode in my program, and I can wake up the program after deep sleep.
but when I try to wake up the program with interrupt of GPIO's falling edge, here comes up with a error:
Pin Error: (Mixed Interrupt Signal. Cannot assign 'UI_BTDETECT(0)' with Interrupt Signal UI_BTDETECT to physical port 0 where 'Com_PonRX(0)' with Interrupt Signal Com_PonRX is already placed.).
the GPIO's pin shows power on/off, when there is no power connected to device, the pin(Com_PonRX) keeps High level, and when the device powered on, the pin will be pulled to Low level.
can anybody tell me what's wrong with the setting? how should I deal with GPIO interrupt?
Show LessDear guys,
In order to save power, I need to set the MCU into deep sleep mode when there is no working for MCU.
I found a API (CySysPmDeepSleep())of entering to deep sleep mode from code example, and I just use it simply in my code.
but it seems I got same current consumption with previous software which doesn't contain deep sleep API.
Now the current consumption will always be 5/6mA from VDD(3.3V), but my target is less than 10uA.
so I got failure in this trying.
can any body tell me how to use this API to enact deep sleep mode?
here is my function about how to set mcu to deep sleep mode:
void SleepCmd(void)
{
if((CHMode == M_CHOFF)&&(UI_BTDETECT_Read() == 1)&&(F_ONOFF == 0)&&(BATCloseLEDCount == 0)&&(OCPLEDCount == 0))
{
SleepDelay++;
if(SleepDelay >= 200)
{
SleepDelay = 0;
Meas_ENOP_VREF_Write(0);
CySysPmDeepSleep();
}
}
else
{
SleepDelay = 0;
Meas_ENOP_VREF_Write(1);
}
}
Hi,
I would like to know when PSoC4100S Max will be added to the Power Estimator ?
I look forward to the addition of new devices to this useful tool.
Best Regards,
Chihiro Tatebayashi
Show Less