cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Mentor
Mentor
4,291 Views
Registered: ‎06-16-2013

How to control two UART RS2232 by microblaze ?

Jump to solution

Hi all

 

I'd like to use two UART RS232 (uartlite) and microblaze receives data from each input port and sends data to each output ports on modified XAPP1271.

 

Now I'm stumbled to add uart interrupt handler and looking for sample C source code.

 

Could you show sample C source code or reference URL ?

 

Thank you
Best regards,

0 Kudos
1 Solution

Accepted Solutions
Highlighted
Explorer
Explorer
7,934 Views
Registered: ‎11-24-2013

Re: How to control two UART RS2232 by microblaze ?

Jump to solution

Hi watari,

 

you will find a link to the examples for the UART at the BSP screen of the SDK. Among them, there's one with interruptions.

 

 

forum.PNG

 

I hope it helps.

 

Regards,

Ignacio

View solution in original post

0 Kudos
3 Replies
Highlighted
Xilinx Employee
Xilinx Employee
4,260 Views
Registered: ‎08-02-2007

Re: How to control two UART RS2232 by microblaze ?

Jump to solution

hi,

 

You can have two uart controllers and two RS232 ports as provided in Spartan-3e starter kit(snapshot attached).

 

once this is done, you can set STDIN for one UART controller, STDOUT for the second uart controller.

 

--hs

----------------------------------------------------------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.

Give Kudos to a post which you think is helpful and reply oriented.
----------------------------------------------------------------------------------------------
Capture.png
0 Kudos
Highlighted
Explorer
Explorer
7,935 Views
Registered: ‎11-24-2013

Re: How to control two UART RS2232 by microblaze ?

Jump to solution

Hi watari,

 

you will find a link to the examples for the UART at the BSP screen of the SDK. Among them, there's one with interruptions.

 

 

forum.PNG

 

I hope it helps.

 

Regards,

Ignacio

View solution in original post

0 Kudos
Highlighted
Mentor
Mentor
4,137 Views
Registered: ‎06-16-2013

Re: How to control two UART RS2232 by microblaze ?

Jump to solution

Htsvn and Imgignacio

 

Sorry for my late reply.

 

We tried to implement two UART lite on XAPP1271 and modified BSP and current source code on XAPP1271 from their suggestions.

 

Now we already completed modification of XAPP1271 to support two UART lite and it works fine.

 

Thanks a lot.

Best regards,

0 Kudos