PSoC™ 6 Forum Discussions
Hi sir,
I am working on psoc6 . It is supporting i2c multi master. First I am configured in slave mode and master send to data to slave by using cyhal_i2c_master_write(). and I am trying read data from slave by using slave function cyhal_i2c_slave_read(). During debugging time I am getting timeout error. How to solve this issues ? how to configure properly?
Show LessDear Receiver,
In the following picture, we can see there is a question mark in each folder and files.
Do you know why?!
Because in other normal projects, there're no these question marks.
Could you please help me to check this issue ?! Thank you so much.
smartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/PSoC-6/question-mark-in-the-MTB-project/td-p/710770
Show LessHi, I've been using the PSoC 63 for a couple of years using PSoC Creator 4.4 and PDL 3.1.5. I'm working on a project that has a very small battery. At the moment, using the example CE219881 PowerModes example to which I have added a basic Hibernate function, on a Pioneer BLE board, I'm getting
PowerModes as supplied - Deep Sleep 25uA - Hibernate 25uA
PowerModes + RTC - Deep Sleep 25uA - Hibernate 25uA (The RTC is just init, no alarms configured)
PowerModes + RTC + UART - Deep Sleep 990uA - Hibernate 990uA (UART stdio redirection done conventionally)
The performance with UART is not acceptable for our project.
I have read the PDL Help on GitHub and also in some of the auto-generated UART source files and it speaks of adding Callbacks to UART for Deep Sleep and Hibernate, in particular turning off the GPIOs. However, these descriptions are rather spread out, and I cannot find an example of minimising the power used by UART in the lowest power modes.
Can anybody point me to a working example?
Thanks, Simon
Show LessHello
The online PDL of the PSoC63 shows "USBFS (USB Full-Speed Device)". (https://infineon.github.io/psoc6pdl/pdl_api_reference_manual/html/group__group__usbfs__dev__drv.html)
How can I include the USB in PSoC Creator ? Such block does not exist.
Thanks
I am trying to connect Adafruit Micro SD Card Breakout board with CY8CKIT-062-BLE_PSoC_6-BLE_Pioneer_Kit.
I have tried to integrate "SPI_SDcard_FatFS.cydsn" FatFs library. But its always failling the initalizaion.
I am able to communicate the SD Card board with ESP8266 board.
Can you please help me out.
Show LessHello
I am using PSoC63 with Modustoolbox development.
When running my application, is there any method on MTB to determine or estimate the max stack and heap size that will be used by my application? Thanks.
Thnaks.
Show LessI'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