PSoC™ 4 Forum Discussions
text.format{('custom.tabs.no.results')}
Is 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 LessBLE 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 Less