PSoC™ 6 Forum Discussions
I'm running the `Cryptography_AES_Demonstration" in ModusToolbox in Eclipse for a CY8CPROTO-062-4343W) board.
How to debug the actual crypto registers - AES chip block - though? In debug mode the Peripherals view can be opened, but it doesn't list the CRYPTO block.
Show LessI own a CY8CKIT-062-BLE.
I found a document that says to contact Cypress Semiconductor if you own a board other than revision *C or *D.
Where can I find the revision of the board?
Also, where do I contact if it is an older board?
Hi
I am building a system of 2 PSoC, the first one (Central) sends 1-byte code to the second ( peripheral).
I can successfully send commands from the android Cypress app to the Peripheral.
But I am failing to send it properly from the Central.
I rea through many examples, but couldn't find a match to my case.
the Peripheral has 1 service and 1 characteristic:
I configured the same at the Central:
At Peripheral:
I am using this code to read the new value from BLE, it works from Cypress Phone App:
switch (event)
{
...
...
case CY_BLE_EVT_GATTS_WRITE_REQ:
writeReqParameter = (cy_stc_ble_gatts_write_cmd_req_param_t *)eventParameter;
if(CY_BLE_SIGNAL_TT_CHAR_HANDLE== writeReqParameter->handleValPair.attrHandle)
{
uint8_t val = writeReqParameter->handleValPair.value.val[0];
switch(val)
{
case 0:
LED_Green_on;
LED_Red_off;
break;
...
...}
At the Central side: I call this function directly to send BLE command to peripheral, when a new command is ready: (i suspect i am doing something wrong here):
void send_command_to_ble(uint8_t command)
{
if(Cy_BLE_GetConnectionState(cy_ble_connHandle[0]) != CY_BLE_CONN_STATE_CLIENT_DISCOVERED)
{
UART_PutString("Connection Status Error, Client Not Discovered\n");
return;
}
cy_stc_ble_gattc_write_req_t ble_message_to_send;
ble_message_to_send.handleValPair.attrHandle = cy_ble_customCServ [CY_BLE_CUSTOMC_SIGNAL_SERVICE_INDEX].customServChar[CY_BLE_CUSTOMC_SIGNAL_SERVICE_INDEX].customServCharHandle[0];
ble_message_to_send.handleValPair.value.val = &command;
ble_message_to_send.handleValPair.value.len = 1;
ble_message_to_send.connHandle = cy_ble_connHandle[0];
if(Cy_BLE_GATTC_WriteCharacteristicValue( &ble_message_to_send ) != CY_BLE_SUCCESS) UART_PutString("BLE GATTC write error\n\r");
}
and i get the error message "BLE GATTC write error".
what am i doing wrong here ?
thanks
Show Less大家好,
我使用CY8CKIT-062-BLE开发板,在调试Dual-CPU_Empty_PSoC6_App时遇到一个问题。
我试图在CM0中读写flash,CM4中也读写同一个地址。CM4中的操作是OK的,CM0中写擦除的时候会报BUSY的错误。我的代码如下,看起来CM0也没有被sleep,不知道为什么busy了,烦请帮忙看看,谢谢!
debug_cm0函数里面进行的擦除和写操作,详情见附件c文件。
Show Less
Hola comunidad! me podrían ayudar a saber por qué me sale el siguiente error al momento de cargar el programa a la placa y como solucionarlo para futuros errores relacionados a la misma. No tengo errores sobre el programa escrito. Estoy usando Eclipse IDE Modustoolbox 3.1
Muchas gracias!
Show Less使用cy8c6347系列,在debug下使用Cy_SysLib_Delay()貌似延时正常,但是在release下使用Cy_SysLib_Delay()延时产生了混乱,甚至有一些没有形成延时的情况,请问Cy_SysLib_Delay()在延时中具体做了什么事情,为什么会产生延时混乱
Hi
1. When is "cy_stc_ble_gapc_adv_report_param_t" issued and when is "cy_stc_ble_gapp_scan_rsp_data_t" ?
2. I have 2, PSOc6's , the first is a peripheral and the second is a central. I can read the peripheral name correctly, but the UUID is corrupt:
thanks
Show Less
Hi
In PSoC63, What is the benefit of splitting the BLE stack among CM0 and CM4?
What is the best practice (or architecture) when designing a system with multiple sensors and BLE link?
thanks
Show LessI am using PSOC 6 - CYBLE-416045 setup using VS code , modustoolsbox, using RTC to set alarms There are two options available PDL or HAL using PDL can enable two alarms and able to get alarms callback handlers called, not found the HAL api to set two separate alarms Help appreciated 🙂
Show LessI am trying to build a library as guided by chatgpt
Creating and using an external library (.a) in PSoC Creator involves a few steps. Here's a step-by-step example using PSoC Creator:
Step 1: Create a New Project
- Launch PSoC Creator.
- Go to
File > New > Project...
and select your PSoC device. - Click "OK."
Step 2: Create a Library Project
- Go to
File > New > Project...
again. - Select "Library" as the project type.
- Give your library project a name and specify its location. Click "OK."
- In your library project, you can create functions, variables, and code that you want to reuse in other projects.
- Build your library project. This will generate the .a file you need.
But when i tried to build the library, I am getting the following error:
build error cyfitter.h no such file or directory
How to avoid this error?
Kindly suggest
Show Less