- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all,
I'm trying to build a system to characterize lasers, I'm collecting the light output using photodiode and connecting it to ADC, the output from the ADC is sent to a software called makerplot using USB connection. I just would like to make sure I'm doing it in the right way in terms of routing and sending the serial data on the right way. It seems that my code is not doing exactly the required as there's no data received in the software. I have my clock setting as required. Am I using the USB connection in the wrong way? I'm initiating the ADC to produce a byte value which should be sent through the USB,
You find my project attached
Thanks in advance.
- Labels:
-
PSoC 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There is quite a few sample projects using USB, see start page Creator,
"Find Example Project", see below.
http://www.cypress.com/?rID=34582 AN49943 - PSoC® 1 USB-to-UART Bridge
http://www.cypress.com/?rID=34330 AN50989 - PSoC® 1 - USB To SPI Bridge using PSoC 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Some suggestions:
Your components are not up-to-date, you should consider updating Designer to latest version.
Within your infinit loop you call USBUART_Start() repeatedly, this should be called only once
You did not call USBUART_Init()
There is a simple example within the USBUART-datasheet, stick to that.
You are presumingly using MAC-OS, I do not know if the required driver on the PC-side (emulating a COM-file) is functional.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content