initializing oled display using vhdl

OP #5442384
Rate this post
• ▲ useful
▼ not useful
HI!

I'm trying to use a LCD project in my own project but i dont really 
understand this project especially with the counters and timers

I have uploaded the file and the datasheet for the oled_display!

I hope I can get a clarification for this
Attached files:
Moderator (Company: Titel) #5443414
Rate this post
• ▲ useful
▼ not useful
Alex H. wrote:
> i dont really understand this project especially with the counters and
> timers
What about doing a simulation of that design and analyze its behaviour? 
The only thing your testbench must supply is a clock and the reset.

By looking at the code i see something like that:
1
    if rising_edge(clk) and cnt < 1000000 then
2
      cnt <= cnt + 1;
3
    elsif rising_edge(clk) and cnt = 1000000 then
And by seeing that I urge you to take that display control code more as 
a "how-not-to" example...

> I have uploaded the file and the datasheet for the oled_display!
Thats obviously a straight forward HD44780 compatible interface. You can 
find lots of code for controlling such displays.
By comparing the simulation results to the data sheet I see some 
potential to improve timings...


BTW: when attaching *.vhdl files instead of *.txt files some kind of 
magic named "syntax highlighting" happens.
Attached files:
Guest #5443451
Rate this post
• ▲ useful
▼ not useful
Please ask specific questions.

Generic questions like yours will lead in consequence either to us doing 
it for you or explaining you the whole thing. This is not considered the 
purpose of that forum.

Thank you.

Reply

Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.

Formatting
  • [c]C-Code[/c]
  • [vhdl]VHDL-Code[/vhdl]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]
  • [[Title]] – link to an article
  • Link to another post: right-click its post ID (#8078628), copy the address, paste it into the text

More about formatting

Post long source code as an attachment, not in the text.

Already registered? Log in

Not shown to anyone. We send you a link; your post appears once you confirm it there.

By submitting you create a free account and accept the terms of use.