Hello,
in my application, I have a lithium battery.
the system is powered when USB is pluging in and a specific IC charge the battery?
the IC charger has two differents set up: 1: limit the current at USB specifications (100 mA and 500mA after enumeration) and 2 :boost current more than 500mA (max 1800mA) when the USB cable is connect to a wall adapter.
I need to kown, when this two different stage happen
_ when enumeration is ok and USB port can send 500mA
_when the USB cable is connect to a wall adapter.
is there fonctions in the API of the USBFS component that can handle that.
Show LessHello
in my application the charger IC always feed the system and "disconnect" the battery when the charging process is finish.( ofr keeping a long life battery with less cycle)
So for my understanding, when a USB cable is plug into my device, my system is ALWAY bus powered.
Do I have to set my USB device as a self powered device, and just after the configured state, change into bus powered device ? or directly as a bus powere device ?
What about the hardawe configuration ? do i need external resistance for pull up or I just use the internal pull up resistance on D- and d+
Show Less
We have a product that uses the CYBLE-012011-00 with EZ-Serial 1.1.1 that is experiencing issues when sending data over CYSPP.
We are seeing an intermittent issue where it seems the module stops forwarding the data sent to it over UART while in CYSPP mode when connected to an Android Phone (OnePlus 7T Android 10). Usually, the first 2 or 3 packets sent over UART after sent over BLE but after that, there are no more packets. The module is not completely non-responsive, when the phone doesn't respond to the CYPSS packets, we enter API mode to disconnect which works and then we reenter CYSPP mode awaiting connections. Following connection attempts from the phone do not work either. I have verified that we are sending the same data over UART for the working and failing cases.
I have captured Wireshark logs a successful connection attempt and failing attempt and nothing stood out to me, an example of both is attached taken using the nRF sniffer firmware. See attached images (couldn't attach pcapng)
We do not see this issue when an nRF product connects to our Cypress module. Sometimes after the nRF product has connected, sent data and disconnected, the following phone connection works.
Is this issue related to 274727 mentioned here?
We are in the process of testing this on other Phones.
Show LessI have a pin colection (number of pin= 😎 forming a 8 bit port on P0.0 to P.7. For this port is used as to interface my device in a byte way in one mode. My device also allow to run with an SPI in serial mode. Here I have to configure the port each pin differently (input/output) to be able to connect as SPI. Each pin configuration needs 3 bit so for 8 bits this will end up in a uint32_t for configuration.
If I use each pin seperatly (number of pin =1 eight times), I will lose the possibility to write all 8 bits in one cycle... I have to generate a bif if / else construct for each bit of the byte, slowing down my write cycle.
I want to have a fast byte access and a fast bit access of each pin / port and I want to assign aome pins
case 1 to the SPI module and sone single control lines
case2 to 8 port bidirectional
and diong this in runtime.
Please tell me the name and the access posibility of this 32bit register. It would be great if you will publish all the information you are hiding how the peripheral exactly look (structure and register/flags names), how the register are named so I can use the controller bejond the methods you are offering in your API.
Show LessI set an EEPROM section at 0x4E00 in Bootloader.And I want to read and write EEPROM at same address(0x4E00)in bootloaderable.The start address of bootloaderable is 0x6000.If I define the same address ,it shows that wrong image overlaps section .
Show LessHello sir, I have kitprog cy8ckit-059. Kitprog is successfully detected by PSoC programmer and PSoC creator 4.2. I have attached MCU cy8c4245axi-483. I have debug code in MCU through kitprog. But after one time connect now I'm getting error like Error dbg.m0039 there was an error running port acquire. Can not acquire SWD device!
Can any one give me any suggestion?
Thanks,
Prem KB
Show LessI defined a constant arrary ,but I didn't use it.I can't find this constant arrary in the map file.
In my application Psoc4 has to serve a device that could be configured in SPI or parallel mode during runtime. In SPI mode pin named D0 has to be configured as MTSR, D1 has to be configured as SS, D2 has to be configured as SCLK and D3 has to be configured as MRST. In parallel mode D0...D3 are part of the parallel IO (D0...D7) offering bidirectional IO. How to implement this switch on the fly?
Show LessI like to use this device running an USB - HID profile. According datasheet Pin 13.1 (D-) 13.0(D+) and P13.2 VBUS (5V from USB?). Datasheet of USB tells me that I also have to assign VBUS to P0.0 ..(for 4200L devices). For me this is all not clear how to wire. It would be very great if your datasheet hold a schematics of all possible scenario.. how to connect. Pease assist !!
I like to run it as self powered, Not Bus powered. Please tell me the exact setting in USB configuration, and how to wire... what to connect where and how, Thanks.
Show LessHello.
When resetting PSoC4, UART TX becomes low level until PSoC4 initialization is complete.
This may cause the receiver to mistake it for a start bit.
I want to add external pull-up resistors to UART TX/RX to avoid this.
I think that external pull-up resistors is necessary to guarantee high level of UART TX/RX.
Does Cypress have recommended values and ranges for UART external pull-up?
Best Regards.
Yutaka Matsubara
Show LessExpert II
Esteemed Contributor
Employee
Honored Contributor II
Employee
Employee
Honored Contributor II
Employee