PSoC™ 4 Forum Discussions
Hi,
I'd like to use the SCB UART of a 4200 PSoC4 with the possibility to recognize the states (begin and end) between the transmitted data on the receiver side: IDLE (mark) and SPACE (break). Further, I need the possibility to send the break level for the defined time on the transmitter side. Obviously these all are standard functionalities of each simple UART chips but I couldn’t find the way to solve it with the SCB UART. Can anyone help?
regards
wadak
Show LessHello,
While configuring the bootloadable component in PSoC creator, it should be pointed to the bootloader project's hex file. Does this mean that the bootloader is updated every time the bootloadable project is being flashed using the bootloader?
Thanks
Dheeraj
Hello,
I have tried the example project from here. I got it to work with CYBLE-012011 by creating a new project with the components listed in this project. I was able to compile and flash and I was able to see the beacon in the android app listed in the pdf. So far so good.
Now I want to add a bootloadable component to this project so that it can be flashed using an embedded host via UART. I added a bootloadable component and linked the UART bootloader hex file to it. I also added a pin which will call the Bootloadable_Load() and added code to set the BLE into bootload state.
Now when I compile I get the following errors:
1. Build error: CY_BOOT: Section .cy_checksum_exclude size exceeds specified limit
2. Build error: section .cyloadablemeta loaded at [0001ffc0, 0001ffff] overlaps section .cy_checksum_exclude loaded at [0001fd00, 0001ffff]
3. Build error: The command 'arm-none-eabi-gcc.exe' failed with exit code '1'
It's a linker problem trying to figure out where to place the code. How do I fix this?
Hi,
My development tool can connect to CY5677 usb dongle, but it can't work correctly when I pressed "pair" button to enter pairing flow(LE Secure Connections and Justwork authentication).
At first, CY5677 would send pairing request, then I send "pairing response" and followed by "pairing confirm(slave)". But CY5677 seems not to receive "pairing response" because CY5677 don't send "pairing random" and CySmsart pop up "AUTH_ERROR_AUTHENTICATION_TIMEOUT" a few seconds later.
I found it strange that after we sent "pairing response", my ble sniffer showed "crc error packets" from CY5677 at the next connection event.
However, I tried to set "SC bit(secure connection)" to 0 to request LE legacy pairing, it works fine!
I don't know why happened with CY5677 and how to pair with LE Secure Connections properly.
thanks!
Show LessI've just started reviewing the PSoC Analog Coprocessor as want to use it with a pyroelectric sensor for motion detection, but wondered whether I can attach multiple PIR sensors to the chip directly as it appears that the CY8C4Axx chips have multiple opamps. If so what is the maximum number of sensors I can attach and what is the limiting factor (e.g. number of opamps or some other constraint on the chipset).
Thanks.
Show LessI am updating two characteristics and then I also call CyBle_GattsNotification() function. When I do that the power supply jumps from around 600ua to 4mA. Now I would like to optimize this.
I have two questions:
1. Is this power consumption normal? I am using standard Tx CYBLE_LL_PWR_LVL_0_DBM power setting.
2. Is there a way to send multiple GattsNotification() at once and speed up this process?
Show LessHi all,
I'm trying to use a PSoC 4 BLE module from the CY8CKIT-042-BLE-A (CY8C4248LQI-BL583) to read the signal strength of two non-connectable Bluetooth beacons which operate at 10Hz. I then want to do some on-device calculations, and send out a vector based on the signal strengths to another PSoC 4 module.
However, I can't figure out how to set up the Bluetooth so that it can both read advertisements and write them. I've tried numerous sample projects from the "100 Projects in 100 Days" put out by Cypress. For the "Day 10: Observer" project, it will read the beacons, but when I try to switch the GAP to anything but "Observer", it stops working. There is no option for "Broadcaster and Observer" like there is for "Central and Peripheral". I have read that Central and Peripheral should have all the API's enabled, but that doesn't seem to be the case because it breaks the functionality of this code.
Additionally, "Day 11: Central and Observer" seems like it would be exactly what I need, but it won't read the beacons because they're non-connectable, and I don't understand what I need to change to get it to read them.
Does anyone have any advice on how I can both read from non-connectable beacons and then re-broadcast an advertisement of my own? (it doesn't need to be connectable)
Show LessHi,
I'm working on a project with a CYBLE-012011-00 module and i'm facing an issue. At start up everything works fine but if I let the module advertising without connecting to it, after some time (approximatly 10 mins) it stops advertising and it's not visible anymore in the CySmart app.
As soon as I restart it, it reappear.
Do you have any ideas about this behavior ?
Does somebody has experience, or even better an example, how to use directed advertising with the PRoC modules?
I have a project where i use one PRoC module as Central, and another one as peripheral.
Everything is working fine, as long as i do not use directed advertising.
Please have a look a the following code snippet:
apiResult = CyBle_Start(BLE_StackEventHandler);
memcpy(&discParam, &cyBle_discoveryParam, sizeof(discParam));
memcpy(discParam.directAddr, PairingAddress.bdAddr, sizeof(discParam.directAddr));
discParam.directAddrType = PairingAddress.type;
discParam.advFilterPolicy = CYBLE_GAPP_SCAN_CONN_WHITELIST_ONLY;
discParam.ownAddrType = ownAddr.type;
// discParam.advType = CYBLE_GAPP_CONNECTABLE_HIGH_DC_DIRECTED_ADV;
// discParam.advType = CYBLE_GAPP_CONNECTABLE_LOW_DC_DIRECTED_ADV;
discModeInfo.discMode = CYBLE_GAPP_GEN_DISC_MODE;
discModeInfo.advParam = &discParam;
discModeInfo.advData = &cyBle_discoveryData;
discModeInfo.scanRspData = &cyBle_scanRspData;
discModeInfo.advTo = 0;
CYBLE_API_RESULT_T apiResult = CyBle_GappEnterDiscoveryMode(&discModeInfo);
This code snippet works as expected. But as soon as I uncomment one of the lines which sets "discParam.advType" to one of the *DIRECTED_ADV modes, no further connections are possible.
BTW: PairingAddress holds the address of the associated peer.
I am using the BLE component V2.30.
What am I missing?
Best regards,
Martin
Show LessThere is a datasheet for a PSOC4 PGA compponent at http://www.cypress.com/file/274546/download
It is a big advantage to be able to make this internally without having to use external components as I do now.
But where can I download this component or find an example project. This component is not in the library for 4.0 update 1.
Thanks.
Show Less