![]() |
Forum Index : Microcontroller and PC projects : Calling matherp - driver for this LCD?
![]() ![]() ![]() ![]() |
|||||
Author | Message | ||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10067 |
The R61505V is definitely not compatible with the ILI9325 although it is similar. Please could you try this code. It has a different initialisation sequence which MAY???? work with the R61505V. Please report findings. sub mm.startup R61505V_V64(PEEK(CFUNADDR R61505V_V64),4) end sub '**********Append this code and below onto the end of your MMBasic program*********** ' ' Copyright (c) Peter Mather 2015 ' ' Initialise the Display Driver for R61505V controlled TFT LCD Panel in 8-bit databus, 16-bit mode ' i.e. RGB565. ' ' Display.Open initialises the loadable CFunction driver so that you can use all of the ' MMBasic graphic commands in your program. ' ' Orient% PORTRAIT=0,RPORTRAIT=1,LANDSCAPE=2,RLANDSCAPE=3 ' RST% is pin number of Reset signal ' ' After Calling Display.Open, any of the usual MM Graphic commands may be used ' in your MMBasic program, eg BOX, TEXT, LINE, CIRCLE etc ' ' Use the standard Micromite+ LCD pins ' Tie CS Low and tie RD high ' ' Ver 1.02 2015-08-19 Initial Release ' Ver 1.03 2015-12-21 Swap parameters for compatibility with 64-pin code ' Beta 1.04 2015-12-27 Initialisation for R61505V controller ' '********************************************************************************** ' File R61505V_V64.bas written 27-Dec-2015 17:37:02 ' CSUB R61505V_V64 00000021 'writeRegister 3C02BF88 24031000 AC436134 00041A02 306302FF 34630800 AC436430 24030800 AC436134 AC436138 308402FF 34840800 AC446430 AC436134 AC436138 2402FFFF 10A2000E 3C02BF88 24031000 AC436138 7CA34A00 34631800 AC436430 24030800 AC436134 AC436138 30A503FF 34A51800 AC456430 AC436134 AC436138 03E00008 00000000 'main 27BDFFB0 AFBF004C AFB40048 AFB30044 AFB20040 AFB1003C AFB00038 0080A021 3C029D00 8C430090 8CA40000 A0640015 8C420090 2403001C A043002E 2402003C AFA20018 2402003D AFA2001C 2402003E AFA20020 2402003F AFA20024 24020040 AFA20028 24020001 AFA2002C 24020002 AFA20030 24020003 AFA20034 27B20018 27B30038 3C109D00 8E510000 8E020010 02202021 24050008 0040F809 00003021 8E020010 02202021 24050065 0040F809 00003021 8E02001C 02202021 0040F809 24050005 26520004 5653FFF0 8E510000 3C109D00 8E020010 2404001B 24050008 0040F809 00003021 8E020010 2404001B 24050065 0040F809 00003021 3C11BF88 24021000 AE226138 8E020010 24040018 24050008 0040F809 00003021 8E020010 24040018 24050065 0040F809 00003021 24020800 AE226138 8E030090 8E020010 8064002E 24050008 0040F809 00003021 8E030090 8E020010 8064002E 24050065 0040F809 00003021 8E030090 8E02001C 8064002E 0040F809 24050006 3C029D00 24420084 3C129D00 265208EC 0242182B 10600004 02429023 8E830000 10000003 02439021 8E830000 02439021 3C119D00 26310A38 0222182B 10600004 02228823 8E830000 10000003 02238821 8E830000 02238821 3C109D00 8E030090 8E02001C 8064002E 0040F809 24050006 8E020004 0040F809 3404C350 8E030090 8E02001C 8064002E 0040F809 24050005 8E020004 0040F809 3404C350 8E030090 8E02001C 8064002E 0040F809 24050006 8E020004 0040F809 3404C350 240400E5 34058000 0411FF4E 00000000 00002021 24050001 0411FF4A 00000000 24040001 24050100 0411FF46 00000000 24040002 00002821 0411FF42 00000000 24040003 24051030 0411FF3E 00000000 24040004 00002821 0411FF3A 00000000 24040008 24050202 0411FF36 00000000 24040009 2405002F 0411FF32 00000000 2404000A 00002821 0411FF2E 00000000 2404000C 00002821 0411FF2A 00000000 2404000D 00002821 0411FF26 00000000 2404000F 00002821 0411FF22 00000000 24040010 00002821 0411FF1E 00000000 24040011 24050007 0411FF1A 00000000 24040012 00002821 0411FF16 00000000 24040013 00002821 0411FF12 00000000 8E020004 0040F809 3404C350 24040010 24050730 0411FF0B 00000000 24040011 24050007 0411FF07 00000000 8E020004 0040F809 24042710 24040012 24050138 0411FF00 00000000 8E020004 0040F809 24042710 24040013 24051A00 0411FEF9 00000000 24040029 2405000C 0411FEF5 00000000 8E020004 0040F809 24042710 24040030 00002821 0411FEEE 00000000 24040031 24050505 0411FEEA 00000000 24040032 24050004 0411FEE6 00000000 24040035 24050006 0411FEE2 00000000 24040036 24050707 0411FEDE 00000000 24040037 24050105 0411FEDA 00000000 24040038 24050002 0411FED6 00000000 24040039 24050707 0411FED2 00000000 2404003C 24050704 0411FECE 00000000 2404003D 24050807 0411FECA 00000000 24040050 00002821 0411FEC6 00000000 24040051 240500EF 0411FEC2 00000000 24040052 00002821 0411FEBE 00000000 24040053 2405013F 0411FEBA 00000000 24040060 24052700 0411FEB6 00000000 24040061 24050001 0411FEB2 00000000 2404006A 00002821 0411FEAE 00000000 24040021 00002821 0411FEAA 00000000 24040020 00002821 0411FEA6 00000000 24040080 00002821 0411FEA2 00000000 24040081 00002821 0411FE9E 00000000 24040082 00002821 0411FE9A 00000000 24040083 00002821 0411FE96 00000000 24040084 00002821 0411FE92 00000000 24040085 00002821 0411FE8E 00000000 24040090 24050010 0411FE8A 00000000 24040092 00002821 0411FE86 00000000 24040093 24050003 0411FE82 00000000 24040095 24050110 0411FE7E 00000000 24040097 00002821 0411FE7A 00000000 24040098 00002821 0411FE76 00000000 24040007 24050173 0411FE72 00000000 8E020004 0040F809 3404C350 8E020090 80420015 24030002 10430008 24030004 1043000A 24051000 24030001 10430007 24051028 10000002 24050008 24051030 38420003 24031018 0062280A 24040003 0411FE5C 00000000 3C029D00 8C420090 90420015 30420001 10400008 3C029D00 8C430098 240400F0 AC640000 8C420094 24030140 10000007 AC430000 8C430094 240400F0 AC640000 8C420098 24030140 AC430000 3C109D00 8E020048 AC520000 8E020048 8E030094 8C660000 8E030098 8C670000 AFA00010 8C420000 00002021 00002821 24C6FFFF 0040F809 24E7FFFF 8E02004C AC510000 00001021 00001821 8FBF004C 8FB40048 8FB30044 8FB20040 8FB1003C 8FB00038 03E00008 27BD0050 'defineregion 27BDFFD8 AFBF0024 AFB40020 AFB3001C AFB20018 AFB10014 AFB00010 2483FFFF 00661821 24A6FFFF 00C73021 3C099D00 8D270094 8CE80000 8D270098 8CE90000 0109382B 10E00003 01205021 01005021 01204021 3C079D00 8CE70090 80E90015 24070002 15270008 24070004 00809821 00608821 00A0A021 00C08021 00A09021 10000019 00801021 1527000C 24070001 00031827 006A9821 00048827 022A8821 00063027 00C8A021 00058027 02088021 02009021 10000016 02201021 1527000B 24070003 00063027 00CA9821 00058827 022A8821 0080A021 00608021 00809021 1000000B 02201021 24070003 15270008 00031827 00A09821 00C08821 0068A021 00048027 02088021 02009021 00A01021 24040020 00402821 0411FDE6 00000000 24040021 02402821 0411FDE2 00000000 24040050 02602821 0411FDDE 00000000 24040052 02802821 0411FDDA 00000000 24040051 02202821 0411FDD6 00000000 24040053 02002821 0411FDD2 00000000 24040022 2405FFFF 0411FDCE 00000000 8FBF0024 8FB40020 8FB3001C 8FB20018 8FB10014 8FB00010 03E00008 27BD0028 'DrawRectangle_ILI9325 27BDFFE0 AFBF001C AFB10018 AFB00014 0086102A 14400004 8FB00030 00801021 00C02021 00403021 00A7102A 14400005 28820000 00A01021 00E02821 00403821 28820000 0002200B 3C029D00 8C420094 8C420000 0082402B 2443FFFF 0068200A 28C30000 0003300B 00C2182B 2442FFFF 0043300A 28A20000 0002280B 3C029D00 8C420098 8C430000 00A3402B 2462FFFF 0048280A 28E20000 0002380B 00E01021 00E3382B 2463FFFF 0067100A 24070001 00E41823 00663021 00E53823 00E23821 70E68802 0411FF66 00000000 24031000 3C02BF88 AC436138 00102403 308400F8 7E021340 00822025 34841800 00101143 304200E0 7E1020C0 00508025 1220000E 36101800 2631FFFF 3C02BF88 24030800 2405FFFF AC446430 AC436134 AC436138 AC506430 AC436134 AC436138 2631FFFF 1625FFF8 00000000 8FBF001C 8FB10018 8FB00014 03E00008 27BD0020 'DrawBitmap_ILI9325 27BDFFB0 AFBF004C AFBE0048 AFB70044 AFB60040 AFB5003C AFB40038 AFB30034 AFB20030 AFB1002C AFB00028 AFA40050 00A0F021 00C09021 AFA7005C 8FB00060 8FA30064 8FA20068 8FB3006C 3C069D00 8CC70094 8CF10000 8CC60098 8CC60000 AFA60010 0003BC03 32F700F8 7C661340 02E6B825 36F71800 0003B143 32D600E0 7C6320C0 02C3B025 36D61800 0002AC03 32B500F8 7C431340 02A3A825 36B51800 0002A143 329400E0 7C4220C0 0282A025 36941800 72123002 8FA2005C 72023802 0411FF14 00000000 24031000 3C02BF88 AC436138 8FA3005C 1860005B 02007821 AFBE0014 00121023 AFA2001C 7072F002 27DEFFFF AFB20020 00007021 AFA00018 24180001 3C05BF88 1000004B 24060800 04400019 0051202B 50800018 24630001 05220016 24630001 51600014 24630001 91A40000 008C2024 10800009 00000000 ACB76430 ACA66134 ACA66138 ACB66430 ACA66134 ACA66138 10000008 24630001 ACB56430 ACA66134 ACA66138 ACB46430 ACA66134 ACA66138 24630001 1470FFE4 24420001 24E70001 2508FFFF 10F20010 014F5021 00EE1021 24430007 284D0000 006D100B 000268C3 026D6821 000817C3 00021742 01026021 318C0007 01826023 01986004 01401021 1000FFD1 00001821 27390001 17300004 25290001 10000009 8FA30018 0000C821 1A40FFF9 8FAA0050 03C04021 00003821 8FA20010 1000FFE5 0122582B 24630001 AFA30018 8FA20014 004F1021 AFA20014 8FA3001C 03C3F021 8FA20020 01C27021 8FA30018 8FA2005C 10620006 8FBF004C 1E00FFEA 8FA90014 1000FFF0 8FA30018 8FBF004C 8FBE0048 8FB70044 8FB60040 8FB5003C 8FB40038 8FB30034 8FB20030 8FB1002C 8FB00028 03E00008 27BD0050 End CSUB |
||||
kiiid Guru ![]() Joined: 11/05/2013 Location: United KingdomPosts: 671 |
Nothing again, unfortunately ![]() ![]() http://rittle.org -------------- |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10067 |
Have you a scope to check that all the control and data lines are correct and waggling? All wiring must be as per SSD1963 for the 64-pin MM+ RESET - single low pulse at initialisation then high RD- high CS - Low WR - very fast negative pulses RS - low and high with slower timing than WR DB0-DB7 all showing movement IOVCC and VCC = 3V If you can find/check them IM3-0 should be 0b0011 The new initialisation sequence is taken from code that is purportedly working for the R61505V so should at least blank the display ready for use |
||||
jman![]() Guru ![]() Joined: 12/06/2011 Location: New ZealandPosts: 711 |
Hi Peter I have tried the ordinal code you posted for the UM44 and it works Moved to the MM+ 64 pin and followed the wiring as per the MM+ manual but now the display does not initialize ie grey screen No errors when loading the driver or when using LCD commands If I use the LCD commands with out the driver I get an error LCD not initialized Any idea were to start looking ? done all the obvious stuff connections power etc... Regards Jman |
||||
Zonker![]() Guru ![]() Joined: 18/08/2012 Location: United StatesPosts: 767 |
@kiiid Was looking a your round display Pix above... What kind of PCB is the display connected to..? I was wanting to order some of round R61505V based modules from Ebay, But it looks like you have one mounted to a PCB with some kind of plastic mounting frame for the display.. Is this your creation..? Looks like a SD card connector and other parts there... Just wondering... I was hoping you got the new driver from Matherp running OK.... @Matherp.. Does the Ebay selection I have look like a correct choice for the round unit you are creating the driver for..? If so, I will get 2 of them ordered of testing... I want to create a Rs-485 slave display using the rounder with your awesome Gauge display code to create a small single PCB that fits inside an "old school" aircraft round 3" gauge case... Hope this all works..! ![]() ![]() I will keep a keen eye on this thread... Thanks for all the fine effort being applied Gents..!! |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10067 |
Are you running 4.7b37? Just tested again on a new install and it works fine for me. Try a low clock speed if no joy (30MHz). Kiiid: You could also try a very low clock speed (30MHz) on the R61505V Note: in both case you will need to rename mm.startup to something else and run it manually after reset and changing the clock speed to load the driver |
||||
jman![]() Guru ![]() Joined: 12/06/2011 Location: New ZealandPosts: 711 |
Yes I slowed it down and success at CPU 60 it works (Yippee) at CPU 80 or above no go with CPU 80 the LCD does initialise but the display is all garbled. So it seems the LCD is SLOW :( Regards Jman |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10067 |
Try this version. I've added some wait states so it should (may???) now run at normal clock speeds. It must be marginal as my test system works fine at 100MHz but I've got a hard wired PCB connection to the display. Kiiid: If the R61505V version works with the clock turned down I can do the same for that. sub mm.startup ILI9325_V64(PEEK(CFUNADDR ILI9325_V64),4) end sub '**********Append this code and below onto the end of your MMBasic program*********** ' ' Copyright (c) Peter Mather 2015 ' ' Initialise the Display Driver for ILI9325 controlled TFT LCD Panel in 8-bit databus, 16-bit mode ' i.e. RGB565. This is optimised for the 44-pin uM2 and uses defined pinout except for the reset pin ' NOTE For this display in 8-bit mode you must connect to DB8-DB15 and not DB0 to DB7 ' ' Display.Open initialises the loadable CFunction driver so that you can use all of the ' MMBasic graphic commands in your program. ' ' Orient% PORTRAIT=0,RPORTRAIT=1,LANDSCAPE=2,RLANDSCAPE=3 ' RST% is pin number of Reset signal ' ' After Calling Display.Open, any of the usual MM Graphic commands may be used ' in your MMBasic program, eg BOX, TEXT, LINE, CIRCLE etc ' ' Note: you must use pins 25,26,27,36,37,38,2,3 for the data pins DB8-DB15 ' you must use pin 4 for RS and pin 5 for WR ' Tie CS Low and tie RD high ' ' Ver 1.02 2015-08-19 Initial Release ' Ver 1.03 2015-12-21 Swap parameters for compatibility with 64-pin code ' Ver 1.04 2015-12-28 Additional wait states for 64-pin code ' '********************************************************************************** ' File ILI9325_V64.bas written 21-Dec-2015 11:56:02 ' CSUB ILI9325_V64 0000002D 'writeRegister 3C02BF88 24031000 AC436134 3C03BF81 8C66F220 00043202 30C602FF 34C60800 AC466430 24060800 AC466134 8C67F220 AC466138 8C67F220 308402FF 34840800 AC446430 AC466134 8C64F220 AC466138 8C62F220 2402FFFF 10A20014 3C02BF88 24031000 AC436138 3C03BF81 8C64F220 7CA44A00 34841800 AC446430 24040800 AC446134 8C66F220 AC446138 8C66F220 30A503FF 34A51800 AC456430 AC446134 8C65F220 AC446138 8C62F220 03E00008 00000000 'main 27BDFFB0 AFBF004C AFB40048 AFB30044 AFB20040 AFB1003C AFB00038 0080A021 3C029D00 8C430090 8CA40000 A0640015 8C420090 2403001C A043002E 2402003C AFA20018 2402003D AFA2001C 2402003E AFA20020 2402003F AFA20024 24020040 AFA20028 24020001 AFA2002C 24020002 AFA20030 24020003 AFA20034 27B20018 27B30038 3C109D00 8E510000 8E020010 02202021 24050008 0040F809 00003021 8E020010 02202021 24050065 0040F809 00003021 8E02001C 02202021 0040F809 24050005 26520004 5653FFF0 8E510000 3C109D00 8E020010 2404001B 24050008 0040F809 00003021 8E020010 2404001B 24050065 0040F809 00003021 3C11BF88 24021000 AE226138 3C12BF81 8E42F220 8E020010 24040018 24050008 0040F809 00003021 8E020010 24040018 24050065 0040F809 00003021 24020800 AE226138 8E42F220 8E030090 8E020010 8064002E 24050008 0040F809 00003021 8E030090 8E020010 8064002E 24050065 0040F809 00003021 8E030090 8E02001C 8064002E 0040F809 24050006 3C029D00 244200B4 3C129D00 265208EC 0242182B 10600004 02429023 8E830000 10000003 02439021 8E830000 02439021 3C119D00 26310A54 0222182B 10600004 02228823 8E830000 10000003 02238821 8E830000 02238821 3C109D00 8E030090 8E02001C 8064002E 0040F809 24050006 8E020004 0040F809 3404C350 8E030090 8E02001C 8064002E 0040F809 24050005 8E020004 0040F809 3404C350 8E030090 8E02001C 8064002E 0040F809 24050006 8E020004 0040F809 3404C350 240400E5 240578F0 0411FF3F 00000000 24040001 24050100 0411FF3B 00000000 24040002 24050700 0411FF37 00000000 24040003 24051030 0411FF33 00000000 24040004 00002821 0411FF2F 00000000 24040008 24050207 0411FF2B 00000000 24040009 00002821 0411FF27 00000000 2404000A 00002821 0411FF23 00000000 2404000C 00002821 0411FF1F 00000000 2404000D 00002821 0411FF1B 00000000 2404000F 00002821 0411FF17 00000000 24040010 00002821 0411FF13 00000000 24040011 24050007 0411FF0F 00000000 24040012 00002821 0411FF0B 00000000 24040013 00002821 0411FF07 00000000 24040007 24050001 0411FF03 00000000 8E020004 0040F809 3404C350 24040010 24051090 0411FEFC 00000000 24040011 24050227 0411FEF8 00000000 8E020004 0040F809 3404C350 24040012 2405001F 0411FEF1 00000000 8E020004 0040F809 3404C350 24040013 24051500 0411FEEA 00000000 24040029 24050027 0411FEE6 00000000 2404002B 2405000D 0411FEE2 00000000 8E020004 0040F809 3404C350 24040020 00002821 0411FEDB 00000000 24040021 00002821 0411FED7 00000000 24040030 00002821 0411FED3 00000000 24040031 24050707 0411FECF 00000000 24040032 24050307 0411FECB 00000000 24040035 24050200 0411FEC7 00000000 24040036 24050008 0411FEC3 00000000 24040037 24050004 0411FEBF 00000000 24040038 00002821 0411FEBB 00000000 24040039 24050707 0411FEB7 00000000 2404003C 24050002 0411FEB3 00000000 2404003D 24051D04 0411FEAF 00000000 24040050 00002821 0411FEAB 00000000 24040051 240500EF 0411FEA7 00000000 24040052 00002821 0411FEA3 00000000 24040053 2405013F 0411FE9F 00000000 24040060 3405A700 0411FE9B 00000000 24040061 24050001 0411FE97 00000000 2404006A 00002821 0411FE93 00000000 24040080 00002821 0411FE8F 00000000 24040081 00002821 0411FE8B 00000000 24040082 00002821 0411FE87 00000000 24040083 00002821 0411FE83 00000000 24040084 00002821 0411FE7F 00000000 24040085 00002821 0411FE7B 00000000 24040090 24050010 0411FE77 00000000 24040092 24050600 0411FE73 00000000 24040007 24050133 0411FE6F 00000000 8E020090 80420015 24030002 10430008 24030004 1043000A 24051000 24030001 10430007 24051028 10000002 24050008 24051030 38420003 24031018 0062280A 24040003 0411FE5C 00000000 3C029D00 8C420090 90420015 30420001 10400008 3C029D00 8C430098 240400F0 AC640000 8C420094 24030140 10000007 AC430000 8C430094 240400F0 AC640000 8C420098 24030140 AC430000 3C109D00 8E020048 AC520000 8E020048 8E030094 8C660000 8E030098 8C670000 AFA00010 8C420000 00002021 00002821 24C6FFFF 0040F809 24E7FFFF 8E02004C AC510000 00001021 00001821 8FBF004C 8FB40048 8FB30044 8FB20040 8FB1003C 8FB00038 03E00008 27BD0050 'defineregion 27BDFFD8 AFBF0024 AFB40020 AFB3001C AFB20018 AFB10014 AFB00010 2483FFFF 00661821 24A6FFFF 00C73021 3C099D00 8D270094 8CE80000 8D270098 8CE90000 0109382B 10E00003 01205021 01005021 01204021 3C079D00 8CE70090 80E90015 24070002 15270008 24070004 00809821 00608821 00A0A021 00C08021 00A09021 10000019 00801021 1527000C 24070001 00031827 006A9821 00048827 022A8821 00063027 00C8A021 00058027 02088021 02009021 10000016 02201021 1527000B 24070003 00063027 00CA9821 00058827 022A8821 0080A021 00608021 00809021 1000000B 02201021 24070003 15270008 00031827 00A09821 00C08821 0068A021 00048027 02088021 02009021 00A01021 24040020 00402821 0411FDE6 00000000 24040021 02402821 0411FDE2 00000000 24040050 02602821 0411FDDE 00000000 24040052 02802821 0411FDDA 00000000 24040051 02202821 0411FDD6 00000000 24040053 02002821 0411FDD2 00000000 24040022 2405FFFF 0411FDCE 00000000 8FBF0024 8FB40020 8FB3001C 8FB20018 8FB10014 8FB00010 03E00008 27BD0028 'DrawRectangle_ILI9325 27BDFFE0 AFBF001C AFB10018 AFB00014 0086102A 14400004 8FB00030 00801021 00C02021 00403021 00A7102A 14400005 28820000 00A01021 00E02821 00403821 28820000 0002200B 3C029D00 8C420094 8C420000 0082402B 2443FFFF 0068200A 28C30000 0003300B 00C2182B 2442FFFF 0043300A 28A20000 0002280B 3C029D00 8C420098 8C430000 00A3402B 2462FFFF 0048280A 28E20000 0002380B 00E01021 00E3382B 2463FFFF 0067100A 24070001 00E41823 00663021 00E53823 00E23821 70E68802 0411FF66 00000000 24031000 3C02BF88 AC436138 3C02BF81 8C42F220 00102C03 30A500F8 7E021340 00A22825 34A51800 00101143 304200E0 7E1020C0 00508025 12200013 36101800 2631FFFF 3C02BF88 24040800 3C03BF81 2406FFFF AC456430 AC446134 8C67F220 AC446138 8C67F220 AC506430 AC446134 8C67F220 AC446138 8C67F220 2631FFFF 1626FFF4 00000000 8FBF001C 8FB10018 8FB00014 03E00008 27BD0020 'DrawBitmap_ILI9325 27BDFFB0 AFBF004C AFBE0048 AFB70044 AFB60040 AFB5003C AFB40038 AFB30034 AFB20030 AFB1002C AFB00028 AFA40050 00A0F021 00C09021 AFA7005C 8FB00060 8FA30064 8FA20068 8FB3006C 3C069D00 8CC70094 8CF10000 8CC60098 8CC60000 AFA60014 0003BC03 32F700F8 7C661340 02E6B825 36F71800 0003B143 32D600E0 7C6320C0 02C3B025 36D61800 0002AC03 32B500F8 7C431340 02A3A825 36B51800 0002A143 329400E0 7C4220C0 0282A025 36941800 72123002 8FA2005C 72023802 0411FF0D 00000000 24031000 3C02BF88 AC436138 3C02BF81 8C42F220 8FA3005C 18600067 0200C021 AFBE0018 00121023 AFA20020 70721002 2442FFFF AFA20010 AFB20024 00007821 AFA0001C 24190001 3C05BF88 24070800 10000055 3C06BF81 04400021 0051202B 50800020 24630001 0542001E 24630001 5180001C 24630001 91C40000 008D2024 1080000D 00000000 ACB76430 ACA76134 8CC4F220 ACA76138 8CC4F220 ACB66430 ACA76134 8CC4F220 ACA76138 8CC4F220 1000000C 24630001 ACB56430 ACA76134 8CC4F220 ACA76138 8CC4F220 ACB46430 ACA76134 8CC4F220 ACA76138 8CC4F220 24630001 1470FFDC 24420001 25080001 2529FFFF 11120010 01785821 010F1021 24430007 284E0000 006E100B 000270C3 026E7021 000917C3 00021742 01226821 31AD0007 01A26823 01B96804 01601021 1000FFC9 00001821 27DE0001 17D00004 254A0001 10000009 8FA3001C 0000F021 1A40FFF9 8FAB0050 8FA90010 00004021 8FA20014 1000FFE5 0142602B 24630001 AFA3001C 8FA20018 00581021 AFA20018 8FA30010 8FA20020 00621821 AFA30010 8FA30024 01E37821 8FA2001C 8FA3005C 10430006 8FBF004C 1E00FFE8 8FAA0018 1000FFEE 8FA3001C 8FBF004C 8FBE0048 8FB70044 8FB60040 8FB5003C 8FB40038 8FB30034 8FB20030 8FB1002C 8FB00028 03E00008 27BD0050 End CSUB |
||||
kiiid Guru ![]() Joined: 11/05/2013 Location: United KingdomPosts: 671 |
What you see in the picture is a small board that I have designed for this display. It has a MM+, uSD, and a couple of other features. Since it is still in a very early stage, I can't announce any details yet. The LCD itself is a thin module with white plastic shell on the bottom, that's part of the module, not mine. http://rittle.org -------------- |
||||
jman![]() Guru ![]() Joined: 12/06/2011 Location: New ZealandPosts: 711 |
And the WINNER is Peter This now works like a charm Thank you for all the effort Regards Jman |
||||
Zonker![]() Guru ![]() Joined: 18/08/2012 Location: United StatesPosts: 767 |
@kiiid... Would you have the info and pin-outs of the round display..? Will be ordering a couple of these this weekend... Thanks in advance..!! |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10067 |
Zonker We haven't got a working driver for this yet. Kiiid is sending me a display to work with but code that should work isn't so you may want to hold off. There is very little evidence on Google that anyone is getting this display to work. |
||||
kiiid Guru ![]() Joined: 11/05/2013 Location: United KingdomPosts: 671 |
Finding enough information for these is not very easy... As @matherp says there is still no evidence that it will be possible to use them with a mite. Anyway, here is a datasheet for one of them. I assume they all are sharing the same pinout although made by different manufacturers. 2015-12-30_104914_TFT1P2477.pdf http://rittle.org -------------- |
||||
Zonker![]() Guru ![]() Joined: 18/08/2012 Location: United StatesPosts: 767 |
Ok.. Sorry Gent's, I thought the above driver was for the display and was now working... Guess I was confused... ![]() Will hold off for now... Thanks matherp for all your work on this..!! |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10067 |
Zonker The driver for the ILI9325 works on both 44-pin and 64-pin This driver is similar but not the same as the R61505V. I've produced a driver for this but it is not yet tested. It transpires there are two variants of the mounted display: the TFT1P2477 and the TFT1P4967 (both use the R61505V controller). These need different wiring. I think Kiid's board is wired for the TFT1P2477 but the one he sent me has a TFT1P4967 mounted which I don't think can work irrespective of whether the driver is correct. I'm communicating with him off-line and will update when we know more |
||||
kiiid Guru ![]() Joined: 11/05/2013 Location: United KingdomPosts: 671 |
Aaah, please don't say that! ![]() These are the two sources which I have used for buying the displays: link1 and link2 Both places are listing the 8-bit pinout. http://rittle.org -------------- |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10067 |
I'm afraid so: The banding is just an artifact of the photography |
||||
kiiid Guru ![]() Joined: 11/05/2013 Location: United KingdomPosts: 671 |
Damn online sellers! ![]() I will always have to triple check is what I buy the same as what I get... How did you get this one working? Using DB8-15, I guess, and high on pin 26? http://rittle.org -------------- |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10067 |
Yes ![]() Tested code for the R61505V is attached. There is something strange about the way these displays address - I assume it is the same for all versions but it means I have had to do some address mapping in the CFunction. This is transparent to the Basic user except that MM.HRES and MM.VRES are both set to 230 although the display is effectively 220x220 (with the corners removed). The only effect is that the centre point on the display is 110,110 for all orientations and not MM.HRES\2,MM.VRES\2 C Code attached. This includes conditional compilation for 44-pin, 64-pin, ILI9325, R61505V. 2015-12-30_163343_ili9325.zip sub mm.startup pwm 1,1000,50 'needed for backlight if implemented as PWM R61505V_V64(PEEK(CFUNADDR R61505V_V64),2) end sub '**********Append this code and below onto the end of your MMBasic program*********** ' ' Copyright (c) Peter Mather 2015 ' ' Initialise the Display Driver for R61505V controlled TFT LCD Panel in 8-bit databus, 16-bit mode ' i.e. RGB565. ' ' Display.Open initialises the loadable CFunction driver so that you can use all of the ' MMBasic graphic commands in your program. ' ' Orient% LANDSCAPE=1,PORTRAIT=2,RLANDSCAPE=3,RPORTRAIT=4 ' RST% is pin number of Reset signal ' ' After Calling Display.Open, any of the usual MM Graphic commands may be used ' in your MMBasic program, eg BOX, TEXT, LINE, CIRCLE etc ' ' Use the standard Micromite+ LCD pins ' Tie CS Low and tie RD high ' ' Ver 1.02 2015-08-19 Initial Release ' Ver 1.03 2015-12-21 Swap parameters for compatibility with 64-pin code ' Ver 1.04 2015-12-27 Initialisation for R61505V controller ' '********************************************************************************** ' File R61505V_V64.bas written 27-Dec-2015 17:37:02 ' CSUB R61505V_V64 0000002D 'writeRegister 3C02BF88 24031000 AC436134 3C03BF81 8C66F220 00043202 30C602FF 34C60800 AC466430 24060800 AC466134 8C67F220 AC466138 8C67F220 308402FF 34840800 AC446430 AC466134 8C64F220 AC466138 8C62F220 2402FFFF 10A20014 3C02BF88 24031000 AC436138 3C03BF81 8C64F220 7CA44A00 34841800 AC446430 24040800 AC446134 8C66F220 AC446138 8C66F220 30A503FF 34A51800 AC456430 AC446134 8C65F220 AC446138 8C62F220 03E00008 00000000 'main 27BDFFB0 AFBF004C AFB40048 AFB30044 AFB20040 AFB1003C AFB00038 0080A021 3C029D00 8C430090 8CA40000 A0640015 8C420090 2403001C A043002E 2402003C AFA20018 2402003D AFA2001C 2402003E AFA20020 2402003F AFA20024 24020040 AFA20028 24020001 AFA2002C 24020002 AFA20030 24020003 AFA20034 27B20018 27B30038 3C109D00 8E510000 8E020010 02202021 24050008 0040F809 00003021 8E020010 02202021 24050065 0040F809 00003021 8E02001C 02202021 0040F809 24050005 26520004 5653FFF0 8E510000 3C109D00 8E020010 2404001B 24050008 0040F809 00003021 8E020010 2404001B 24050065 0040F809 00003021 3C11BF88 24021000 AE226138 3C12BF81 8E42F220 8E020010 24040018 24050008 0040F809 00003021 8E020010 24040018 24050065 0040F809 00003021 24020800 AE226138 8E42F220 8E030090 8E020010 8064002E 24050008 0040F809 00003021 8E030090 8E020010 8064002E 24050065 0040F809 00003021 8E030090 8E02001C 8064002E 0040F809 24050006 3C029D00 244200B4 3C129D00 2652092C 0242182B 10600004 02429023 8E830000 10000003 02439021 8E830000 02439021 3C119D00 26310A94 0222182B 10600004 02228823 8E830000 10000003 02238821 8E830000 02238821 3C109D00 8E030090 8E02001C 8064002E 0040F809 24050006 8E020004 0040F809 3404C350 8E030090 8E02001C 8064002E 0040F809 24050005 8E020004 0040F809 3404C350 8E030090 8E02001C 8064002E 0040F809 24050006 8E020004 0040F809 3404C350 240400E5 34058000 0411FF3F 00000000 00002021 24050001 0411FF3B 00000000 24040001 24050100 0411FF37 00000000 24040002 00002821 0411FF33 00000000 24040003 24051030 0411FF2F 00000000 24040004 00002821 0411FF2B 00000000 24040008 24050202 0411FF27 00000000 24040009 2405002F 0411FF23 00000000 2404000A 00002821 0411FF1F 00000000 2404000C 00002821 0411FF1B 00000000 2404000D 00002821 0411FF17 00000000 2404000F 00002821 0411FF13 00000000 24040010 00002821 0411FF0F 00000000 24040011 24050007 0411FF0B 00000000 24040012 00002821 0411FF07 00000000 24040013 00002821 0411FF03 00000000 8E020004 0040F809 3404C350 24040010 24050730 0411FEFC 00000000 24040011 24050007 0411FEF8 00000000 8E020004 0040F809 24042710 24040012 24050138 0411FEF1 00000000 8E020004 0040F809 24042710 24040013 24051A00 0411FEEA 00000000 24040029 2405000C 0411FEE6 00000000 8E020004 0040F809 24042710 24040030 00002821 0411FEDF 00000000 24040031 24050505 0411FEDB 00000000 24040032 24050004 0411FED7 00000000 24040035 24050006 0411FED3 00000000 24040036 24050707 0411FECF 00000000 24040037 24050105 0411FECB 00000000 24040038 24050002 0411FEC7 00000000 24040039 24050707 0411FEC3 00000000 2404003C 24050704 0411FEBF 00000000 2404003D 24050807 0411FEBB 00000000 24040050 00002821 0411FEB7 00000000 24040051 240500EF 0411FEB3 00000000 24040052 00002821 0411FEAF 00000000 24040053 2405013F 0411FEAB 00000000 24040060 24052700 0411FEA7 00000000 24040061 24050001 0411FEA3 00000000 2404006A 00002821 0411FE9F 00000000 24040021 00002821 0411FE9B 00000000 24040020 00002821 0411FE97 00000000 24040080 00002821 0411FE93 00000000 24040081 00002821 0411FE8F 00000000 24040082 00002821 0411FE8B 00000000 24040083 00002821 0411FE87 00000000 24040084 00002821 0411FE83 00000000 24040085 00002821 0411FE7F 00000000 24040090 24050010 0411FE7B 00000000 24040092 00002821 0411FE77 00000000 24040093 24050003 0411FE73 00000000 24040095 24050110 0411FE6F 00000000 24040097 00002821 0411FE6B 00000000 24040098 00002821 0411FE67 00000000 24040007 24050173 0411FE63 00000000 8E020004 0040F809 3404C350 8E020090 80420015 24030002 10430008 24030004 1043000A 24051000 24030001 10430007 24051028 10000002 24050008 24051030 38420003 24031018 0062280A 24040003 0411FE4D 00000000 3C029D00 8C420090 90420015 30420001 10400007 3C039D00 8C640098 240200E6 AC820000 8C630094 10000006 AC620000 8C640094 240200E6 AC820000 8C630098 AC620000 3C109D00 8E020048 AC520000 8E020048 8E030094 8C660000 8E030098 8C670000 AFA00010 8C420000 00002021 00002821 24C6FFFF 0040F809 24E7FFFF 8E02004C AC510000 00001021 00001821 8FBF004C 8FB40048 8FB30044 8FB20040 8FB1003C 8FB00038 03E00008 27BD0050 'defineregion 27BDFFD8 AFBF0024 AFB40020 AFB3001C AFB20018 AFB10014 AFB00010 2483FFFF 00661821 24A6FFFF 00C73021 3C099D00 8D270094 8CE80000 8D270098 8CE90000 0109382B 10E00003 01205021 01005021 01204021 3C079D00 8CE70090 80E90015 24070002 15270008 24070004 00A0A021 00C08821 2490000A 2472000A 00A09821 1000001A 02001021 1527000D 24070001 00031827 006A8021 00049027 024A9021 2411FFF5 02263023 00C8A021 02258823 02288821 02209821 10000018 02401021 1527000B 24070003 00063027 00CA8021 00059027 024A9021 0080A021 00608821 00809821 1000000D 02401021 24070003 5527000B 24040020 24B0000A 24D2000A 2411FFF5 02231823 0068A021 02248823 02288821 02209821 02001021 24040020 00402821 0411FDD6 00000000 24040021 02602821 0411FDD2 00000000 24040050 02002821 0411FDCE 00000000 24040052 02802821 0411FDCA 00000000 24040051 02402821 0411FDC6 00000000 24040053 02202821 0411FDC2 00000000 24040022 2405FFFF 0411FDBE 00000000 8FBF0024 8FB40020 8FB3001C 8FB20018 8FB10014 8FB00010 03E00008 27BD0028 'DrawRectangle_ILI9325 27BDFFE0 AFBF001C AFB10018 AFB00014 0086102A 14400004 8FB00030 00801021 00C02021 00403021 00A7102A 14400005 28820000 00A01021 00E02821 00403821 28820000 0002200B 3C029D00 8C420094 8C420000 0082402B 2443FFFF 0068200A 28C30000 0003300B 00C2182B 2442FFFF 0043300A 28A20000 0002280B 3C029D00 8C420098 8C430000 00A3402B 2462FFFF 0048280A 28E20000 0002380B 00E01021 00E3382B 2463FFFF 0067100A 24070001 00E41823 00663021 00E53823 00E23821 70E68802 0411FF63 00000000 24031000 3C02BF88 AC436138 3C02BF81 8C42F220 00102C03 30A500F8 7E021340 00A22825 34A51800 00101143 304200E0 7E1020C0 00508025 12200013 36101800 2631FFFF 3C02BF88 24040800 3C03BF81 2406FFFF AC456430 AC446134 8C67F220 AC446138 8C67F220 AC506430 AC446134 8C67F220 AC446138 8C67F220 2631FFFF 1626FFF4 00000000 8FBF001C 8FB10018 8FB00014 03E00008 27BD0020 'DrawBitmap_ILI9325 27BDFFB0 AFBF004C AFBE0048 AFB70044 AFB60040 AFB5003C AFB40038 AFB30034 AFB20030 AFB1002C AFB00028 AFA40050 00A0F021 00C09021 AFA7005C 8FB00060 8FA30064 8FA20068 8FB3006C 3C069D00 8CC70094 8CF10000 8CC60098 8CC60000 AFA60014 0003BC03 32F700F8 7C661340 02E6B825 36F71800 0003B143 32D600E0 7C6320C0 02C3B025 36D61800 0002AC03 32B500F8 7C431340 02A3A825 36B51800 0002A143 329400E0 7C4220C0 0282A025 36941800 72123002 8FA2005C 72023802 0411FF0A 00000000 24031000 3C02BF88 AC436138 3C02BF81 8C42F220 8FA3005C 18600067 0200C021 AFBE0018 00121023 AFA20020 70721002 2442FFFF AFA20010 AFB20024 00007821 AFA0001C 24190001 3C05BF88 24070800 10000055 3C06BF81 04400021 0051202B 50800020 24630001 0542001E 24630001 5180001C 24630001 91C40000 008D2024 1080000D 00000000 ACB76430 ACA76134 8CC4F220 ACA76138 8CC4F220 ACB66430 ACA76134 8CC4F220 ACA76138 8CC4F220 1000000C 24630001 ACB56430 ACA76134 8CC4F220 ACA76138 8CC4F220 ACB46430 ACA76134 8CC4F220 ACA76138 8CC4F220 24630001 1470FFDC 24420001 25080001 2529FFFF 11120010 01785821 010F1021 24430007 284E0000 006E100B 000270C3 026E7021 000917C3 00021742 01226821 31AD0007 01A26823 01B96804 01601021 1000FFC9 00001821 27DE0001 17D00004 254A0001 10000009 8FA3001C 0000F021 1A40FFF9 8FAB0050 8FA90010 00004021 8FA20014 1000FFE5 0142602B 24630001 AFA3001C 8FA20018 00581021 AFA20018 8FA30010 8FA20020 00621821 AFA30010 8FA30024 01E37821 8FA2001C 8FA3005C 10430006 8FBF004C 1E00FFE8 8FAA0018 1000FFEE 8FA3001C 8FBF004C 8FBE0048 8FB70044 8FB60040 8FB5003C 8FB40038 8FB30034 8FB20030 8FB1002C 8FB00028 03E00008 27BD0050 End CSUB |
||||
kiiid Guru ![]() Joined: 11/05/2013 Location: United KingdomPosts: 671 |
Thanks a lot! ![]() That was a priceless help http://rittle.org -------------- |
||||
![]() ![]() ![]() ![]() |
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |