- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello everyone. I'm a newbie with PSoC, and I have a simple question (but with a hard solution, I think).
I'm using PSoC 3 in my little project. I'm sending data from the SRAM (a variable in the code), through USB to PC. I can see the data with Cypress Suite USB, and I check it's correct with the LCD. Now, the problem is that I need to see the data like in an oscilloscope (it can be any signal: sine, triangle, etc.). I just need to plot the data that I can read with "Cypress Suite USB". I'm using bulk transfer, but I could change it in the case it's necessary.
So, my question is: Is there an easy way for this?? I think the main problem is the communication, the way I get the data. The other part is to plot the data, it should be almost real time (no more than a second delay). I suposse I should make a program, but it could be very hard and long (I have never program a GUI, just with Matlab). I thought about Matlab, it could be very interesting (mainly for the plotting), but I have been reading about this and I think it's not possible to read data directly from an USB.
Thanks for the help 🙂
Solved! Go to Solution.
- Labels:
-
PSoC 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This is a free application if non commercial -
http://www.selmaware.com/stampplot/download.htm
Rergards, Dana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This is a free application if non commercial -
http://www.selmaware.com/stampplot/download.htm
Rergards, Dana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Do you want to show the data on the PC or on the PSoC? For both you can have a lokk at my (old) admScope project http://www.cypress.com/?app=forum&id=167&rID=66880 . It shows the sampled data on a GLCD connected to the PSoC, or on the PC with a special client.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If USB is not a hard and fast requirement, you could use I2C slave in PSOC. Then use miniprog3 with bridge control panel (http://www.cypress.com/?rID=39244). This software has good chart facility.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks everyone. I tried your solutions, but finally I discovered an easy&good way to do it: to make the USB work as a COM port. You can use Matlab to receive the data, it's very simple.
Regards 🙂
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,,
USB UART may not always work well on different OS. If you want your application to run on multiple OS, this blog may be of interest:
http://www.cypress.com/?rID=70889
Regards,
Rolf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hello, can you share the method with us?I also need to transmit the datas in sram to matlab in a project recently.Now,i have no ideal about it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In PSOC Creator, start page, "File", "Example Projects", there is
a USBUART project you can use or modify for your needs.
Regards, Dana.