All Forums
Browse the Community
USB
Universal Serial Bus (USB) forums have discussions regarding Low-Full & High Speed Peripherals, Superspeed Peripherals, USB Hosts Hubs Transceivers, and USB EZ-PD Type C product solutions for PCs and consumer device topics.
Wireless Connectivity
Power
Sensors
Memories
Memory Discussion Forums discussions regarding NOR Flash, SRAM, nvSRAM and F-RAM - performance and reliability with discrete memory densities ranging from 4K-bit to 2G-bit topics.
Other Technologies
Discussion forum regarding Other Technologies including Power Management and Clocks topics.
Security & Smart Card
Radio Frequency (RF)
Software
Software including ModusToolbox, PSoC Creator, WICED Studios and Wi-Fi Bluetooth for Linux .
Applications
Battery Management ICs
Infineon's TLE9012DQU is a multi channel battery monitoring and balancing IC for various lithium-ion battery applications, with integral functions like voltage and temperature measurement, cell balancing, and isolated communication with the main battery controller, including self-diagnosis features. The TLE9015DQU iso UART Transceiver IC is used in battery systems for enabling the communication between the main microcontroller and multiple TLE9012DQU units in a daisy-chain configuration. This forum welcomes discussions, queries, and insights on battery management systems and devices.
Featured Discussions
An error comes when I paused the debugger:
The run request failed. Encountered error(This INTERRUPT operation is not valid while the state is paused.)
Show LessHi all,
I'm wondering the difference between these 2 APIs. From the datasheet I understand that CySysFlashWriteRow() will erase a row of flash and write it with new data whereas, CySysSFlashWriteUserRow() will write data to SFlash user configurable area.
- Are these similar APIs but one for FLASH and other for SFLASH, but in that case why are they mentioned under same FLASH section (http://www.cypress.com/file/220431/download )?
- By SFlash do they mean SROM (8KB SROM as mentioned in 4200_BLE datasheet, http://www.cypress.com/file/416486/download)?
Also, I'm not able to find data sheet specific to my device cy8c4248lqi-bl583 56-qfn. The Cypress website points to the general 4200_BLE datasheet again. Any help is appreciated.
Thank you for your time,
Paraag
Show LessHello,
I'm user of 'CYW20706'.
I will use the Bluetooth Module of CYBT-343026-01.
I read blog 'Configuring the Bluetooth device address in CYW20706'.
https://community.cypress.com/community/wiced-studio-blueooth/wiced-studio-bluetooth-forums/blog/2018/01/24/configuring-the-bluetooth-device-address-in-cyw20706
'Company' is written in this document .
Which is 'Company', Cypress or user?
If user is answer, Do I have to write the DB_address in our production?
Best & Regards,
y_naka
Show LessI have created a device that takes data generated and returns it to the PC. The data has a numbered sequence in it to allow us to know if we have data loss. Sometimes the device works well not dropping any data for long lengths of time. Other times it will dribble data, this is with the same hardware and same PC and App. Can you offer any advise as to how to get the data drop to cease?
Show LessHello,
I have a custom PCB that uses the CYUSB3302-68LTXC hub and follows the circuit specified in this app note: http://www.cypress.com/file/139481/download
My schematic is attached. The EEPROM (which was changed to a 24LC02) is pre-programmed with an image generated by the HX3 Blaster Plus tool. All the settings are default except for the polarity swap on the US D+/D- pins.
The problem is that I don't receive any indication that the PC recognizes the hub. Nothing shows up in Device Manager on my Windows 7 machine. I also tried a different Windows 10 machine and received an error that the USB device failed to reset. The suspend LED is turned off and the DS power switch is enabled is enabled so I assume that something is working. I've also verified that the hub is reading the configuration from the EEPROM correctly.
Any suggestions would be appreciated.
Show LessHello,
I have a question:
why in CyUSB.dll you have to pass Byte array instead of OVERLAP struct
when call BeginDataXfer and/or FinishDataXfer ?
This increase complexity in develop program ...
Show LessHello,
I have tried to download the program using olimex debugger.
It is working good in wicedSDK 3.7,but when I have moved my application from 3.7 to 6.2 latest sdk ,it is not working.
below error message showing.
********************************************************************************************************************************
Downloading Bootloader ...
"**** OpenOCD failed - ensure you have installed the driver from the drivers directory, and that the debugger is not running **** In Linux this may be due to USB access permissions. In a virtual machine it may be due to USB passthrough settings. Check in the task list that another OpenOCD process is not running. Check that you have the correct target and JTAG device plugged in. ****"
Downloading DCT ...
"**** OpenOCD failed - ensure you have installed the driver from the drivers directory, and that the debugger is not running **** In Linux this may be due to USB access permissions. In a virtual machine it may be due to USB passthrough settings. Check in the task list that another OpenOCD process is not running. Check that you have the correct target and JTAG device plugged in. ****"
Downloading Application ...
"**** OpenOCD failed - ensure you have installed the driver from the drivers directory, and that the debugger is not running **** In Linux this may be due to USB access permissions. In a virtual machine it may be due to USB passthrough settings. Check in the task list that another OpenOCD process is not running. Check that you have the correct target and JTAG device plugged in. ****"
Resetting target
make.exe[1]: *** [run] Error 1
tools/makefiles/standard_platform_targets.mk:205: recipe for target 'run' failed
make: *** [main_app] Error 2
Makefile:351: recipe for target 'main_app' failed
12:14:34 Build Finished (took 30s.930ms)
********************************************************************
In device manager ,I can see the olimex debugger still showing above error.
I have attached openocd_log.txt file for both wiced IDE.(3.7 and 6.2).(for wiced IDE 3.7 it is working fine.)
5kb file for wiced IDE 6.2
63kb file for wiced IDE 63kb
Please help me regarding this.
Your help will be appreciated.
Message was edited by: Bhavna Harani
Show LessHi, I have CYBLE-224110-EVAL EZ-BLE™ PSoC XT/XR Evaluation Board. As per the website "http://www.cypress.com/documentation/development-kitsboards/cyble-224110-eval-ez-ble-psoc-xtxr-evaluation-board", this device can programmed and debugged as a standalone device. Just wondering, are there example codes for this device to be used for standalone usage?
I have CY8CKIT-002 to program and debug, I do not have CY8CKIT-042-BLE.
Regards
Narendra
Hi there,
We are having issues with bluetooth advertisement. To preface, we are using single core (cm0+) for Bluetooth, and have registered a callback function for the AppHost using Cy_BLE_RegisterAppHostCallBack() which Processes Events. As suggested in this discussion, Ble connection stops working after 'Max num. of ble connections' times , we have modified the cy_ble_hal_int.c file so that the callback is called during certain events.
Bluetooth can start advertisement, time out, restart, and so on successfully as long as no device has ever been connected. However, after the first connection proceeded by the first disconnection, once advertising times out it fails to restart again. We can confirm it as an issue with the device entering deep sleep while bluetooth is advertising since the issue doesn't occur when we put it into sleep mode instead. Our low-power code is as follows:
for(;;)
{
if(!Cy_SysPm_Cm0IsLowPower())
{
Cy_SysPm_EnterLowPowerMode();
}
cy_en_ble_bless_state_t bleSsState = Cy_BLE_StackGetBleSsState();
if(bleSsState == CY_BLE_BLESS_STATE_ACTIVE || bleSsState == CY_BLE_BLESS_STATE_ECO_STABLE)
{
cy_en_syspm_status_t apiResult = Cy_SysPm_Sleep(CY_SYSPM_WAIT_FOR_INTERRUPT);
}
else
{
cy_en_syspm_status_t apiResult = Cy_SysPm_DeepSleep(CY_SYSPM_WAIT_FOR_INTERRUPT);
}
}
We are wondering what is the problem? Also, what is the best way to debug and stress test functionalities with deep sleep? In debugger mode, the described problem does not occur because the device does not enter deep sleep as it would during regular programming. Thank you.
Show LessI have several questions regarding the PWM module:
1. What does the PWM_Stop() do to the line output?
2. What does PWM_Start() do if i yet to configure the PWM_WriteCompare(value)?
thnaks!
Show Less-
TraveoII
UART buadrate Setting
by chandan1995 Jun 19, 2023