You are here

RECEIVER USING UART | Cypress Semiconductor

RECEIVER USING UART

Summary: 7 Replies, Latest post by Gautam Das on 10 May 2012 03:29 AM PDT
Verified Answers: 0
Last post
Log in to post new comments.
PREM's picture
User
1 post

Hello Sir,

I am using Psoc 3  with CY8CKIT-001. I am using Psoc creator 1 for programming

I want to receive serial data at 9600 baud rate from UART.

I got help from sample code of 8 bit Uart from cypress site.

But that project does not get open directly. So I read all its C file and than made my own project which builds completely .

But still no output is seen on hardware.

Points:  

1) I have checked jumper 10 is properly placed.

2) I have made top design as per pdf  EP56061_Archive.

3) My main c file is same as that in EP56061_Archive.

4)My ISR_UART c file is same as that in EP56061_Archive.

*******************************************************************************

* File Name: ISR_UART_intc.c  

#include <UART.h>

extern uint8 flag_keyPress;

CY_ISR(ISR_UART_Interrupt)

{

    UART_GetRxInterruptSource();    

/* To indicate key press */

flag_keyPress = 1; 

}

*******************************************************************************

 

Please reply fast because I have stucked at this point from last 8 days

 

 

 

 

 

 

 

 

 

 

 

 

U2
uday's picture
Cypress Employee
569 posts

Hi Prem,

Which version of PSoC creator are using. Are you using the latest version that is available at, http://www.cypress.com/?id=2494

  1. The UART examle project is available here, http://www.cypress.com/?rID=38729. If you are already using the latest verion of PSoC Creator, that is production version, please use the project titled, EP56061.zip (PSoC Creator 1.0, all PSoC 3 and PSoC 5 production and preproduction parts)
  2. If you are using older version of PSoC Creator(Beta 5.0) then you will have to use the project titled,  EP56061_Archive.zip - (PSoC Creator beta5, PSoC 3 and PSoC 5 preproduction parts only).
  3. Please try out the above two recommendations. Inspite of that if you are not able to get the project running we will help you. Please let us the know error message given by PSoC Creator.

-Udayan

 

StefanL's picture
User
6 posts

Have you verified:

- UART BAUD rate and other parameters setup correctly and UARTclock is within tolerance

- UART pin #'s and the jumper wires are setup correctly to go from PSOC Port to UART RX/TX on the Cyckit

- You enabled interrupts (CYGlobalIntEnable)

- You enabled/started the UART and it's clock

- You don't need (or need to add) a NULL modem between the cyckit DB9 and your other equipment

- If transmit is not working, what about receive? Can you receive anything?

- if you have a logic analyzer / oscillascope does anything come out of the PSOC?

user_467071's picture
User
12 posts

We're sorry, we couldn't find the page you are looking for.

The page might have been removed, had its URL changed or is temporarily unavailable. Use the links below to locate the page you wanted, or use our search bar at the top to find what you are looking for.

We're sorry, we couldn't find the page you are looking for.

The page might have been removed, had its URL changed or is temporarily unavailable. Use the links below to locate the page you wanted, or use our search bar at the top to find what you are looking for.

We're sorry, we couldn't find the page you are looking for.

The page might have been removed, had its URL changed or is temporarily unavailable. Use the links below to locate the page you wanted, or use our search bar at the top to find what you are looking for.

We're sorry, we couldn't find the page you are looking for.

The page might have been removed, had its URL changed or is temporarily unavailable. Use the links below to locate the page you wanted, or use our search bar at the top to find what you are looking for.

We're sorry, we couldn't find the page you are looking for.

The page might have been removed, had its URL changed or is temporarily unavailable. Use the links below to locate the page you wanted, or use our search bar at the top to find what you are looking for.

We're sorry, we couldn't find the page you are looking for.

The page might have been removed, had its URL changed or is temporarily unavailable. Use the links below to locate the page you wanted, or use our search bar at the top to find what you are looking for.

We're sorry, we couldn't find the page you are looking for.

The page might have been removed, had its URL changed or is temporarily unavailable. Use the links below to locate the page you wanted, or use our search bar at the top to find what you are looking for.

We're sorry, we couldn't find the page you are looking for.

The page might have been removed, had its URL changed or is temporarily unavailable. Use the links below to locate the page you wanted, or use our search bar at the top to find what you are looking for.

We're sorry, we couldn't find the page you are looking for.

The page might have been removed, had its URL changed or is temporarily unavailable. Use the links below to locate the page you wanted, or use our search bar at the top to find what you are looking for.

We're sorry, we couldn't find the page you are looking for.

The page might have been removed, had its URL changed or is temporarily unavailable. Use the links below to locate the page you wanted, or use our search bar at the top to find what you are looking for.

We're sorry, we couldn't find the page you are looking for.

The page might have been removed, had its URL changed or is temporarily unavailable. Use the links below to locate the page you wanted, or use our search bar at the top to find what you are looking for.

We're sorry, we couldn't find the page you are looking for.

The page might have been removed, had its URL changed or is temporarily unavailable. Use the links below to locate the page you wanted, or use our search bar at the top to find what you are looking for.

We're sorry, we couldn't find the page you are looking for.

The page might have been removed, had its URL changed or is temporarily unavailable. Use the links below to locate the page you wanted, or use our search bar at the top to find what you are looking for.

We're sorry, we couldn't find the page you are looking for.

The page might have been removed, had its URL changed or is temporarily unavailable. Use the links below to locate the page you wanted, or use our search bar at the top to find what you are looking for.

We're sorry, we couldn't find the page you are looking for.

The page might have been removed, had its URL changed or is temporarily unavailable. Use the links below to locate the page you wanted, or use our search bar at the top to find what you are looking for.

We're sorry, we couldn't find the page you are looking for.

The page might have been removed, had its URL changed or is temporarily unavailable. Use the links below to locate the page you wanted, or use our search bar at the top to find what you are looking fo

 

Example project's of UART not present at the web cite..

user_467071's picture
User
12 posts

sorry..I post just once it HTML bug

dasg's picture
Cypress Employee
730 posts

Hi maagalex,

 

You can get a sample project on UART from Creator itself.

Right click on the UART component and select "Find Example Project". Similarly example projects are available for all components.

dasg's picture
Cypress Employee
730 posts

maagalex,

 

The example project for UART which you were unable to find in the website is attached with this post. The ADC value is transmitted to PC via Hyperterminal using UART at a baud rate of 9600.

dasg's picture
Cypress Employee
730 posts

The pdf version of the example project document is also attached.

Attachments: 
Log in to post new comments.