PSoC™ 4 Forum Discussions
Hello Cypress PRoC BLE World:
I have a Cypress PRoC BLE configured with a GAP role of: “Peripheral and Central”.
The device starts scanning when calling CyBle_GapcStartScan() and stops scanning when calling CyBle_GapcStopScan() just fine.
However, it will not connect when calling CyBle_GapcConnectDevice(), which apparently uses the “Component Customizer GUI” settings.
It will also not connect when calling CyBle_GapcInitConnection(), which apparently uses the given settings instead of the “Component Customizer GUI” settings, before calling CyBle_GapcConnectDevice().
CyBle_GapcConnectDevice() and CyBle_GapcInitConnection() are both returning CYBLE_ERROR_INVALID_PARAMETER.
CyBle_GapcConnectDevice() resides in BLE.c and is declared in BLE.h.
However, CyBle_GapcInitConnection(), which is called by CyBle_GapcConnectDevice(), is not declared in BLE_StackGap.h, due to “#ifdef GAP_CENTRAL” not being defined, and that is evidently the problem.
QUESTION:
Why is “GAP_CENTRAL” not defined (to employ CyBle_GapcInitConnection()) but CYBLE_GAP_ROLE_CENTRAL is defined (to employ CyBle_GapcConnectDevice(), which calls CyBle_GapcInitConnection()) for a GAP role of: “Peripheral and Central”?
Thank you,
Tim
Show LessHey guys,
i have my board ready and now i wanted to program the device (CY8C4247LQI-BL483) with the MiniProg 3.
When i want to program the device with PSoC Programmer it shows the following:
| Programming Terminated
| Detected SiliconID: "7F 7C 13 9E" is not in database
I guess when it shows that massage the wiring should be ok, is that correct?
When I push the “Verify” button PSoC Programmer shows the following:
| Chip is in PROTECTED mode. Any access to Flash is suppressed.
The MiniProg3 is on the actual FW Version.
Board is powered with 3,0V.
Thanks all.
Show LessSigned up for a training class in Lynnwood WA but never recieved a confirmation regarding the class location! Boo!
The class is scheduled for tomorrow. Can anyone please help!
Thanks,
Bill
Show LessHello, I am ramping up on PSoC4 BLE using PSoC Creator with gnu toolchain (the default). I generated a blink project using TCPWM, and reading the auto-generated code to understand how the device boots. I just read AN60616 and currently am reading AN73854, but so far do not understand how the function initialize_psoc(), which configures all registers and sets up clocking, etc is called for the GNU case. Can anyone shed some light for me please?
Show LessHi guys !
I have some questions about PSoc BLE. I try to connect the Psoc (in mode peripherical) to a smartphone (mode central) by GATT protocol.
I don't want to used authentification, but only send some byte to the smartphone. (An interrupt wake up BLE and send byte). The smartphone recognize (connect) the PSoc only with the UUID.
I searched on example code and over this comunity but i did find an answer. Maybe i don't use the good words. Which services need i to use ? And How configurethe BLE module in PSoc creator ?
I do an advertising with BLE but i'm lost in the next step 🙂
Thanks for your help.
Show LessAfter some time CustomEventHandler is not called.
How to debug BLE stack?
What is the requirement for BLE stack to call Event Handler?
Why BLE stack source is not available?
BLE stack looks as follows:
void CustomEventHandler(uint32 event, void *eventParam) {
}
CyBle_Start( CustomEventHandler );
for(;;){
CyBle_ProcessEvents();
}
Show LessDear all, I attended the PSoC 4 BLE semilar a couple of month ago, and now trying to ramp up on the PSoC BLE technology. I am familiar with Xilinx Zynq (ARM Cortex A9) and TI Tiva (ARM Cortex M4), and could not understand PSoC bootloading until I found bootloader host documentation. These days, the interface to a host tends to be either USB or Bluetooth, so I am looking for BLE bootloader. Is there any app note on how to do this on PSoC 4 BLE (I have the CY8CKIT-042-BLE)?
Thank you for reading.
Show LessI have a simple application I am developing on the CY8CKIT-049 to determine the suitability for a low power battery application. The first step is to measure the current with the debugger pins set to GPIO Mode, and the device in Deep Sleep. The problem that I am having is that I am using a GPIO interrupt to wake up the processor to toggle the LED.
The code runs as expected when debugging, but whenever I am running without the debugger, the interrupts do not appear to be working...
Show Less