- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi,
i am using an cyclone 5 soc development kit. i programmed fpga and design is running fine. my result is storing in an 45 bit register in fpga @ of 200 hz. i need to transfer these values to my pc. ( i am using quartus) so i decided to use an rs232 uart from quartus & embedded command shell as software in pc. but problem is there is no user manual for this rs 232 ip.so can anybody please help me on this, how to use this rs-2332 ip (any document or demo program )? any help is really appriciated :)// unnamed.v
// Generated using ACDS version 16.0 211
`timescale 1 ps / 1 ps
module unnamed (
input wire address, // avalon_rs232_slave.address
input wire chipselect, // .chipselect
input wire byteenable, // .byteenable
input wire read, // .read
input wire write, // .write
input wire writedata, // .writedata
output wire readdata, // .readdata
input wire clk, // clk.clk
input wire UART_RXD, // external_interface.RXD
output wire UART_TXD, // .TXD
output wire irq, // interrupt.irq
input wire reset // reset.reset
);
unnamed_rs232_0 rs232_0 (
.clk (clk), // clk.clk
.reset (reset), // reset.reset
.address (address), // avalon_rs232_slave.address
.chipselect (chipselect), // .chipselect
.byteenable (byteenable), // .byteenable
.read (read), // .read
.write (write), // .write
.writedata (writedata), // .writedata
.readdata (readdata), // .readdata
.irq (irq), // interrupt.irq
.UART_RXD (UART_RXD), // external_interface.export
.UART_TXD (UART_TXD) // .export
);
endmodule
above one is the uart ip module, in this they didnt provide any information regarding all signals lke chipselect,byteenable,read,write.... one more doubt is :: is this the correct way of doing this? inside my fpga there is arm processor. anybody here knows how to do this please share some information about it :) thanks and regards
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
The blocks you are using are intended for Nios-II. That is a hard or soft processor that can be implemented on the FPGA. ftp://ftp.altera.com/up/pub/intel_material/16.1/university_program_ip_cores/communication/rs232.pdf explains in more detail how to do rs 232C with these blocks. Best Regards, John.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page