Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > PSoC® 3 > Psoc 3 USB UART problem

Bookmark and Share
Cypress Developer CommunityTM
Forums | Videos | Blogs | Training | Rewards Program | Community Components



Psoc 3 USB UART problem
Moderator:
RKRM

Post Reply
Follow this topic



Psoc 3 USB UART problem

spidermyst posted on 11 Jul 2011 12:03 PM PST
Member
3 Forum Posts

Greetings,

I working  with a Psoc 3  CY8C3866AXI-040 from the depevelopment  Kit 001. This Psoc 3 is communicating to a CAN network I set up with Psoc 5 controllers from the CY8CKIT-014 for each CAN bus.

I am currently sending all the messages on the CAN line to the "main" Psoc 3 controller. I would like this controller  to also communicate to my CPU through serial communication to send the information from the CAN line and receive specific instructions form a user (using Labview). The Psoc 3 is also communicating meanwhile through serial communication to a Pololu Maestro 24 microcontroller that control several actuators. 

The CAN network is working fine , however I start having some difficulties when I try to communicate to the computer in the same time. I downloaded the USBUART application from the cypress website, this application works fine when I do not add anything to it. But in order to use the USB port I had to change the clock speed of the psoc 3 controller. Once the speed changed,  I cannot perform any extra operations such as using LCD display or ADC reading. Most importantly, the CAN communication does not seem to work anymore even if I change all the clock speeds of the microncontrollers on the CAN line.

I am an Aerospace control engineer and hardware is not my specialty at all. Is there something I am missing maybe when using USBUART with other applications like CAN and LCD display? 

Also,  in case there is no quick easy fix to this problem, would it be possible to communicate to the board through a RS-232 cable, while the board is still communicating through CAN and serial to the pololu microcontroller? With one of this cables for instance:

http://www.google.com/products/catalog?hl=en&q=USB+RS-232+cable&bav=on.2,or.r_gc.r_pw.&biw=1024&bih=683&um=1&ie=UTF-8&tbm=shop&cid=4887864407186723721&sa=X&ei=JUcbTpjkJoi00AHExpSWBQ&ved=0CHYQ8gIwBQ

I have attached a picture of the current project (which is not working because of the USBUART)

Thank you very much,

Timothee




Re: Psoc 3 USB UART problem

U2 posted on 12 Jul 2011 01:26 AM PST
Cypress Employee
589 Forum Posts

Could you attach your actual project or a project similar to the actual so that we can better understand your PSoC3 design.






ALL CONTENT AND MATERIALS ON THIS SITE ARE PROVIDED "AS IS". CYPRESS SEMICONDUCTOR AND ITS RESPECTIVE SUPPLIERS MAKE NO REPRESENTATIONS ABOUT THE SUITABILITY OF THESE MATERIALS FOR ANY PURPOSE AND DISCLAIM ALL WARRANTIES AND CONDITIONS WITH REGARD TO THESE MATERIALS, INCLUDING BUT NOT LIMITED TO, ALL IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT OF ANY THIRD PARTY INTELLECTUAL PROPERTY RIGHT. NO LICENSE, EITHER EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, IS GRANTED BY CYPRESS SEMICONDUCTOR. USE OF THE INFORMATION ON THIS SITE MAY REQUIRE A LICENSE FROM A THIRD PARTY, OR A LICENSE FROM CYPRESS SEMICONDUCTOR.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms and Conditions of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms and Conditions of this site. Cypress Semiconductor and its suppliers reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Spec No: None; Sunset Owner: KXP; Secondary Owner: VWA; Sunset Date: 01/01/20