Search found 57 matches

by Y@@J
Mon Dec 28, 2020 9:53 pm
Forum: General discussion
Topic: emulating a OLED display on a VGA and/or a LCD monitor
Replies: 64
Views: 31836

Re: emulating a OLED display on a VGA and/or a LCD monitor

Added a timeout functionality in the reveive function. micros() or similar function is not usable with TVOut. TVOut has its own millis(), but its granularity is far too coarse (16 to 20ms depending on NTSC or PAL). A simple counter does it. (if the STM32 wasn't responding for whatever reason, TVOut ...
by Y@@J
Sun Dec 27, 2020 10:10 pm
Forum: General discussion
Topic: emulating a OLED display on a VGA and/or a LCD monitor
Replies: 64
Views: 31836

Re: emulating a OLED display on a VGA and/or a LCD monitor

There's no need for a FPGA. The OLED *IS* emulated. I have a working project. I could route a PCB right now. I can move motors, display temperatures, play with the auto-leveling device and so on, just using the emulated display. It even reproduces the marlin glitches (there are some). Less than 200 ...
by Y@@J
Sun Dec 27, 2020 6:29 pm
Forum: General discussion
Topic: emulating a OLED display on a VGA and/or a LCD monitor
Replies: 64
Views: 31836

Re: emulating a OLED display on a VGA and/or a LCD monitor

Bakisha Works fine, and it is around 50-60 fps. Timings are as you wrote. Was super lucky delayMicroseconds(1) worked immediately !!! Don't you think so ? I don't know on the LCD side. But what I can say is TVOut goes crazy if data transfer takes too long or too short. Data are transfered within th...
by Y@@J
Sun Dec 27, 2020 6:16 pm
Forum: General discussion
Topic: emulating a OLED display on a VGA and/or a LCD monitor
Replies: 64
Views: 31836

Re: emulating a OLED display on a VGA and/or a LCD monitor

This is not really completed. I used a SPI OLED with *VERY* simple and obvious protocol and data formatting. But it isn't the most common, and it needs a hack : it is not natively supported by Marlin. See here : https://reprap.org/forum/read.php?415,879480,879480#msg-879480 where I answered to someo...
by Y@@J
Sun Dec 27, 2020 12:00 pm
Forum: General discussion
Topic: emulating a OLED display on a VGA and/or a LCD monitor
Replies: 64
Views: 31836

Re: emulating a OLED display on a VGA and/or a LCD monitor

Now I can read the links : @feluga : for this application, timer based parallel data reading was not usable on the Nano, as they are in use for the video signal. Also, no interruption is allowed. It is just polled, waiting for CLK falling edges, everytime the beam is returning to (0,0). No timers, n...
by Y@@J
Sun Dec 27, 2020 3:00 am
Forum: General discussion
Topic: emulating a OLED display on a VGA and/or a LCD monitor
Replies: 64
Views: 31836

Re: Looking for a suitable SPI slave example/tutorial

Problems are now solved. It's alive and usable !
Thank you guys !

https://youtu.be/R5ec8EIZus8
by Y@@J
Sat Dec 26, 2020 2:34 pm
Forum: General discussion
Topic: emulating a OLED display on a VGA and/or a LCD monitor
Replies: 64
Views: 31836

Re: BluePill as I²C slave with Roger's Core

Of course, I'm aware of the BlueVGA project. It is not suitable because it outputs 640x480, and the display I'm using does recognize 800x600 only : https://www.stm32duino.com/viewtopic.php?f=47&t=815&start=30 ; lots of assembly and very low level coding involved. The two threads should be me...
by Y@@J
Sat Dec 26, 2020 3:23 am
Forum: General discussion
Topic: emulating a OLED display on a VGA and/or a LCD monitor
Replies: 64
Views: 31836

Re: BluePill as I²C slave with Roger's Core

Thanks for the links, I will read ASAP, but I am unable to code that in asm. All I did with asm was coding in C, then generating asm, and doing some basic optimisation. Nothing more, and very long ago for x86 ! Learning how to do this, or learning how to do it with a RasPi, the RasPi is definitely t...
by Y@@J
Thu Dec 24, 2020 5:10 pm
Forum: General discussion
Topic: emulating a OLED display on a VGA and/or a LCD monitor
Replies: 64
Views: 31836

Re: BluePill as I²C slave with Roger's Core

The STM32 does not receive parallel data. It sends them to a Nano that acts as a video adapter. The STM32 receives display data over SPI from a 3D printer board. The data are decoded, formated, and sent to a Nano running the TVOut library, and then are displayed on a LCD touchscreen shared with Octo...
by Y@@J
Wed Dec 23, 2020 10:09 pm
Forum: General discussion
Topic: emulating a OLED display on a VGA and/or a LCD monitor
Replies: 64
Views: 31836

Re: BluePill as I²C slave with Roger's Core

This what I'm doing : - parallel (8bit) - when the client is ready to receive video data (V-Sync), it sends a request to the master - the master activates a line asking for data (data send request) - the client acitvates a line while transmmitting a frame - it also generates a clock, high for every ...

Go to advanced search