- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello. I have a problem between UART and SRAM.
I have top module, Controller SRAM, UART module and other components.
When I sent 1 byte data from PC to FPGA to save to SRAM. The data is not saved immediately, but after 3-6 clicks, send it to SRAM.
I think the data is sampled then sent via UART and stored in the 8 bit register but SRAM reads the data in CLOCK pulse. And it is problem.
Can you help me?
Thanks so much and Best regards!
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I receive data via UART from my computer by oversampling scheme to estimate the middle points of transmitted bits and then retrieve them at these points accordingly.
So I can't measure the number of clock needed to write into memory since no clock infomation.
My SRAM Controller can read/write data according to enable clock.
I don't know how to sync between UART and SRAM.
And i only use Verilog HDL.
I need high frequency to be able to control the axis of cnc machine. Embedded system can satisfy high frequency?
You have any ideas?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What is the structure of your design? Do you use Nios for it, or pure HDL with state machines?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I only use Verilog HDL. I need fast processing speed.
My UART Controller can store data into the register. Now, I want transfer data into the SRAM.
Can i store data directly into the SRAM or register then save to SRAM.
You have any ideas?
Thanks so much!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page