EmbDev.net

Forum: FPGA, VHDL & Verilog VHDL UART how to handle incoming bytes?


Author: Macellan M. (Company: ITU) (macellan)
Posted on:
Attached files:

Rate this post
0 useful
not useful
Hi,

I'm trying to build a counter design using VHDL and having trouble about 
UART RX link.

I want to transmit some commands from computer like start, stop, reset 
and counting period. However, using case statement I could't succeed to 
process my commands. Because after sending period info when I send start 
command, period turns to another value. I expect it to stay the same 
since I didn't send any command regarding to period.

Thus I'm thinking, this is not the correct way to handle incoming bytes. 
Then the question is how it must be? What kind of a structure I must 
construct?

p.s If you would like to see, I have also uploaded related design files.

Any idea is appreciated...
Thanks in advance

: Moved by Moderator

Reply

Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [vhdl]VHDL code[/vhdl]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]




Bild automatisch verkleinern, falls nötig