Hi again,
I am working with the Virtex 4 FX 12LC Development Kit and want to implement a very simple program.
I want to read a signal from RS 232 interface and give a second signal out to the RS 232 interface.
I wrote a Impulse C program with an input stream from a file and a output stream to a file. Furthermore I configured my target with EDK 11.1 .
I had a look at mandelbrot tutorial where a signal is given to a TFT Monitor, but it didn't help me for the RS 232 interface.
I would be very grateful for each answere.
Thanks,
Ramona
Read input from RS232
Started by ramonal, Jun 30 2009 01:32 PM
1 reply to this topic
#1
Posted 30 June 2009 - 01:32 PM
#2
Posted 30 June 2009 - 06:30 PM
Hi Ramona,
Are you trying to interface an Impulse C co_stream to RS-232? Just the signals themselves or the full RS-232 serial protocol? Either way if you're looking to connect directly at the signals you're going to need to do some HDL for the interface to the exposed co_stream signals (see documentation on co_port for how to do this).
Assuming you're after RS-232 serial, probably the two best ways to do it in an FX12 are:
1) Use the PowerPC pass data between a UART block (such as xps_uartlite) and co_streams connected to the PLBv46 or APU. This method won't require HDL work and EDK and CoDeveloper has all the drivers necessary.
2) Not using the PowerPC will still require a UART which is best to just use an existing pcore and figure out where to connect to its internal data FIFO - the co_stream HDL interface is very FIFO friendly. Something like the xps_uartlite would probably be simple enough to disconnect from the PLB because it is primarily configured at compile-time and it contains a FIFO to buffer data in and out.
Best Regards,
Ed
Are you trying to interface an Impulse C co_stream to RS-232? Just the signals themselves or the full RS-232 serial protocol? Either way if you're looking to connect directly at the signals you're going to need to do some HDL for the interface to the exposed co_stream signals (see documentation on co_port for how to do this).
Assuming you're after RS-232 serial, probably the two best ways to do it in an FX12 are:
1) Use the PowerPC pass data between a UART block (such as xps_uartlite) and co_streams connected to the PLBv46 or APU. This method won't require HDL work and EDK and CoDeveloper has all the drivers necessary.
2) Not using the PowerPC will still require a UART which is best to just use an existing pcore and figure out where to connect to its internal data FIFO - the co_stream HDL interface is very FIFO friendly. Something like the xps_uartlite would probably be simple enough to disconnect from the PLB because it is primarily configured at compile-time and it contains a FIFO to buffer data in and out.
Best Regards,
Ed
Ed Trexel
Impulse Accelerated Technologies, Inc.
Impulse Accelerated Technologies, Inc.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users












