PSoC™ 5, 3 & 1 Forum Discussions
Hello!
I am trying to get my USUART project up and working and, thus far, it's been working pretty well. The one issue I'm having is setting up the device descriptors correctly. It's possible some of these things I can't change since we're using Cypress' USB Vendor and Product ID (I'm not really looking to pay for this myself so I get if some of it's not configurable).
Below is what I'm currently using as settings for my USBUART:
This is what I'm seeing when I plug my device in:
I'd like to be able to change the following information:
1) Cypress USB UART (this might actually be determined using the Vendor and Product ID but this is probably the item I'd like to change the most if at all possible)
2) Manufacturer
3) Model Number
4) Categories
5) Description
Basically, I want to be able to change everything, if at all possible. I just don't know where to edit this things.
I tried searching the forums but didn't have any luck (which kind of surprises me. I would've guessed this would be a common question but maybe the thread exists somewhere and I just looked past it). If someone knows or could point me in the right direction, it would be greatly appreciated. Thanks!
Show LessWhoever created this document needs to look up heirachy in the dictonary!
How is a user supposed to scroll through a 45 page index looking for the register they want, it's not as if it's even organised alphabetically.
Do you seriously expect people to use this chip with documentation like that ?
Bad enough having the registers in a seperate document to the functional description.
Dont you have any EXPERIENCED technical authors there ?
Show LessWhen using the SPI slave tx software buffer in the API, how do I get an interrupt when a transfer is complete?
I.e. not when the software buffer has been transferred into the FIFO, but when the last byte of the transfer placed in the soft buffer has started to come out of the TX pin.
Show Lesshello I want to use the Comp block in my project . to cheack if the block itself is working i want to connect to pin Vin a sine wave and then using the compartor to "cut" the sine wave and basically getting square wave . How to do it ? this pic of what i want to do
and this is my project so far :
Show LessThis is part of my efforts to try to solve the jump from the bootloader to the app.
I'm creating a very simple application in which I create a file "some_table.c" which has a medium sized (approx 20 KB) constant table.
As soon as I add this table in the project I cannot debug anymore: the debugger buttons are grayed out.
Even more, if I try to add this table to the watch window, to see where it is located in the memory, the watch window doesn't display an address or values, nothing.
What could be the cause? Is there a limit to a size of a table to a project? Since there is 256 KB of flash available on this part it shouldn't be a problem.
Attached is the project if it may throw some light.
Thanks for your help.
Show LessHi to all,
after reading forum and examples and after a couple of problems regarding USB drivers, now I am able to use USBUART (CDC) interface with PSoC5LP!
It remains only a problem: manage the connection/disconnection of the USB cable.
I read KBA210620:
This document suggest to monitor the VBUS line to detect the disconnection event.
But, in my current design, I cannot monitor the VBUS line (SELF POWERED - NO VBUS).
I did a bit of experiments but I was not lucky.
There is someone that knows a solution to detect USB disconnection (USBUART - CDC) without monitoring the VBUS line?
Thank you in advance to all 😉
PS: UBUART component datasheet v.3.20 does not define USBUART_GetConfiguration() API
Show LessI am making an project where I would implement a start button.
My plan was to initialize everything and the enter a while loop waiting until the button was press with code like this:
bool START=false;
main()
{
Init all
while(!START)
{ }
Program
}
And then having a interrupt changing START=true;
The problem is I can see the interrupt routine is called, but the program doesn't leave the while loop.
I have tried to turn on a LED in the interrupt routine and the read the output pin afterward but that doesn't work either.
I have isolated the problem to this archive, where i have placed an LED in port 1[7] to GND and uses Port 15[5] as button by pulling it low.
pressing the button should turn on the LED.
Any working solution for a button will be appriciated, but a fix or reason to the problem would be nice too
Show LessHello!
I have an application that is taking timing info from a UART and updating the frequency and duty cycle using a PWM block. I want to be able to MUX a signal to output pins. Ideally, I'd like to scale it so that I can vary the number of channels I'm MUXing it to (either in software or hardware) so I could have a desired number of outputs (ie 3, 7, 13, etc rather than just 2, 4, 8, or 16) but this is less important.
I was wondering what the best approach would be? I thought about using the interrupt on the PWM to create a signal that toggles everytime the PWM toggles (using the interrupt on terminal counter, I think it was) and use that as a clock for a counter (though the counters are only 4 bit, so if I wanted to use a desired number of outputs, such as 7, I assume I'd have to have some sort of software comparison to the MUX signals to reset the counter if the count is over 7 or something to that effect?
The other possibility, I guess, is to create my own UDB block that's custom for my application but I'm not sure if I'd be able to vary the number of outputs at that point.
Anyway, if anyone has any suggestions as to the best way to approach this application (or a way, or feedback on my previous thought process), I'd appreciate it. Thanks!
Show Lesshello I want to use the UART ,how ever i saw this video
as you can see he used UART(scb) how ever in my PSoc Creator ver 4.1 when i search for the UART(scb) I cant use this block becouse it is incompatible . maeby becouse the verson of the UART(scb) it self is old verson . Is there a new verson of this block ? or maeby other solution ?
Show Less