PSoC™ 4 Forum Discussions
hi I have two BLE dongle(CY5670)
when I connect the one it's being Cyress KitProg and the other is
like this I want to make first to second.
also I have a bluetooth mouse that developed by my company
when I use that I usally pairing with BLE dongle(CY5670)
Press the sw2 on dongle and the blue LED will blink rapidly.
when I turn on the mouse and pair it, the blinking LED will turn off and then turn blue
.
Since then the mouse will work, but when I want to turn off the paired mouse and try to connect another mouse
I can not connect. Pressing the reset button does not work.
If it is a normal pairing, LED1 must be turned off and on, but when I connect another mouse, it will turn off but not turn on
Anyone who knows how to solve this problem, plz help me
Show LessRegistrations just opened for our upcoming PSoC 4700 "Sense-Anything" MCU Webinar, co-hosted with Mouser: Design Human-Machine Interfaces that “Sense Anything” with PSoC 4700 MCUs
Date: Tuesday, October 30, 2018
Time: 11:00 AM Eastern Daylight Time
Sponsor: Mouser Electronics and Cypress
Duration: 60 Minutes
Summary:
Join Michi Yoneda and Pushek Madaan, as they introduce the new PSoC 4700 Sense Anything MCU family. PSoC 4700 MCUs add advanced-sensing capabilities to the PSoC 4 portfolio of 32-bit Arm® Cortex®-M0+ microcontrollers.
This family includes the PSoC 4700 S-Series, which features Cypress’ advanced inductive sensing technology, MagSense™. MagSense enables new, innovative solutions for industrial, automotive, and consumer applications that require robust human machine interfaces, fully waterproof interfaces, and sensing of metal objects. In addition, participants will be able view PSoC 4700S-Series MCUs in action with an out-of-box demo of the PSoC 4700 MCU Inductive Sensing Evaluation Kit (CY8CKIT-148).
Show Less
Hello,
I'm looking for a PSoC 4 bootloader that loads an image from an external buffer (ext. flash in this case, which has the cyacd file in it).
I'll make sure the image gets inside the flash from my end, I can provide the bootloader with the char array of the cyacd file, or line by line, whatever works. What I am looking for is the code that loads that cyacd file to the flash.
All bootloaders seem to be made to run from a communication protocol rather than from an external buffer.
Now the BLE examples have an external flash bootloader demo, but I dont really see the separation between bluetooth and the bootloading.
I guess a good start would be to have a bootloader that starts with a (hardcoded) images string (cyacd file contents) as an input. Does anyone have such a thing? The rest I can do myself
If I am approaching things the wrong way, or if I am not clear what I need, let me know
Regards,
Robert
Show LessIs it possible to use a broadcast type communication between a smartphone as broadcaster and multiple devices implemented CYBLE-022001-00 as observers?
Show LessThis is with PSoC Creator 4.2.0.641.
The end goal is to create a nightly build of firmware using TeamCity, but I'm running into this problem:
Build PSoC projects via Jenkins (Error: prj.M0274)
I can duplicate this error by invoking cyprjmgr.exe from an administrator command line. Running cyprjmgr.exe from my local user account (where PSoC 4 was installed) does not generate this error.
How can I run cyprjmgr from a different user account than where it was installed?
Show LessHello all,
I have my BLE configured as follows:
My code is as follows
/******************************S T A R T ********* M A I N . C ******************************/
void monitorCybleState();
int main(){
CyBle_Start(StackEventHandler);
for(;;){
monitorCybleState();
}
return 0;
}
void monitorCybleState()
{
switch(CyBle_GetState()){
case CYBLE_STATE_STOPPED:
break;
case CYBLE_STATE_INITIALIZING:
break;
case CYBLE_STATE_CONNECTED:
break;
case CYBLE_STATE_ADVERTISING:
break;
case CYBLE_STATE_SCANNING:
break;
case CYBLE_STATE_CONNECTING:
break;
case CYBLE_STATE_DISCONNECTED:
CyBle_GappStartAdvertisement(CYBLE_ADVERTISING_FAST);
CyBle_GapcStartScan(CYBLE_SCANNING_FAST);
break;
default:
break;
}
}
/******************************E N D ********* M A I N . C ******************************/
/**********************S T A R T *********** E V E N T . C **********************/
void StackEventHandler(uint32 event, void* eventParam){
switch(event){
case CYBLE_EVT_STACK_ON:
break;
case CYBLE_EVT_GAPC_SCAN_PROGRESS_RESULT:
printf(".");
break;
case CYBLE_EVT_GAPC_SCAN_START_STOP:
printf("CYBLE_EVT_GAPC_SCAN_START_STOP\r\n");
break;
default:
break;
}
}
/**********************E N D **************** E V E N T . C ***********************/
/**********************OBSERVATIONS******************/
I see that advertisement and scanning are started. I can see my BLE advertising with the payload I configured. Also,the scanning is active as I can see the dots on my console. After a while I don't see any dots which means there are no scan events. This implies that scanning has stopped because there are active BLE devices emitting beacons all the time. I printed the value of CyBle_GetState() and it shows 4.
4 corresponds to CYBLE_STATE_SCANNING.
This implies that Cyble is still in scanning state but it is not scanning anymore. I am not sure why. I added debug messages to see if somehow CyBle_GapcStopScan() is being called. I didn't see my debug messages on console. So no. I am not sure why scan is stopping after a while. It stops at random times. However, advertisement is functioning well.
As of now the only way to fix this is using stack restart which is CyBle_Stop() and Cyble_Start() which starts the advertisement and scan again. Any suggestions on how to fix this without stack restart?
Thanks
Dheeraj
Show LessHi,
I started a new design with CY8CMR3102, used a STM32F103 MCU to configure and read the raw data from Sensor by I2C.
The PCB is a round shape(6cm diameter), a 1mm wide trace on edge of board as Proxmitiy sensor's antenna ( connects to CS0 pin though a 560ohm resistors).
CMOD is 2.2nF.
Here is the problem: the raw data I retrieved from sensor drifting a lot. In amibent temperature, the board will take 1 mintues to stay on the stable reading level. Then I put the board on temperature chamber running from -20(C) degree to +70(C)degree, monitoring the raw data, it will drift singanificant amount. I did try different configuration by setting different sensitivity value, different filters, enable/disable EMC function, but none of them can stop the raw data drifting.
My first guess is the whole pcb 's capacitance would impact the CMOD pin? Or some charging/discharing problem between the proximity sensor antenna and the ground plane?
Any suggestions/thoughts will be greatly appreciated!
Show LessHello,
see attached my project - it always give an error if I compile with the bootloadable component.
If I remove the bootloadable I have no compile error more
With the Eva-Kit I also implemented a bootloadable component (bootloader) and there I never had such a problem/error.
I have no idea what that could be? (the bootloader project I can run on the device without problem)
thank you
Show LessI am looking for an IC that can sense capacitive switch.
i want to interface two capacitive switches and generate high low on each switch being touched alternatively.
The part should be automotive grade. Either a controller or a normal capacitive to digital will also work here.
Show Lesswhile programming through RESET mode I am getting a error message as shown" Programming Terminated Detected SiliconID: "FF FF 13 AA" is not in database".
But when i programm through Power cycle mode programming is getting loaded but once powered on , no response from PSOC4.
Can somebody help with this?
Show Less