PSoC™ 4 Forum Discussions
Hi everyone,
Now I am doing a project using cypress ble CYBLE-224110-00. In my project, I entered into deepsleep mode after the lock is unlocked by the user. I drive all unused GPIOs into Analog HiZ mode before entering into the deepsleep to save more power.
Then I found out that after the CPU wake-up, some GPIOs cannot be turned on even I set their drive modes into strong drive.
So I build a new project with CY8CKIT_042_BLE kit and test. When the switch SW2 is pressed for the first time, all the LEDs are set into Analog HiZ mode and I put the CPU into deepsleep mode. When the switch is pressed for the second time, I wake up LEDs and set them into strong drive mode. And then turn on each of three LEDs everytime the CPU wakes up. But you will see that the GREEN LED cannot be turned on. I attach the project file with this post. Please save me from this problem. Thanks.
Show LessHello,
I'm new in the bluetooth world and for a project I want to make my own Psoc 4xxx_BLE 56 QFN board.
I found the schematic in the datasheet (page 16) but there are no value's for my 2 capacitors and inductor for the bluetooth antenna.
Also is there a already a foodprint for the antenna or do I need to draw it myself. I work in altium btw.
can someone help me?
thanks
Show LessI am trying to set up a periodic interrupt using the Timer 2.7 module. But I see that the interrupt is only triggered once ever.
I tried the same setup with the TCPWM module, and the periodic interrupt works fine.
The only difference in firmware that I see is the clearing of interrupt flag with TCPWM implementation. But Timer's datasheet says that interrupt is cleared automatically with this module, and there is no software interface to clear the interrupt either.
Could anyone give me an idea why the Timer module is not working the way I expect it to?
Edit 1: Update with Workspace Bundle as requested.
Show LessHello everybody,
I have notice some strange behavior when trying to send some bursts of notifications over BLE. I will explain a little what I am doing. I compute some data after my device will be first connected to another client(dongle, smartphone app, etc). After the client disconnects my device I will continue to save data in RAM until the RAM is full, then transfer all the bytes from RAM to FLASH and so one, until both FLASH and RAM are full if no connection is done. Once a connection is establish and the notification of my characteristic is enabled by the client I intend to empty both FLASH and RAM by bursting a number of notification with size 17.(if Both flash and ram is full I have about 180 kB of data).
What I observed is that the BLE sends 10 such burst notifications and stops sending them even if the code still sends notifications.
My call: /* Notify the phone that the values are update */
CyBle_GattsNotification(cyBle_connHandle, &tempHandle);
CyDelay(5);
This happens not only when I try to sent that 180kB but also if I only try 11 notifications.
So my questions:
Does PSOC 4 have the same Credit behavior like Nordic Chips, if someone worked with such thing? The credit behavior is like this: you have a number of bytes that can be sent and if you run out of credit you should put a while(delay, etc) until you will receive more or your data will not be sent.
Should I do other approach to overcome this problem?
I should mention that my code did not break even if the 180kB will introduce some Delay. The data from RAM, FLASH is correct and the code for sure calls the GattsNotification function for a lot of times. I have the same problem also in some status characteristics that should send 11 notifications once in a while. We developed another code for a Nordic nRF8001 chip with credit behavior and it sends even hundreds of notification without a problem. I have CY8C4248LQI-BL583 chip with 256 kB Flash/32 kB RAM.
Thank you!
Show LessBLE parameters such as "conn_min_interval","conn_latency" and "conn_supervision_timeout",
Can these be modified dynamically after devices are connected?
I use WICED3.6 to develop my apps.
Show LessI am doin a project on psoc ble based universal remote with iot connection.So is there any infrared library supporting psoc programming (like kin shirrifs infra library in arduino).Help me out.Because defining functions for each appliance is making it too tedious and long.Other then AnalysIR if any please do reply me....
Show LessI just came across the Cypress Application Note BCM20738 that describes Broadcoms BlueTool for BLE RF xmit and receive testing. I am unable to locate this application anywhere. Does anyone have any info on this app and where to get it?
Thanks
Show Lesslooking for a Bluetooth BLE Developer to assist with the design and creation of a Prototype Application.,
Please email me for details. daraoneill@me.com
Show LessHello,
i'm a newbie with PSOC Creator (i use PSOC Creator 3.3 with the PSOC 4 Pioneer Kit) and i made the first steps with the Lessons of PSOC Creator 101.
Now, im a little bit confused about the connections of the pins.
In the lesson there was a connection (picture 1) and in my experiment the connection of the pin disappears complete when i removed the hook "HW connection".
Can somebody explain me what's going wrong?
Show LessHi there,
i want to create a measurement system using the cy8ckit-044 Pionner Kit. Therefore i need to use the SAR ADC with multiple analog inputs. I want to use 12 different analog inputs but i always get the error message "unable to fin a solution for the analog routing". When using 10 Inputs it works perfectly fine. I have used the 8 SAR ADC Pins from Port 2 + 2 Pins from a different Port. From my experience it doesnt matter which Pins i use for the last 2 but when adding another Channel to the SAR ADC I get this error. Is there a way to fix this or can i only have 10 analog Inputs? In the datasheet of the SAR ADC it says i can have up to 16 Channels. I have attached to project.
Kind Regards,
Christian Fischer
Show Less