PSoC™ 6 Forum Discussions
Dears,
I have issues with starting program Dual-CPU demo. I tried restart the IDE, it keep saying the debug session already started. I work well with one core debug, are there some notes while debug Dual-CPU demo?
Show Less
I’m trying to add a USB Virtual Com port to my Free RTOS application using the emUSB library.
I added the mtb-example-psoc6-usb-cdc-echo example code modified to run in free RTOS into my existing application with multiple tasks running but the application crashes when I plug the USB cable in. - See attached screenshot
Prior to plugging in the cable all runs fine.
So I tried just the echo example on its own modified to run in Free RTOS on its own, which sort of works as expected other than in Debug I got a strange error:
Error: FreeRTOS top used priority is unreasonably big, not proceeding: 268471517
Warn : GDB request targeting non-existent thread (0x1)
Warn : GDB request targeting non-existent thread (0x1)
If I run without the debugger it runs fine.
Not sure if the issues are related or not, but either way I'm out of ideas of what the issue is. I've tried removing tasks, increasing task stack but no luck.
Any advice would be appreciated.
Regards
Dave
Show LessDears,
To reduce power consumption, power is not supplied to the MCU for a certain period of time. We don't use deepsleep or hibernate.
In our schematic, P12.5 is connected to an external IC and we want to keep P12.5 at 3.3V.
Since P12.5 is connected to the pull-up resistor, if P12.5 is set to HI-Z when power is applied to the MCU, it will be maintained at 3.3V.
Is there a way to maintain 3.3V even when the MCU is powered off?
Thanks and Regards,
YS
Hello,
We are looking to design a simple PCB board for CY8CKIT-062S2-43012 board a UWB chip and https://www.mwrf.com/technologies/components/semiconductors/article/21213537/microwaves-rf-ultrawideband-soc-sports-high-integration-low-power-use.
Is there any help or source file which can be used ?
Regards
Show LessDear all
我想請教一下 我們使用PSoC62 EVK外置的QSPI NOR Flash是可以透過範例去實現的
https://github.com/Infineon/mtb-example-psoc6-qspi-readwrite-sfdp
但今天如果我想換成 IS25LP016D 他有支援SFDP 但是只能透過SPI通訊
https://www.issi.com/WW/pdf/25LP-WP016D.pdf
是否有方法可以成功實現 Flash的讀寫
謝謝
BR
Gryfin
Hello,
We are developing an iOS and an Android App that requires DFU using BLE. The target device is a PSOC6 and the firmware is ready to receive CYCAD2 files. I just wanted to check if today there is any existing SDK (ideally for ReactNative, but for iOS/Android is fine as well) so we can use it to implement the firmware update easily? Or do you only provide the AIROC™ Bluetooth® Connect App sources and we have to adapt it for our own App?
Thank you
Show LessI'm using the CY8C6144AZI-S4F92 to develop something. I'd like to program it from modustoolbox with the use of JTAG.
To set this MCU in programming mode many checks have to be done, with the use of pseudocode.
If i purchase the CY8CKIT-002 and connect it to the MCU via JTAG, will the CY8CKIT-002 perform all the checks?
In other words, will it check the silicon ID, erase the application flash and will it perform all the other checks, so i can just plug everything in, and then upload my code using modustoolbox?
Show LessHi everybody,
I'm working on project with a PSoC 6, using MTB 3.1, Eclipse as IDE and when initiating "Building Application" the "Auto-discovery in progress..." takes forever and makes a fast working impossible. How can I make this faster, like the fast incremental builds one is used form other build systems?
BR
Bernhard
Show Less
I have an application on a PSOC63 with FreeRTOS running BLE in dual-core mode. It offload data quickly through bursts of large notifications (512 ATT MTU size, 495 byte payload). The project follows the examples of "CE223508_PSoC6_BLE_MultiSlave_RTOS" for setting up a BLE Task capable of handling multiple slaves (BLE connections), and the offload/notification parameters of "CE222046_Throughput_Measurement" for maximum throughput.
All notifications are sent from this method, where the connection status, busy status and notification enable status are checked before calling the API:
uint8_t i;
/* Send notification top all the connected device */
for(i = 0; i < CY_BLE_CONN_COUNT; i++)
{
/* Confirm that the BLE stack is ready */
if (Cy_BLE_GATT_GetBusyStatus(appConnHandle[i].attId) == CY_BLE_STACK_STATE_FREE)
{
/* Check if the client/slave is both connected and subscribed to this notification */
if((Cy_BLE_GetConnectionState(appConnHandle[i]) == CY_BLE_CONN_STATE_CONNECTED )&&
Cy_BLE_GATTS_IsNotificationEnabled(&appConnHandle[i], handleValuePair.attrHandle))
{
/* Send BLE notification */
cy_stc_ble_gatts_handle_value_ntf_t param =
{
/* Fill all fields of the Write request structure ... */
.connHandle = appConnHandle[i],
.handleValPair = handleValuePair,
};
bleApiResult = Cy_BLE_GATTS_Notification(¶m);
/* Check if the operation has been successful */
if(bleApiResult == CY_BLE_SUCCESS)
{
DebugPrintf("Info : BLE - Sent notification. \r\n");
}
else
{
DebugPrintf("Failure! : BLE - Sending notification. Error Code: %d \r\n", bleApiResult);
}
}
}
else
{
/* Stack is busy, the current notification data will be dropped */
Task_DebugPrintf("Error : BLE - Stack busy to send notification", 0u);
}
}
When the "Maximum number of BLE connections" is set to 1 in the BLE component, the application runs with no issue. However, if the "Maximum number of BLE connections" is set to 2, I begin to receive "CY_BLE_ERROR_MEMORY_ALLOCATION_FAILED" error responses from the Cy_BLE_GATTS_Notification (or Cy_BLE_GATTS_SendNotification) methods when sending notifications rapidly, which eventually results in a CM4 Fault. A second BLE device does not need to connect to cause this issue, just allowing a second seems to cause it. At no time during the calling sending of notification do I see the STACK_BUSY event. I call Cy_BLE_ProcessEvents() before and after the send notification.
I've tried debugging this from every angle, changing the size of the BLE message payloads, changing the allotted RAM of CM0 and CM4, but cannot get the issue resolved.
Show LessDear Infineon,
Regarding the VDDIO question, the VDDIO0 supplies eFuse power and needs a 2.5V power supply.
If the eFuse is not supported, the supply voltage can be between 1.7V~3.6V, right?
Show Less