PSoC™ 6 Forum Discussions
text.format{('custom.tabs.no.results')}
Hi. I have zero knowledge of SW. I'm a hardware engineer. Could you step by step with pictures and code examples explain how to assign PWM signals to certain pins of the board when some events appear? I use MTB but have no idea how to do it...v Maybe let's do it together?
Show LessHello I'm trying to run ble using CY8CPROTO-063-BLE and configure as an hid service to send keystrokes to the host. I tried following examples published here https://github.com/Infineon/PSoC-6-MCU-BLE-Connectivity-Designs
but was not able to successfully implement. Wondering if someone can point me to some updated examples or resources.
Thanks in advance
Show LessError: kitprog3: failed to acquire the device
Info : clock speed 2000 kHz
Error: Error connecting DP: cannot read IDR
Error: Error connecting DP: cannot read IDR
Error: Error connecting DP: cannot read IDR
Error: DAP 'psoc6.cpu' initialization failed (check connection, power, transport, DAP is enabled etc.)
Info : psoc6.dap: powering down debug domain...
Error: Error connecting DP: cannot read IDR
Error: Error connecting DP: cannot read IDR
After changing the port number, when I try to compile, I keep getting the following error codes. Could you please assist me in resolving these issues?
my board is CYW20829
When I was writing my BLE program based on RTOS, I created some other tasks and ran the program, which caused Bluetooth to fail to initialize, meaning it could not start. The program only printed the content before Bluetooth initialization.
/* Initialize bluetooth porting layer by setting HCI configuration */
cybt_platform_config_init( &cybsp_bt_platform_cfg).
/* Register call back and configuration with stack */
result = wiced_bt_stack_init(app_bt_management_callback,
&wiced_bt_cfg_settings).
/* Check if stack initialization was successful */
if( WICED_BT_SUCCESS == result)
{
printf( "Bluetooth Stack Initialization Successful \n ");
}
else
{
printf( "Bluetooth Stack Initialization failed!!! \n ");
CY_ASSERT(0).
}
The program printed Bluetooth Stack initialization successfully on the terminal, but it seems that the program is stuck in a certain task, causing The program printed Bluetooth Stack initialization successfully on the terminal, but it seems that the program is stuck in a certain task, causing I would like to ask what direction I should take to solve this problem when it arises. (Note: I modified it using the modustoolbox BLE routine).In other words, under what circumstances will Bluetooth fail to start
smartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/PSoC-6/Regarding-the-issue-of-Bluetooth-not-starting-properly-when-programming-with/td-p/735250
Show LessHi: When I use MiniProg4 to burn in CY8C6247FD1-D02, PSOC Programmer prompts: Hex File parsing failure. Unknown record type.
May I ask what causes this? What do I need to do to fix it?
smartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/PSoC-6/MiniProg4-%E7%83%A7%E5%BD%95CY8C6247FD1-D02/td-p/735074
Show LessHi,
we are using a PSoC63 (on a CYBLE-416045-02 module) and are facing the following challenge:
We need to pull a an output (Port 9.5) constantly low, even when the controller performs a soft reset, because the hardware is not equipped with an external pull down resistor.
From my understanding, each IO pin goes in tri-state when a reset is performed until it is configured as a digital output and pulled low from software. During this short time gap, the pin floats. Is there any chance to keep the pin constantly low?
Thanks in advance.
Show LessI'm using PSoC 6 based controller. I'm using a autoreload timer, to connect to the wifi network. The timer is stopped only when it connects to the wifi network. Timer stop function is called from the timer_callback function. For some reason because of the cy_wcm_connect() function the timer is not able to stop. Instead the callback function is called and because the device is connected to wifi it again tries to stop the timer. I want to know how to stop the timer in right way. I tested the timer callback function with and without the cy_wcm_connect() function.
Show LessI am using CYBLE416045-02.
I have used the example code PSoC6DfuBleApp001.cydsn and PSoC6DfuBleApp011.cydsn to add the bootload application to my application code.
In my application code, when there is no BLE connection being made after 5 minutes, I will put the device into hibernate mode.
However, instead of hibernating, the device returns to the bootload mode and then loads the application program.
The below is the code to implement the hibernate mode.
Can anyone advise on the likely issue?
Thank you.
/* Restart 1s timer */
if(mainTimer != 0u)
{
if(!bDeviceConnected)
{
if(++nSleepTimeOutCnt==300)
{ // check for 5 mins of no activity
STATUS_LED_Write(LED_OFF); // turn off
Cy_SysPm_Hibernate(); // go to hibernate
}
}
mainTimer = 0u;
Cy_BLE_StartTimer(&timerParam);
}
smartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/PSoC-6/%E6%97%A0%E5%88%B7%E7%94%B5%E6%9C%BA%E9%A9%B1%E5%8A%A8%E4%B8%AD%E7%9A%84%E7%94%B5%E6%B5%81%E9%87%87%E6%A0%B7%E7%94%B5%E8%B7%AF%E8%AE%BE%E8%AE%A1%E6%8C%87%E5%AF%BC%E6%89%8B%E5%86%8C/td-p/732049
Show LessHi Sir,
When I use "ADC basic" example with CY8CKIT-062S4, and modify the code to single end,
then everything is fine, ADC is working.
After I changing CY8CKIT-062S4 bsp to custom bsp we built(CY8C6244AZI-S4D62), then building and download are successful,
but ADC pin P10_0 has no output with CY8CKIT-062S4 board.
May I use CY8CKIT-062S4 board with CY8C6244AZI-S4D62 bsp? Is it correct?
Show Less