PSoC™ 4 Forum Discussions
Hello,
We have been using PSOC ble custom profile to collect around 40 bytes of sensor data from micropython board using UART with psoc ble. We are sending the data using the psoc BLE to Cysmart windows app. However when we power the psoc with the usb cable we can receive the updated streaming data but not when batterey powered. We can only read data once when we batterey power it. Can you please help us resolve this problem.
Further we used ASUS dongle in raspberry pi and raspbian OS to receive the BLE data. We can receive not more than 20 bytes of data on raspberry pi. If the MTU is more than 23 bytes we cannot receive the data. However we can receive as much as 512 bytes on Cysmart. We tried to search for the reason and solution for it but we couldnot find any. Can you explain us about the situation we are facing?
Thanks in advance.
Suman
Show LessI cannot seem to find an example for serial in parallel out conversion. this is with respect to the prototyping kit platform. Any help is appreciated
Show LessHello all,
Greetings for the day.
I am trying to configure a 4x4 Matrix Keypad using PSoC Creator 3.2 with the help of PSoC 4 Pioneer kit (i. e. mentioned to ACK device used).
While doing that I have done some part, just wanted if I am on right track or not.
As of yet my test board with 4x4 Matrix Keys implemented hasn't arrived, I'm unable to check it's o/p to verify the program. That's why I wanted to check whether I'm going ok or not.
I'm attaching my project down here, please go through it & let me know my status; guide me if I'm going wrong.
If anyone have 4x4 board to test it, please do that & convey the results.
Waiting for your positive response & valuable guidance.
Thanks & Regards-
Amit
Show LessHi, i'm new on designing ble applications, so i'm going to explain as possible as i can what i want to do.
I got a CY8CKIT-042-BLE and did the laboratories from the kit webpage. I re-arranged pin out to turn the rgb led and i worked find. I created an application on windows phone to send data and turn rgb led on with a button but i doesn't work, I read many articles to realize how to do that but i can not still find the solution.
If any of you can share an example of iOS, Android or Windows Phone about how to send data (in this case like the Cypress iOS application) to turn the rgb led on, I appreciate so much.
Best regards,
Albert.
Show LessHello,
I am trying to use Cypress BLE as a master to connect with different devices such as Heartrate monitoring, blood pressure and so forth (all SIG approved profile), and I have some question:
Which profile do I have to use in central?
Do you have any example code for master which it can connect to different profile?
Where can I download source code for BLE Dongle CySmart 1.1.0.17.HEX?
Cheers
Show LessFirst post here,
We're trying to locate the SCB_Bootloader.cywrk project which is located on page 19 of the PSoC 4 Prototyping Kit Guide, Doc. #: 001-90711 Rev. *G. The project uses the PC's USB as a comm ports for downloading code and is also nice enough to flash a led.
http://www.cypress.com/file/141306/download
The problem is that PSoC Creater does not have this example listed and I can not find it on Cypress's web site. There are other boot-loaders examples for the PSoC 4, but they use the I2C. Were just trying to get the basics down of this kit and would appreciate any help.
Thanks,
John C.
Show LessOur company uses SVN system and everybody checks project out to different directory. I need to add relative path to Build Settings-> Compiler->General->Additional Include Directories in PSoC Creator. . What should its format be?. I m giving example of IAR Workbench.
"$PROJ_DIR$\..\..\folder name\foldername" this format is IAR relative path directory ,how can I do same thing for PSoC Creator.
When I run CE95401(I modified a little) code example in PSoC 4 Pioneer Kit in debugging mode. I put breakpoint to firstline of main. when the device recieves reset , it should return first line again but it doesn't and goes an unknown state . I also put breakpoint to isr_wdt interrupt service routine , it doesnt stop there after recieve wdt reset.
However if I just toggle LED in first line of main and program(not debug) kit works what it is supposed to work
I m asking why the reset doesn't work properly in debugging mode?
I attached my code and Call Stack photo of unknown state
I used PSoC Creator 3.1
Show LessAttached is an image of Table 5. Power Modes System Status from the CYBL10X6X Family Datasheet.
Do I take this to mean that I can not wake up from Deep Sleep every 25ms by the ISR of a timer driven by an LFCLK clock whose source is WCO clk because no code is running in deep sleep?
Here is my code attempt:
CY_ISR(Timer25ms){
Timer_25ms_ReadStatusRegister(); //clears interrupt, found this in component datasheet
if (flop % 128==0)RED_Write(!RED_Read());
godeepsleep=1;
flop++;
}
Main loop is:
while(1){
if (godeepsleep==1){
CySysClkEcoStop();
CySysPmDeepSleep();
CySysClkEcoStart(0);
godeepsleep=0;
}
}
The code executes and flashes LED fine in debug mode (probably can't go to deep sleep in debug or something) but the device goes to deep sleep and never wakes up on its own powered by battery (shows current of 1ua so I know it goes to deep sleep).
Dale
Show LessI had interfaced accelerometer to psoc 4 ble and reading data from it. Now I want to send data to Android app. I got the source code of CySmart app but its more complicated so I was thinking to create android application from scratch. Please suggest me a good starting point.
Thanks.
Show Less