PSoC™ 4 Forum Discussions
24 MHz crystal is used with PSoC-4 to use BLE feature what is the level expected by Crystal at output.
what will happen if level at XTAL24I and XTAL24O pin is not equal ?
Show LessHi,
Was wondering if someone has the dimensions of the PCB antenna on the PSoC4 BLE dev kit. The trace looks about 0.5mm wide. I'm doing a layout in eagle. But .pdf or any graphic file with the dimensions will do.
Thanks!
Erik
Show LessI made a simple project to show this (attached).
I have a couple of custom characteristics. They are of type uint8 array and of length 78 (except one which is of length 300).
In this project, I don't do anything but simply respond to the write. Using CySmart, I try to write to those characteristics. If I write data with length less than 70, I get a response. If I write anything of length >= 70, the write gets timed out, and from then on even reading doesn't work. The return value from the CyBle_GattsWriteRsp() function is 3 (CYBLE_ERROR_MEMORY_ALLOCATION_FAILED).
Why is that? Is there a hard limit on how large the uint8 array characteristic can get? If so, why doesn't the configuration dialog for the component not warn against this? Is this a stack limitation? A bug?
Show LessThis is probably more to do with my code than anything, but I wanted to reach out for help. https://dl.dropboxusercontent.com/u/27347663/DPDTand%204TSP.cydsn.zip
I wanted to write a simple program, with pins connected to a couple of switch ICs, using CapSense Buttons to toggle a switch position. One IC is DPDT, to switch between 2 LEDs, and one is a 4PST, connected to 4 LEDs. I can't (or don't really know how) to test everything without any buttons to click on. I'm using the Android app, and the PSoC is connecting, but when I go to the CapSense Buttons section, its blank (see image). Thank you.
Show LessHello
I am new to cypress and am very exited to make my first custom ble profile.
I need to send 3 datasets that i capture from three sensors attached to the ez-ble module.
What is the best profile i can setup:
>Do i need to put each variable to a separate service?
>Do i need to have one only service and get 3 charcteristics for it which are the sensors values?
>Is the CYBLE_EVT_GATTS_WRITE_REQ event triggered when i have "write" or "notify" property in the characteristic?
One other important thing:
I have a temperature stored in int32, when i try to write to the GATT database :
CYBLE_GATT_HANDLE_VALUE_PAIR_T tempsensorhandle;
tempsensorhandle.attrHandle=CYBLE_TEMPSENSOR_TEMPSENSOR_SENSING_CHAR_HANDLE;
tempsensorhandle.value.val=temperature;
tempsensorhandle.value.len=sizeof(temperature);
gattError= CyBle_GattsWriteAttributeValue(&wrReqParam->handleValPair,0,&cyBle_connHandle,CYBLE_GATT_DB_PEER_INITIATED);
I noticed that tempsensorhandle.value.val is an *int8 which cannot store my int32 temperature although i have declared it in32 in the ble configuration interface. Do i need to get every 8bit of my 32 bit integer to store it there?
Show LessI use the demo projcet, the BLE_HID_Keyboard project.
First step, i program the project into the demoboard(CY8CKIT-042-BLE).
Second step,when the demoboard runs, it will advertising.
Forth step,i used the an android phone to connect the demoboard ,and it is successed.
Fifth step, i disconnect the link, and the i program the demoboard again, so there is no bonding key on the demoboard.
Sixth step, i reconnect the android phone to the demoboard , it is failed. But there is no CYBLE_EVT_GAP_AUTH_FAILED event.
So how can i get the CYBLE_EVT_GAP_AUTH_FAILED event when the ble authentication failed?
I use the demo projcet, the BLE_HID_Keyboard project. First step, i program the project into the demoboard(CY8CKIT-042-BLE). Second step,when the demoboard runs, it will advertising. Forth step,i used the an android phone to connect the demoboard ,and it is successed. Fifth step, i disconnect the link, and the i program the demoboard again, so there is no bonding key on the demoboard. Sixth step, i reconnect the android phone to the demoboard , it is failed. But there is no CYBLE_EVT_GAP_AUTH_FAILED event. So how can i get the CYBLE_EVT_GAP_AUTH_FAILED event when the ble authentication failed?
Show LessThe builtin chip in my psoc-4 development board (25$) got shorted out. I changed it with a new one.
Now this chip is not being programmed. The device is being shown in the programming window, but it says " The target device is already in use by another client" and also there's another message "The device was recognized. But Creator does not support programming it at this time"
Please help
Show LessIs it possible to use PWM whilst the processor is in deep sleep? i.e setting up PWM whilst the processor is active and then leaving it running?
Show Less