PSoC™ 4 Forum Discussions
I have come across a BLE state that is somewhere between Advertising and Connected that I can not find info on.
The problem is that this state appears for long periods (usually 60 seconds) only irregularly.
During this mystery state my battery current goes up to 8ma and stays there until a working connection is finally made 60 seconds later. Using deep sleep I am able to advertise at about 300ua and be connected at about 700ua, so this is a major concern for its power usage.
My biggest concern though is that I need to know in code when my device is in this state so I can inform my user somehow that he needs to wait 60 seconds and not get angry!
To debug this I have limited debug options (my board will still not run in Debug mode, even with a miniprog3 at a lower clock). I been able to capture my battery current profile (images attached) during these 60 seconds which does give me some clues.
First, some connection with my iPhone has been made, since I get a periodic current spike at 30ms intervals. This interval is not what my BLE component requests, it is Apples default connect rate. If you look at the zoomed in image you can see what looks like it is some sort of 'BLE event' happening every 30ms. From the stuck images you can also see why the average current is 8ma, the device in not going to deep sleep between events as it does in the third image when the working connection is finally made after 60 seconds at 50ms rate which I ask for in code after connection is made.
Anyone have any ideas what this mystery state is and why it draws so much current? It seems to consistently connect properly after 60 seconds whenever it does get 'stuck' though.
Thanks,
Dale
Show LessWe are moving backwards. Excellent Psoc forum was Psocdeveloper.
No forum search button makes total mess. I can't find my own posts.
Search community ( what Cypress provides) is not the same, as forum search.
Show LessHi,
Does PSOC 4 BLE support BLE 4.2? do we have plan to support BLE 4.2 feature esp Secure connection, Data length extension, Extended Scann filter policy and LE Privacy 1.2?
If BLE 4.2 is supported, how could existing PSOC could be upgraded to have BLE 4.2 software and firmware.
regds, Raghav
Show LessOff the shelf example on PSOC42 and ble 042 kit. No modification.
Debugging mode
1. I'm able to receive data from psoc
2. I detect with logic anaylser correct data stream into psoc (commands like 'c' etc)
3. Psoc don't respond neither with error nor with any valid character
Standard pinout is 1.5 tx 1.4 Rx
Show LessThe CY8CKIT-142 module communicates and runs the test firmware ok when mounted on the CY8CKIT-042 BLE KIT. When I place it on my own baseboard, the CYsmart application does not see the module. On the custom designed baseboard, I am providing 5 volts and ground connections to VDDD and the module GND. When the module is installed on the custom baseboard, I can measure 5 volts on VDDD, VDDA and VDDR. What other pins should I supply with voltages?. I measured a 3.3 volt on J10 pin 15 (P2_6) and 4 volts on J11 pin 12 (P1_4) on the BLE kit without the module connected.
Show LessIs that it is possible to access CY5672 PROC BLE REMOTE CONTROL through CY8CKIT-042-BLE board instead of USB dongle?. I have flashed the CY5672 PROC BLE REMOTE CONTROL hex file in the CY8CKIT -042-BLE board through USB cable , .I need to know how to configure the CY8CKIT -042-BLE board has to work as USB dongle,
Show LessHi, I'm developing a project that uses a Timer, and I want to set an interrupt when I receive an input on the capture input of the timer, or when the counter value of the timer is equal to zero (TC interrupt).
The problem is that if I check both interruptions ("On TC" and "On Capture [1-4]"), in the main.c I don't know which interrupt is triggered.
In the API said that ReadStatusRegister returns a uint8 with the value of the register, but I don't know which value use to compare it to know which kind of interruption has been triggered.
## CODE ##
CY_ISR(theres_an_interruption){
if(Timer_ReadStatusRegister() == value_when_theres_a_TC_interruption){
// TC interruption
} else {
// Capture interruption
}
}
Show LessHi,
I'd like to interface the UART Tx output of a 4200 PSoC4 running on a 3.3V bus to a device fed with a 5V PS. I don't want to use a level translator.
Is there a way to reconfigure the Tx pin as an Open Drain (and reverse the logic) as the pin is chosen by the fitter, so I have no direct access to its configuration.
May be changing the corresponding registers by software?
Michel
Show LessHi everyone,
my name is Silvano. I'm a beginner in development with Proc Creator and EZ- BLE CYBLE-022001.
Cypress has developed an apps, the name is CySMart, to show a demo with exchange of data with EZ- BLE CYBLE-022001.
Someone knows has to find the source code ? Thanks...
Show Less