PSoC™ 6 Forum Discussions
Bluetooth connection to the Raspberry Pi
I am using a CY8CKIT-062-WiFi-BT with ModusToolbox and would like to transfer measurement data to the Raspberry pi.
The possibility from one KIT to another would not be bad either.
I can't find any suitable examples.
AnyCloud BLE Environmental Sending Service is very comprehensive and you cannot see how CySmart accepts the data. 2 bytes are transferred and then?
Must WICED modules still be used in the programs. I would like to use only "ModusToolbox" and its components.
Can one show me examples for the transfer of floating point values via BLE.
thanks
Show LessHi Team,
We are designing a board using the MCU CY8C6247FTI-D52T.
1 x UART = SCB7, TX - P1[0], RX - P1[1]
2 x I2C = SCB5, SCL - P5[0], SDA - P5[1]
SCB8, SCL - P6[0], SDA - P6[1]
16 x GPIO
3 x Analog Read = P10[1], P10[4], P10[5]
1 x Analog Write = P10[0]
are used.
SWD is the debugging interface. -
SWDIO - P6[6]
SWCLK - P6[7]
XRES
SWO - P6[4]
32KHz RTC OScillator - P0[0], P0[1]
High-speed oscillator - P12[6], P12[7]
The schematic is attached herewith.
Please let me know if there are any mistakes.
Show Less
Hello,
I am trying to understand my possibilities regarding purchasing a company id for my BLE devices.
When I look at resources on this site, all of them say I can purchase the company id either from Bluetooth SIG or from IEEE.
However, the company identifier provided by Bluetooth SIG is only 2 bytes, so I don't understand how can I use one purchased from Bluetooth SIG as my company id in the device.
I saw that the value set by default (00A050) is Cypress' IEEE address, not the Bluetooth SIG address. I could not find any reference to the company identifier (provided by Bluetooth SIG) of Cypress (0x0131) in the code.
Is it possible to use the company identifier provided by Bluetooth SIG? If so, how can I obtain the value for the third byte of the address?
Any help will be greatly appreciated.
With Kind Regards,
Omri
when I program CY8c6244 with miniProg3 , below message display on PSoc programmer window.
I want to know how to upgrade minoProg3 to support CY8C6244.
///////////////////////////////////////////////////////////////////
Read Finished at 오전 11:10:26 |
| FAILED! PSoC Device (6B A0 24 77) is not in the DataBase
| Detected JTAG ID: "6B A0 24 77" is not in database
///////////////////////////////////////////////////////////////////
Show Lessusing the cy8cproto-062-4343w
Was working with no problem using modus toolbox. Changed a wait time in the code, recompiled and tried to load. System no longer sees the dev kit. I have tried multiply ways to reset. Even went so far as to load software on another system. I guess the on board kitprog may have failed. As a last resort I may have to break the programmer off the kit and use another programmer. The original program is still running on the main board. If i hit the reset it comes up normally.
Show LessHere is a system sample program hello_world. The sram usage rate of the program after the default compilation is too high, I now want to reduce the sram usage volume. I have tried to delete some unused libraries in the library manager, but it seems to have no effect. May I ask this How to solve it
Show Less
I am getting frequent failures where Cy_BLE_GATTS_SendIndication() returns CY_BLE_ERROR_INVALID_OPERATION .
I'm fairly certain it's not caused by the BLE stack being busy because I check the stack before call the indication function:
( cy_ble_busyStatus[cy_ble_connHandle[0].attId] != CY_BLE_STACK_STATE_FREE )
I also set a breakpoint in my genericEventHandler() at case CY_BLE_EVT_STACK_BUSY_STATUS, but that event is never received.
I've stepped through the code as far as the call to Cy_BLE_GATTS_Indication(¶m), but I can't find any source code for this function and the disassembly is not very enlightening. Does anyone know where this source code is?
After I receive CY_BLE_ERROR_INVALID_OPERATION , I can't recover and keep getting that error until I restart the MCU. I am trying to reset BLE as shown below. No errors returned, but it doesn't help.
Cy_BLE_Stop();
cy_ble_initVar = 0u; // needed to let Cy_BLE_Start do initialization
Cy_BLE_Start(genericEventHandler);
I am using PDL 3.5.1. BLE is configured in Peripheral role and Dual-Core mode (controller on CM0).
Any ideas are appreciated.
Thanks!
Hello,
I am using the CY8CPROTO-062-4343W and am attempting to design a module that takes BLE data from several devices and then passes that data along via MQTT. I am trying to use the M0 core for BLE as this is battery powered and I understand this saves quite a bit of power. The issue I am having is that despite starting with any example (BLE or WiFi or dual core) when I try to pull in the libs from the other projects I end up with many includes or build errors. I am using ModusToolbox 2.4
Is it possible to get a shell of a project with these libs that will build?
I have tried copying every file over in the workspace and updating the Makefile to include anything from one Example program to the next but I still get many of these errors even when I run the Lib manager 1.4 to update.
./libs/psoc6hal/include/cyhal_hwmgr.h:61:10: fatal error: cyhal_hw_types.h: No such file or directory
/mtw/Empty_PSoC6_App/build/CY8CKIT-062-BLE/Debug/CM4/Source_Files/linkedList.o] Error 1
make: *** [libs/psoc6make/make/core/main.mk:414: secondstage_build] Error 2
Using the PSoC 63 series bluetooth le phy/stacks, are there any ways to distribute a somewhat precise clock between 3+ devices?
Something like a light-weight 'over the air' precision time protocol. Preferably connectionless.
Show LessI want to use DMA to transfer chunks of data (32 bytes at a time) into a component that I'm implementing with verilog.
I plan to use the control register to transfer the DMA data into the component. One thing I don't understand is, within the veriolg code, does the component know when new data has arrived in the control register? Is there some sort of enable signal or handshake to indicate when a transfer is complete? I can't find this anywhere in the documentation.
Show Less