PSoC™ 5, 3 & 1 Forum Discussions
Hi,
We are considering USB HID Bootloader for PSoC5LP.
Browse AN73503 and use USBBootloaderHost_VC2015.zip.
However, sometimes writing fails.
The USB HID bootloader host app stops halfway due to error code 0x04 (data is not in the correct format).
When analyzing the USB HID host application software,
1. Send data to the device
2. Query device for response
The above 1 and 2 are repeated.
Since 1 and 2 are executed in succession,
We thought that if I made an inquiry without being able to return a response, We would not be able to read the response correctly.
Therefore, when a wait (10ms) is inserted between 1 and 2, it is operating normally. Write failures no longer occur.
As a method, wait time of 10 milliseconds is inserted with System.Threading.Thread.Sleep (10) before using ReadInput () of CyHidDevice class.
Is this workaround correct?
Or do you know any other good workarounds?
Regards,
Show LessHi,
We would like to confirm for the “Serial Number String” of the USB component.
The USB serial number string is the “User Call Back” option.
The serial number of the product is registered using USBFS_SerialNumString () API.
Processing is performed as follows.
/***********************************************************************/
USBFS_SerialNumString ()
USBUART_Start (0, USBUART_DWR_VDDD_OPERATION);
If (USBUART_IsConfigurationChanged ())
{
While (USBUART_GetConfiguration () == 0);
USBUART_IsConfigurationChanged ();
USBUART_CDC_Init ();
}
/***********************************************************************/
The serial number string is set with 9 characters, but the serial number string is not set correctly.
When CyDelay () is inserted between USBUART_Start () and USBUART_IsConfigurationChanged (),
the serial number string seems to be set normally.(Delay time is about 300ms)
Even if the settings are the same (source code),
The serial number can be set, sometimes it cannot, and the operation is unstable
When setting the serial number string, are there any problems with the procedure described above?
Could you tell us about the correct usage of the USBFS_SerialNumString () API?
(Component start timing and API usage timing, etc.)
Regards,
Show LessHi alll,
i am usings psoc 5lp for generating waves from Wavedac8 using arbitrary file and change samples value in code . I want to use 500 samples and wavedac8 take only 250 samples even maximum range of dac is 4000 . Whenever I use more samplesthan 250 it's not generate any wave can any one help out?
Show Lesshi,
i have a technical question about RTC component in CY8CKIT-059.2020 is the leap year and i set time to 2019/12/31,23:59:55.when it runs to 2020/1/1,0:0:0,the bit RTC_STATUS_LY which is contained in status register will go high when the current year is a leap year,but when i set time to 2020/2/28,23:59:55 and let it run,not only the bit RTC_STATUS_LY won't go high but also the date isn't 2020/2/29.
sean
Show LessI am using PSoC 5LP and need to implement LVI (low voltage interrupt).
LVI has IRQ#-0, but in Creator IRQ#-0 is already used by UART-ISR which I cannot change. There is no component for LVI/LVD.
How can I implement LVI and trigger ISR when voltage goes low?
Thanks.
Show LessHi
I am having a port acquire error with my MiniProg 3 with the error message
dbg.M0039: There was an error running port acquire. There may be no devices attached, or a device may be in use by another application.
There was an error attempting to run the port acquire command. This is often a result of no supported devices being attached, or a device being used by another application. Ensure that everything is properly connected, and that no other application is using the device and try again
Any pointers for a solution to this.... ?
Hello,
I have a project with Bootloader and two applications in PSoc Creator 3.3 and everything is working fine.
Lately I moved to PSoc Creator 4.2, all the projects are compiling and the output files are created,
but when I trying to burn them with Bootloader host im getting checksum error.
I notice that when i using the same files with the bootloader host from PSoc Creator 3.3 everything is passing.
Im doing the burning in the following sequence:
1. burning the bootloader image with psoc programmer
2. burning the 2 application with bootloader host when the active application is set to No Change - this is failed in checksum
3. burning the 1 application with bootloader host when the active application is set to Image1 - this is passed
Is there something I need to change inorder for it to work with Bootloader 4.2?
Thanks.
Show LessPlease answer below.
The same question is written in English and Japanese.
・English
There is a CapSense pin ①②.
If CapSense pin① is sensing, is CapSense pin② GND? Or is it Analog Hi-Z?
・Japanese
CapSenseピン①②がある場合、
CapSenseピン①がセンシング中、
CapSenseピン②はGNDでしょうか?もしくはAnalog Hi-Zでしょうか?
Hello
which pins to choose for my project
i have:
CY8C5888LTQ MCU
1x differential Delta sigma ADC 18Bit with internal vref 1.024
1x diferential SAR adc 12bit with internal -/+ vref 1.024
In AN58304 (PSoC 3 and PSoC 5LP Pin Selection for Analog Designs)
the document says:
Of these seven ports, three have a slight analog performance advantage P0[7:0], P3[7:0], and P4[7:0]. These ports reside in the analog upper portion of the chip. The analog globals, AGL[7:4] and AGR[7:4] that connect to these ports, also reside only in the upper analog section of the part, which give these ports a slight signal-to-noise ratio advantage.
Now i configure pin to next ports and analog rail:
1. for best accuracy my pin position correct or can I find a better solution for high accuracy?
2. for best accuracy i need use bypass capasitors 10uF for all extRef pin or only for selected bypas capasitor port in deltaSig component ?
Show LessI am using seven segment multiplexer(8 digits )and capsense at cy8c21434 controller. I cant use 7 segment user module. because not able to provide separate port pin . so i m create 2 ms timer interrupt to operate 7 segment multiplexer. Also my application has capsense switches(5 number). when i use any one (7 seg or capsense) means it working well. But i try to use 7 seg and capsensese at one controller means it disturb each other module (capsense sensing issue, 7 seg flickering ) . So how can i over come this same issue.. any one help me.....
Show Less