PSoC™ 4 Forum Discussions
Hi All,
I've been able to power up my bluetooth module and see it advertising from my phone.
I've also been able to capture events transmitted from the module to my external MCU via UART.
Now, I am trying to write commands to the module... I do not seem to be getting the appropriate responses however. I just seem to be getting an echo back of whatever I send. eg. /ping will return to me /ping. I am terminating all the commands I try with '\r'.
I was thinking perhaps it has to do with this deep sleep mode mentioned in section 3.1.5.5 of the EZ-Serial User Guide. However, I imagine if the unit was truly in deep sleep, it wouldn't respond anything to my commands? In the guide I can't see anything about this behaviour, has anyone any experience with it?
Show LessHello everybody,
My last problem, discussed in this thread https://community.cypress.com/thread/32891, covered the issues that I encounter implementing the privacy feature. The last project attached contain a solution that works for 4.1 and 4.2 BLE phones with some problems on 4.0 and also on cypress dongle with 4.1 BLE.
Now I would like to add the OTA upgradeable stack and application example. I had the example running on older boards that we had manufactured but without privacy so I believed everything was ok but now with privacy I found out that I was overconfident. My problem is that if a bonded device trigger an upgrade the code will go to the stack project ok but there the BLE component has public address and the bonding info is not present and also the phone will need to authenticate again which is not desirable since the user should not do anything only to approve the upgrade.
My questions will be:
1) in order to keep the privacy, after an initial bonding only the bonded phone to be able to connect, do I need to duplicate the privacy code on the stack as well?
2) if I save the bonding with CyBle_StoreBondingData in application is the info available on stack if I retrieve it with CyBle_GapGetBondedDevicesList? (as I read the info should not be available) How can I pass this info from application to stack and back to application if the stack is not upgraded?
Thanks in advance!
Show LessHello.
I am new to the Cypress Developer Community.
I recently purchased the CY8CKIT-042-BLE-A Bluetooth Low Energy Kit, for a work related project.
I am using the CY5670: CySmart USB Dongle as a Master, to receive and log RSSI data from the CYBLE-022001-00 EZ-BLE PRoC Module.
After establishing connection to a device, the CySmart 1.2 desktop tool is used to manually log RSSI data, using the <Get RSSI> command, found on the send command’s tab.
How can this process be automated, without having to manually send the <Get RSSI> repeatedly?
The data logging requirement is to read 10 values of <Get RSSI> every 5 minutes, for a period of 3 hours.
Your insight will be highly appreciated.
I have attached a word document, for a screen capture of the CySmart 1.2 gui, set up, if that helps
Regards,
Andrew
Show LessI am using 4200M dev kit for a project. The PSOC is configuring an SCB as SPI Master in configured mode and talks to three slaves off board. Two of my slaves use the falling edge of the clock to clock in the data whereas one slave uses the rising edge of the clock to clock in the data. I am also using Firmware controlled chip select for each of the slave
Is it possible to change the SPI Sub mode for each of the slave at run time via any API? I looked through the data sheet for the SCB component version 4.0 and could not find any.
Show LessHello Cypress.
Is there any application to prevent CapSense’s malfunctions when noise is injected to GND line?
Best Regards.
Yutaka Matsubara
Show LessHi, can any expert answer my question? Thanks!
How high voltage should be set for VREF and VCCD on CY8C4248LQI-BL583? on spec, they are 1.024V and 1.8V, respectively, but measured values are ~0.0 for both.
Show LessHi All,
I have made a BLE app that connects the PSoC device to the Android device, using PSoC Creator 4 and Android Studio. I used the "How to Create a PSoC Android BLE App tutorial series, http://www.cypress.com/video-library/PSoC-Software/how-create-psoc-android-ble-app-lesson-1-getting-started/498221, and modified it so that it only turns off and on an LED, instead of the additional capsense feature.
However, in the tutorials, instead of using two buttons, one to turn on, and one to turn off the LED, it used one switch. The switch would work as one component with two functions, one to turn on, and one to turn off the LED. Although that is good, I would like to have two buttons to turn on/off the LED.
How do you convert the program in Android Studio from one switch to two buttons, so that the end result will be the same in that I will be able to control the LED and turn it on/off?
Thanks,
Andrew Collins
Show LessHi!
I have an interrupt component connected to the SS pin of SPI. It is configured as rising edge. Each time the SS pin is released from low to high, the ISR should trigger.
The problem is that the ISR is triggering multiple times at a very high speed. Successive after 6us delay. The SS pin only gives a rising edge once in 1ms.
Even if I connect the ISR to the interrupt pin of the SPI block instead of the SS pin, the same problem occurs. When I connect it to the SPI external interrupt pin I change the ISR type to level triggered and take care to call the clear_pending() function.
The SPI pins are all on port-4 which is a non-DSI port.
Please help
Show LessI'm trying to do a power budget and decide whether it's safe to write a log to flash when my rechargeable battery is going dead but still has some capacity left.
But I can't find any specs on how much more current it takes to write to flash. I'm using the CYBLE-214015 module (which contains some flavor of CY8C4248, I believe). This has 256K of flash.
Does anyone have a maximum current value for this write operation?
Thanks!
Show Less