cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
tech2012
Contributor
Contributor
6,597 Views
Registered: ‎07-07-2012

Using COM2 RS232 in ML506 board

Hello

Please, How can I use two serial COMs in ML506 board?

Is there any jumpers must be setting to allow using two COMs?

I used EDK12.1 and i want to use one of the RS232 to recive image data from matlab, and used the second one with the huper terminal.

COM1 is worked proparly when connected but when COM2 also connected, the COM1 not work proparly.

Anyone know how can do this?

Thanks in advance

0 Kudos
3 Replies
eilert
Teacher
Teacher
6,584 Views
Registered: ‎08-14-2007

Hi,

for Serial Port 2 check the settings of J62 and J63 according to p.12 of the board schematic.

 

However this should not have influence to Serial Port 1.

Are you using the same host PC for Matlab and Hyperterminal?

We have observed some strange behavior of the built in PC Com ports sometimes.

It worked better when we used USB-Serial adapters.

 

Have a nice synthesis

   Eilert

 

0 Kudos
tech2012
Contributor
Contributor
6,571 Views
Registered: ‎07-07-2012

Hi  Eilert,

Thanks for reply.

Yes I am using the same host PC for Matlab and Hyperterminal. My design work priefly is build the project in XPS and after generat and download the bitstream to FPGA, I used COM1 for send image data from MATLAB to FPGA. Then after some processing, I want to dislay the result on  a Hyperterminal window using COM2.

I connect j62 and J63 between 2-3  USB Host according to p.12 of the board schematic but still the serial COM does not work as I need.

Please, are there any more steps should be done to do this work?

Also I used a USB-Serial adapters connected to my PC.

 

Thanks alot

0 Kudos
eilert
Teacher
Teacher
6,563 Views
Registered: ‎08-14-2007

hi,

so why are you using the USB-serial lines?

These go to the cypress chip.

 

You should set the jumpers between 1-2 to connect COM2 on J61 to FPGA_Serial2.

 

Another question:

If you got Matlab so far as to send image data to the FPGA, why don't you use it for receiving the result too.

Matlab will be able to show the result as well, whatever it may be, while HT is limited to text.

Or do you have concurrent input and outputs?

 

Have a nice synthesis

  Eilert

 

0 Kudos