PSoC™ 4 Forum Discussions
In the examples and on community posts, I see code like the following for reading a sensor:
uint32_t proximityScan()
{
CapSense_SetupWidget(CapSense_PROXIMITY_WDGT_ID);
CapSense_Scan();
while (CapSense_IsBusy()) {}
CapSense_ProcessWidget(CapSense_PROXIMITY_WDGT_ID);
uint32_t result =
CapSense_IsProximitySensorActive(
CapSense_PROXIMITY_WDGT_ID,
CapSense_PROXIMITY_SNS0_ID);
return result;
}
Is the CapSense_IsBusy() function guaranteed to return false eventually? Is there a maximum wait time? Should we be checking a counter or a timer in the loop to avoid an endless loop?
Show LessHi Sirs,
Can you help add PSoC4 Em_EEPROM 2.0 Fixed Address 0xf800 code , I step by step from user component datasheet ,My I2C is abnormal.I spent a very long time testing and did not succeed in flash the correct address.The attachment project is that I test that the non-fixed address can work.
Thanks,
Lin
Show Lesswant to define an array of AT commands and store in and get response in psoc and get respone of what i send.
want to store the at commands in the array and get response
Show Lesshello, I am using an external opamp for a K typethermocouple, I am using thmocouple component in Psoc Creator, the question is, how can I connect a NTC for cold junction compensation? is there a code example?
Thanks
Henry
Show Lessi want to send one data from uart 1 to uart 2 and again that data from uart 2 to uart 1.. kind of cross communication using interrupts.. please help me.. have to submit my final project in 2 days...
please help me..
Show Lesswhat do you mean by resource limit: maximum status cells exceeded??
I am using the test firmware in KBA220073 and noticed that the default transmit power level is set to 3dbm. We are using our BLE at 0dbm and are going to go through the certification process. Is there a regulatory reason that the transmit power level is set to 3dbm?
Show LessHi,
How can we erase a particular byte/array stored in eeprom in the code?
Thank you.
I have a PSoC 4 and a PSoC 5 and am able to run programs on both boards via PSoC Creator 4.3, however I need to do this via a batch file and can successfully do this for the CY8CKIT-059 but not for the CY8CKIT-043. In both cases I create a script and when I run this script using ppcli.exe, I don't get any errors.
I can then execute using gdb and all works as expected for the CY8CKIT-059, but not with the CY8CKIT-043. If I flash the CY8CKIT-043 via the PSoC Creator, then my program runs using gdb.
I have attached part of my batch file, that show how I am creating the scripts for both boards.
Any idea what I am doing wrong?
Thanks in advance.
Mark
Show Less