PSoC™ 4 Forum Discussions
BLE AlertNotification sample not working on CYBKIT-042 + PSoC BLE module.
I compiled it and downloaded it, it is broadcasting,
but Android 4.2 and 4.4 devices can't connect to it even though it can see the device.
On com port it says "Peer device doesn't support ANS".
I compiled and uploaded several other BNE_xxx programs, but not single sausage is working
with similar issues.
What gives?
All I want to do have a simple demo to turn LED on and off from an Android mobile.
(I intend to use the Arduino Bluethooth Android app to generate the on/off strings.)
It there is such a working demo sources out there (such as github) I go download it and get it working
just to get started with using the kit.
Show LessI've been searching for a library to help and found this: https://github.com/derkst/Cypress-PSOC-OLED, but I'm working with PSoC 4 BLE and was wondering what I can do to the source code to make it work for me. Any help/direction would be appreciated.
Show LessHey, I want to enter into deepsleep mode when I use Cy8c4247 as main controller. How can I do?
I am adding an I2C component to my project and I can not figure out why it draws so much current in my project which uses Deep Sleep.
My I2C component is setup up as a Master at 400khz. With the component simply Enabled (not even started), my current draw increases by 800ua to 1950ua. It does not seem to let the Deep Sleep mode be entered, I even tried I2C_Sleep(); before the Deep Sleep command.
Attached are two scope captures of the voltage across my ammeter, which show that the current increase.
Any ideas why?
Show LessHello,
I am trying to connect two CY8CKIT-042-BLE Bluetooth® Low Energy (BLE) Pioneer Kits. One of the boards shall measure a Sensor via the 12 Bit-ADC and pipeline the measured data using the low-energy Bluetooth to the other board. The measurement frequency is 1kHz, so there is every 1ms a new sample. If the data is send to the computer over the UART interface directly for the first board, every sample can be received. But if the data is send over the Bluetooth to the second board and then passed over the UART to the computer only every 7th sample is received. The UART works in booth test with the same baud rate. So the Bluetooth works as bottleneck and slows the transmission.
To connect the second board I`m using the Project #020: UART to BLE Bridge (UART to BLE Central) (https://github.com/cypresssemiconductorco/PSoC-4-BLE/tree/master/100_Projects_in_100_Days/Day020_BLE_UART#sthash.PjyB5YTF.dpuf). I minimal need a measured data rate of about 80Hz, but while my tests I just got only 66Hz in maximum. Because the minimal BLE4.0 speed is 1Mbps and my data package contains 96bits, I think it should work with a sample frequency above 80Hz. Is there a chance to increase the Bluetooth speed?
Thanks for your help!
Katharina
Show LessHello Cypress World:
I have been digging through the Cypress CYBLE-002201 API functions that are described in the 558 page “PSoC Creator Component Datasheet, Bluetooth Low Energy (BLE) 2.0” (Document Number: 001-97122 Rev. **). I would like to know which API functions are used to identify the UUIDs and Handles of the Services and Characteristics for the configured BLE device.
The Microchip RN4020 lists the UUIDs and Handles of all Services and Characteristics by simply sending it the “LS” (List Services) command over the UART for which the RN4020 replies over the UART with a list such as that given below:
180A
2A25,000B,V
2A27,000D,V
2A26,000F,V
2A28,0011,V
2A29,0013,V
2A24,0015,V
180F
2A19,0018,V
2A19,0019,C
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
11111111111111111111111111111111,001C,02,14
11111111111111111111111111111111,001D,10,02
22222222222222222222222222222222,001F,08,14
33333333333333333333333333333333,0021,02,14
33333333333333333333333333333333,0022,10,02
44444444444444444444444444444444,0024,08,14
55555555555555555555555555555555,0026,02,14
55555555555555555555555555555555,0027,10,02
66666666666666666666666666666666,0029,08,14
END
Any clues for how to acquire that information using the Cypress CYBLE-002201 APIs would be greatly appreciated.
Thank you,
Tim
Show LessI need to send a message from one PSoC 4 BLE device to another directly (i.e. not with a dongle or phone acting as intermediary), does anyone know a way to do this? From what I'm seeing it seems like devices can only broadcast generally, but maybe I'm not looking in the right place.
Thanks!
Show LessI would encourage any of Cypress employees to put the comment in stackoverflow.com regarding BLE.
There are post which state, that no any single phone support BLE stack which Cypress provides.
Can I have feedback from people which succeeded?
However newest Samsung or HTC don't support GATT which is a must for communication with PSOC.
Show LessHello 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 Less