PSoC™ 4 Forum Discussions
I am having a tough time getting a PROC BLE to actually start without ending up in CY_NORETURN in CM0Start.c. The program does not get past the CyBLE_Start line of code.
Project attached.
Very frustrating. Any ideas?
Thank you,
Tom
Hi:
I'm using the upgradable-stack OTA projects, with environment as:
PROC module: CYBLE-212019-00
PSOC Creator 4.0
Establish projects from the examples:
BLE Upgradable Stack Example Launcher & BLE Upgradable Stack Example Stack in the same workspace.
Using BLE componet with older version v3_10, both the projects compile successfully!
If I update the BLE component to v3_20., the BLE Upgradable Stack Example Stack fails with following errors:
Error in component: cy_boot. The cy_boot_v4_20 component (cy_boot) is not compatible with the selected device. Please check the component datasheet for details on updating to a compatible component
Error in component: PrISM_1. Component 'PrISM_v2_20' is not supported by the selected device.
Error in component: PrISM_2. Component 'PrISM_v2_20' is not supported by the selected device.
Is anyone can help to answer this?
Thanks!
Justin Chen
Show LessI have an idea for a BLE application and I’m looking for advice on how I might configure the PSOC BLE to do what I want. Here is the behavior I’m looking for:
- Multiple BLE that will come into range of each other and then go out of range.
- Each device will have the same hardware/software.
- Each device will broadcast or announce its presence.In that announcement, I would like to broadcast a tag (let’s say 4 bytes) which indicates a bundle of information (let’s say 32 bytes) that the given device has.The device will send one tag per announcement and cycle through all the tags and repeat.
- During the interval between announcements the device will listen for two things.
a) Announcements from other devices.
b) Connection requests from other devices. - When the device gets an announcement from another device, the device will look at the tag and determine if it has that one of the other devices bundle.If the device already has this bundle, the device will just keep listening and announcing.
- If the device gets an announcement with a new bundle it does not have, the device will request a connection with the other device and get that bundle. It will then close the connection and continue with listening (step 4).
- If the device gets a connection request, the device will except the connection, send the requested bundle, and then close the connection.It will then return to listening (step 4).
- At a timeout period (+/- some randomness) the device will broadcast its next tag (step 3) and continue the cycle.
- Over time, I would expect all devices to have a complete set of all bundles.
I will try to include a state diagram. I’m having a hard time figuring out the roles I need to put the PSOC BLE device into how to switch roles. What roles should I use? Are there example (like in the 100 days 100 projects) that might help me. This is a, non-commercial, hobby project and I can explain exactly what I’m doing if anyone cares.
Show LessHi,
I get Verification failed on row 0 error on CYBLE-014008-00. This used work for at-least 50 times before I started seeing this error.
I think the one of the flash row is damaged and can't recover. Tried erasing and programming several times to recover but in vain.
Tried using Sflash tool which comes with PSoC Creator and below is the error I see:
"RowId = 0 Failed!Verification failed at address 0x0FFFF200. Expected data = 0xCDCCCBCF, read data = 0xCDCCCB8F"
From this I see bit 6 at address 0x0FFFF200 is culprit. I think the erase operation is failing at this bit.
It would be great help to know why this occurred or when it can occur(power failure during erase or programming operation).
Appreciate your early response.
Show LessIf I have an ongoing interrupt from a button press and I change the priority mid call does it change the priority of the ongoing interrupt or the next time the interrupt is triggered.
Show LessHi everyone,
i've been trying to read an EEProm over the I2c bus using a psoc4 BLE prototyping board.
no matter what i do i keep getting the i2c_bus_busy status.
The SCL and SDA lines are connected to the 5v line with a pair of 3,3kOhm resistors.
using this setup with, for example a raspberry pi does net results.
void i2cRead(int device,int memory, int length){
SCB2_I2CMasterWriteBuf(device, (uint8*) memory, 1,SCB2_I2C_MODE_NO_STOP);
status = SCB2_I2CMasterSendStart(device, SCB2_I2C_MODE_REPEAT_START);
/* Check if transfer completed without errors */
if(status == SCB2_I2C_MSTR_NO_ERROR ){
/* Read array of length bytes */
uint8_t i = 0;
for(i=0; i<length; i++){
rdBuf = SCB2_I2CMasterReadByte(SCB2_I2C_MODE_REPEAT_START);
}
SCB2_I2CMasterSendStop(); /* Send Stop */
//memset(rdBuf,0,128);
}
}
i'm stumped as to why this doesn't work, anyone have an idea?
Show LessHi all,
I am trying two connect tow BLE devices between them. The objective is that they can send messages to each others and based on that they do a little gpio tickeling.
Well, I found these posts :
1) http://www.cypress.com/forum/psoc-4-ble/connecting-two-cyble-224110-eval-between-them
They said that they used it to make the connection between the two boards but there is no post if it worked or not
2)
http://www.cypress.com/forum/psoc-4-ble/send-data-between-two-psoc-4-ble-devices
These are kind of old posts. For the first one the link is dead.
Well, I would like to know if there is a concise tuto or AN on how getting two PSoC or PRoC BLE connected together ?
Thanks
Show LessHello I am using CY8CKIT-043 having MCU CY8C4247AZI-M485. My Application is to measure the input voltage which is 5V i have taken here. And i scaled it down to 1V using resistor divider of 4k and 1k to make input voltage compatible with ADC input voltage range. I have taken ADC reference as internal 1.024V. But i am not getting useful result .Everytime i am getting diffrent value of Output. I have also attached my project.
Please Be helpful.
Show LessHi Folks!!!!
I made a big project using matlab and implemented DES, CRC and so on. Because i wanted to use the program on my uC i transformed the code into C. Then i used this code with the PSoC Creator. Everything seemed fine except the errors in the attached image. Now you could think damn there is no space left on the PSoC 4 but why does it say in Error No 4 region 'rom' overflowed by 0 bytes?!?!?! Do you have any suggestions ? I am really thankful for any help !!!
And if there is really no space left on the PSoC, can you please recommend me a PSoC with a greater rom size?
I am looking forward to any suggestions and discussions!
EDIT: I am using the cy8ckit-049-42xx
Show Less