You are not logged in.

#26 2017-11-13 05:33:24

Shahin
Administrator
Registered: 2016-02-17
Posts: 1,834

Re: Support for a SPI TFT 2.4'' screen

I pushed another update, hopefully it will solve the issue. It supports 16bit (5-6-5) channel. But still puzzled why on datasheet it mentioned 18bit for LCD.

Offline

#27 2017-11-13 11:09:28

tekatom
Member
From: Wadowice / Poland
Registered: 2017-11-07
Posts: 16
Website

Re: Support for a SPI TFT 2.4'' screen

Shahin, now the framebuffer works properly
See:
IMG_0094.jpg
IMG_0093.jpg

But still there's an issue when printing process starts and when using /dev/fb1 or /dev/fb0. Printing is stops after displaying first slice. It's only a fast blink, then screen goes black. I've no idea why...  I must add, the picture that blinks seems to be correct.

See:

Notice	1	2017-11-13 10:57:44.695184	Printing	Job Completed
Debug	1	2017-11-13 10:57:44.694706	Pulsing	Movement Finished Pulse 3016 / 3016 ; Height -349 / 2667 ; Time 3.882037085
Debug	1	2017-11-13 10:57:40.812093	Pulsing	Moving Down 3016 pulses 11.31 mm
Debug	1	2017-11-13 10:57:40.811823	Pulsing	Moving to Stop Position
Debug	1	2017-11-13 10:57:40.811458	Pulsing	Movement Finished Pulse 1333 / 1333 ; Height 984 / -349 ; Time 1.709723218
Debug	1	2017-11-13 10:57:39.101332	Pulsing	Moving Up 1333 pulses 4.99875 mm
Debug	1	2017-11-13 10:57:39.099076	Shutter	Shutter Close
Warning	1	2017-11-13 10:57:39.098863	Printing	Stop Command Received
Debug	1	2017-11-13 10:57:39.098429	Shutter	Shutter Close
Debug	1	2017-11-13 10:57:39.095425	Image	Clear screen
Error	1	2017-11-13 10:57:39.095025	Printing	Failed to send image to GPU - Err Code 0
Error	1	2017-11-13 10:57:38.393501	Image	Failure to display image, retrying.
Warning	1	2017-11-13 10:57:37.45022	Image	Display layer public/plates/1/1.png
Debug	1	2017-11-13 10:57:34.448965	Shutter	Shutter Open
Debug	1	2017-11-13 10:57:34.448355	Pulsing	Movement Finished Pulse 1683 / 1683 ; Height 2667 / 984 ; Time 2.46488648
Debug	1	2017-11-13 10:57:31.982785	Pulsing	Moving Up 1683 pulses 6.31125 mm
Debug	1	2017-11-13 10:57:31.982007	Pulsing	Moving to Layer
Debug	1	2017-11-13 10:57:31.981124	Shutter	Shutter Close
Debug	1	2017-11-13 10:57:31.978099	Image	Clear screen
Debug	1	2017-11-13 10:56:33.118158	WiFi	Status Monitoring
Error	1	2017-11-13 10:56:33.116558	WIFI	No WIFI dongle has been found.
Error	1	2017-11-13 10:56:32.804954	Framebuffer	Unsupported framebuffer length. Custom channel implementation will be used. 16 {0 5 0} 5 6 5
Notice	1	2017-11-13 10:56:32.775402	Terminal	Terminal Reader Activated
Debug	1	2017-11-13 10:56:32.774651	Shutter	Shutter Close
Debug	1	2017-11-13 10:56:32.77431	Hardware	Stepper motor enabled
Notice	1	2017-11-13 10:56:32.741309	Hardware	Initializing build # 1723 - generic 

When not using framebuffer, process goes without jam

(nanoDLP build 1723)

Last edited by tekatom (2017-11-13 14:32:30)

Offline

#28 2017-11-13 21:04:58

Shahin
Administrator
Registered: 2016-02-17
Posts: 1,834

Re: Support for a SPI TFT 2.4'' screen

Fixed.

Offline

#29 2017-11-13 22:55:20

tekatom
Member
From: Wadowice / Poland
Registered: 2017-11-07
Posts: 16
Website

Re: Support for a SPI TFT 2.4'' screen

Marvelous.
Now the printing process goes smooth. (nanoDLP build 1725)
I'll prepare informations how to connect and use SPI TFTs with your software and will put them somewhere here. It should be useful for other makers, I think.

Thank you for your time and effort. Good job!

Last edited by tekatom (2017-11-13 23:03:08)

Offline

#30 2017-11-14 04:12:30

Shahin
Administrator
Registered: 2016-02-17
Posts: 1,834

Re: Support for a SPI TFT 2.4'' screen

Thank you for the effort.

Offline

Board footer

Powered by FluxBB