PSoC™ 4 Forum Discussions
Hi,
I am using PSoC 4 CYBLE-214009. I am looking for a way to have UART "Wake up from deep sleep" enabled at the same time get interrupts generated from three pins on the same port.
Normally this is not supported, if I try to do it PSoC creator throws an error. However my idea is to modify the generated source or the UART IRQ to add the three pins to the mask. Such that if any of the pins or the UART go low then the UART ISR will get called and in there I can figure out the true source of the interrupt.
Does anyone know if this is possible? If so any guidance on the implementation is much appreciated.
Regards
MB
Show LessHi all. I am wondering if a watchdog timer is also reset during a soft reset. I read another post stating that the timer is considered hardware, making me question this. I know variables are retained and the stack is cleared, but I really don't know much more than that. I'd appreciate it if someone could extend my knowledge on this topic.
Thanks in Advance
Show LessDear, Cypress Team
This is Erik Lim from UNIQUEST, Korea.
One of my customer is about to start mass production, but couldn't find Zig for CYBLE-022001-00.
Do you have answer for this ?
It's too slow with below kits.
Please help.
Thanks.
Best Regards, Erik Lim
Show LessHello,
I ported CE223508 from CY8CKIT-062-BLE to CYBLE416045-02.
The default value of 3 color LED is all off in case of CY8CKIT-062-BLE.
But in case of CYBLE416045-02, Green and Red LEDs are on as default.
I want to be all off as default at CYBLE416045-02.
I attached the project.
Best regards,
Yocchi
Show LessThere used to be a great article that described exactly what needs to be done (http://www.cypress.com/blog/psoc-sensei-blog/using-clocks-psoc-4), but it is no longer accessible. Anyone know why, and what do I need to do in order to output a clock?
Show LessHi,
Could you please provide a reference or example code where I can send sint16 type value from a BLE PSOC device.
Currently I am sending uint16 type value successfully using the following code snippet –
uint16 mydata = 25;
UpdateBleServiceValue16(mydata, CYBLE_MYSERVICE_DATA_CHAR_HANDLE);
void UpdateBleServiceValue8Array(uint16 mydata, uint16 attrHandle)
{
uint8 len = sizeof(mydata);
static uint8 arrayData[2] = { 0x00, 0x00 };
*(arrayData) = (mydata >> 😎 & 0x00FF;
arrayData[1] = mydata & 0x00FF;
CYBLE_GATT_HANDLE_VALUE_PAIR_T pair = { { arrayData, len, len }, attrHandle };
CyBle_GattsWriteAttributeValue( &pair, 0, &cyBle_connHandle, CYBLE_GATT_DB_LOCALLY_INITIATED );
}
But now I want to send value that can be negative as well i.e. I would like to send -25. How to make that possible? CYBLE_GATT_HANDLE_VALUE_PAIR_T accepts only uint8 types.
Alternate question is - Currently the data attribute is of type uint16, do I need to change it to sint16 in order to allow it to transmit negative values?
Please help.
Thanks
Kind Regards,
Jitender Kumar
Show LessI am trying to move project from the Pioneer Kit over to the CY8CKIT-043.
The CY8CKIT-043 has two separate devices which have to be programmed separately, which seems a bit different than the Pioneer kit where the BLE HID Keyboard example project worked out of the box.
I have two projects created and I am able to program the EZ BLE Module which is on the kit board and is working properly.
How do I access the EZ BLE Module from the PSoC 4 project? The PSoC 4 receives keystrokes from about 14 GPIO and then sends those key-codes through the BLE module. How do I send from the PSoC to the EZ BLE on the kit board.
It's sort of a simple application so if there is any other component set for this, such as just using one of the larger EZ-BLE modules, then please provide any information/documentation name that would provide that info. Thanks.
Show Less