PSoC™ 5, 3 & 1 Forum Discussions
Is there an example circuit with a PSOC 5 to show how to connect the PSOC for USBUART?
I'm looking for a schematic of the connection between the PSOC and the USB connector with the D+ and D- signals.
From my understanding of the USBUART module is that it uses the physical USB layer to transmit the data over D+ and D- connections and then when connected to a host PC the PC recognizes the PSOC as a Virtual COM port, is this correct?
Does the USB support BUS power in this configuration? If so what is the max Current that can be supplied? I'm assuming it's 500mA is that correct?
I've already found these documents:
http://www.cypress.com/file/53431/download
This document shows the software side of the implementation. It points to this development kit. CY8CKIT-001.
When I look up the schematic for the PSOC 5 version I find this:
http://www.cypress.com/documentation/development-kitsboards/cy8ckit-001-psoc-development-kit
I've uploaded both the schematic and a small clip of the schematic that highlights the USB connections made for the demo board. In the clip of the schematic is the highlighted chassis ground is that symbol there for a reason? Is it just symbolic of the chassis of the USB connector shield it doesn't show that it isn't connected to anything else in the rest of the schematic.
This is a loaded question I know, and I don't know if I posted it in the right place on here. Please let me know if it is in the wrong place and I'll move it to a more appropriate place.
Thanks in advance for the help.
Show LessI have a few questions to use the boost convertor with sleep mode:
1) Table 6-4 in the datasheet (001-84933 Rev. *I) indicates "the chip must wake up periodically for boost active-mode refresh". How to define 'periodically'? Everytime the chip wakes up it uses power so I would like this to be as long a period as possible. Is this simply defined by how much you are willing to allow the VBOOST output to drop due to it being discharged by IBOOST in standby?
2) AN77900 section 3.6 indicates that when using with sleep mode on wakeup to refresh the boost convertor you need to set the boost mode to active and to restore the system clocks. Assuming that I only want to refresh the boost convertor on most wake-ups do I really need to restore the high-speed system clocks at all? Can I not simply put the boost convertor back into sleep mode and go directly to sleep again? Do I need to wait a time while the boost it is active? And if so what's the best way to reduce power during that process?
3) Instead of putting the convertor into sleep mode, if I disable the boost convertor via an API call does VBOOST get actively switched to VBAT (i.e. shorting out the external inductor)? If I re-enable the boost convertor after my RTC wake-up (assuming VBAT stays >1.8V) can I then switch it back on and bring my CPU voltages back up again without issue?
Would very much appreciate it if anyone knows any detail on this.
Show LessI want to ask the user for several specifications, all just one char inputs; however, the program doesn't wait for the user input and goes along with outputting strings.
UART_PutString("Welcome");
UART_PutSring("Please Enter either A or B");
char1 = UART_GetChar();
UART_PutString("Please Enter either Z or Y");
char2 = UART_GetChar();
These are polling for user input once, so it is outside the for(;;). I am using Tera Term and it is connected with a serial of 115200 with 8 data bits. How do I make the program wait till the user inputs data?
Show LessI have a PSoC5LP part with the USB HID Bootloader loaded. It works great. I load and run all night long.
I put my laptop to sleep and wake it and my USB keyboard no longer works. If I reboot it is fine.
My workaround is to use a second machine to bootloading from, but this is non-optimal to say the least. If my customers for this product have this same issue, they will not be impressed.
I only need to run the bootloader app, not even perform a bootload for the condition to occur. This problem has persisted from last year up to and including this morning always using the latest/greatest PSoC Creator and bootloader projects.
As an aside, my keyboard at home is attached to a full dock with it's own USB interface. This keyboard is not affected. This problem has occurred on the two similar HP laptops I've tried it on.
I have contacted support in the past and they want me to invest in a USB analyzer which isn't likely to happen here.
Has anyone else seen this problem? I just found the source for CyUsb so I'll look into that for clues when I get time.
- John
Show LessHello Everyone,
I have developed my new prototype using PSOC 3 and Right now i have been testing my prototype using UART to send the AT commands via Hyperterminal for that am getting proper response and also i have attached the picture for proper response under name TEST image please see attached picture
My problem is that i have sent AT commands directly from software instead of typing in hyperterminal using PUTSTRING function but am getting some addtional imporper data along with my AT commands in the hyperterminal please see the attached picture i did not understand why the extra values are arising at the first command execution itsefl could anyone please suggest me some useful mehtods to resolve those extra unwanted data in my command s? please help me why it is happening like that i can't able to resolve this issue any help would eb greatly appreicated
I have attached my project along with this please have a look and suggest me some ideas or please verify my software
Show LessHi,
How can I locate a NET label when there is a hint in notice list quickly?I can not locate the error place by double clicking the error item.
I checked the SCH file carefully,but I could not find the NET described by the notice list.
Show LessHello everybody,
Is it possible to generate watchdog interrupt on Psoc5? It seems we can do it on Psoc4. There is an option in GlobalSignal component. But i couldn't see it for 5.
Mehmet
Show LessI have a sensor that outputs a voltage between 0 and 3V. When I use Delta Sigma, the reading from my PSoC is compared with a volt meter. The result is not the same as the volt meter, it may be off by 5-10 mV some times, but I just want to prove the concept, and I'm just glad that it has some reading.
However, when I remove the sensor, the reading still says 200mV instead of zero. What am I doing wrong?
Here is the code snippet of the sensor reading function:
void handleRead(uint8 *buf, uint8 len) {
int16 adcResult = 0;
int16 mVolts = 0;
if(ADC_IsEndConversion(ADC_RETURN_STATUS) != 0) {
adcResult = ADC_GetResult16();
if (((int16)adcResult) < 0) {
adcResult = 0u;
} else if (((int16)adcResult) > 16383) {
adcResult = 16383;
}
mVolts = ADC_CountsTo_mVolts(adcResult);
printf("sensor read: %d\n", mVolts);
}
memcpy(buf, &mVolts, len);
}