PSoC™ 4 Forum Discussions
I'm trying to clear the Bonded Devices list and WhiteList in a PSoC4 BLE application. The API function "GapRemoveBondedDevices" says it will remove devices from both lists if "autopoplulate whitelist with bonded devices" option is enabled. I can't find that option and one comment leads me to believe that it no longer exists.
So I guess I'll have to use that call plus "GapRemoveDeviceFromWhiteList". However, the BLE component datasheet says it's scheduled to be make obsolete (soon?).
Can anyone suggest how I should handle this?
Thanks,
Dennis
Show Lesshi,
I am working on PSOC4 with I2C with interrupt driven when I2c slave stop condition reached.I am able receive data properly from Master when it is 7 bytes,but if I want receive more than 7 bytes I am facing problem,after sending 2 times from master,I am receiving in slave,but this problem is not observed in without interrupt scenario,If i use I2c with interrupt i am facing this problem,can any one faced this problem.how can i use I2C slave interrupt with more than 8 bytes coming from Master,without issue,the following is the code,
Show LessHello,
I am trying to program the CY8C4025AZI-S413 using the PSoC programmer version 3.26.0.2791. The target device is getting detected but not able to program the hex file. The target device is coded with different PC and generated the HEX file and send over an email and then it was tried to program using PSoC program.
error log of programmer--
Successfully Connected to KitProg/080A17C7031C3400 at 3.45.51 PM | KitProg Version 2.18
Opening Port at 3.45.51 PM |
Program Finished at 3.45.48 PM |
| FAILED! Can not acquire device in SWD mode!
|
Please, check the following items:
| - the connection between the programmer and the PSoC;
| - the correct programming protocol is selected;
| - the correct connector option is selected.
Program Requested at 3.45.48 PM |
| KitProg Version 2.18
Show LessI want to use the cy8ckit-041-41xx as a mutual capacitance sensor. However, I am confused on how to proceed as I was unable to find any documentation or tutorials on how to use it as a mutual capacitance sensor.
I want to measure the mutual capacitance of two plates and get the capacitance value for my application. Greatly appreciate any help.
Show LessHello all,
I have followed Project051_NOR_Flash_Bootloader, so I copied:
void WriteAttrServChanged(void)
{
uint32 value;
CYBLE_GATT_HANDLE_VALUE_PAIR_T handleValuePair;
/* Force client to rediscover services in range of bootloader service */
value = ((uint32)(((uint32) cyBle_btss.btServiceHandle) << 16u)) |
((uint32) (cyBle_btss.btServiceInfo[0u].btServiceCharDescriptors[0u]));
handleValuePair.value.val = (uint8 *)&value;
handleValuePair.value.len = sizeof(value);
handleValuePair.attrHandle = cyBle_gatts.serviceChangedHandle;
CyBle_GattsWriteAttributeValue(&handleValuePair, 0u, NULL,CYBLE_GATT_DB_LOCALLY_INITIATED);
}
My colleagues that develop for ios/android complain that they don't receive the indication
Who calls CyBle_GattsIndication?
Show LessHello
I previously asked this thread about the CAN sample.
This sample code is for Full mode.
●Is there a sample code for basic mode?
I want to use 17 nodes and monitor the status of 16 other nodes with one node.
Therefore, I want to change the ID on each node programmatically.
I would like to confirm that my understanding is correct,
●In Full mode, the sending side assigns a fixed ID to eight mailboxes and sends the data.
The receiving side specifies IDs for 16 RX mailboxes, the specified IDs are filtered from the data on the CAN bus and placed in the mailboxes.
Is this understanding correct?
Best Regards
Hayato
Show LessHi.
My customer use PSoC 4100S Plus.
I understand that the raw count is adjusted by 85% (+/- 10%) when the IDAC is autocalibrated.
When the resolution is 12 bits, it is recognized as within the range of 3067 (4090 x 0.75) to 3885 (4090 x 0.95).
However, it may fall below or exceed 3067-3885.
I have not touched the sensor.
What could be the cause?
Best Regards.
Show LessHi all,
I use PSOC Creator 4.3 create a demo project for 4147AZS-S475, and system clock settings as blow,
I can use PSOC Creator 4.3 debug the demo, it's OK. Then I export the demo to IAR, but IAR debugging is failed. Errors occur while initialize system clock, if codes enable EXCO, the debug is failed.The code is shown blow,
It's so strange, if I download code to chip using IAR, it can run well. But I can't using IAR debug the code.
While debug failed, IAR shows CPU status FAILED,
I guess, IAR can't connect to MCU when enable EXCO. How can I fix the error..
Best Regards
Show LessHi,
If can I modify macro definition in header file?
Such as #define CapSense_CSD_RAWCOUNT_CAL_LEVEL (85u) in Capsense_configuration.h
If I changed 85 to 60 ,when project was built,the value would recover to 85.
So,we couldn't modify macro definition in header file,is it?
Thanks!
Show LessI am using two CYBLE-222014-01 modules, one as peripheral and other as central. Once the central finds the peripheral, it goes into sleep mode but maintains the link to the peripheral. The central device automatically wakes up at some interval and must check the connection to keep the two linked. The central device can also be woken up via interrupts from two switches. The problem I am having is randomly and under no pattern, the link between the two devices is broken. The peripheral sensed the break and begins advertising again, however, the central device still thinks the two are connected even though I check the state when every time it wakes up., no flags are set in the stack that it disconnected. Forces the central to be power cycled to work again and start scanning. Open to ideas as to what is wrong or if a better way to detect link is broken.
I also can't find much information regarding setting the scan interval settings in the GAP Setting tab of module configuration. All Cyrpess datasheets focus on module as peripheral not central device. Any documentation on proper settings for scanning, not advertising. How to match to peripheral side?
Show Less