TK. Posted January 19, 2013 Report Share Posted January 19, 2013 I've updated the KS0108 interconnection diagram, so that it also shows the connections to J28 of the MBHP_CORE_LPC17 core: http://www.ucapps.de/mbhp/mbhp_lcd_ks0108_mios32.pdf Best Regards, Thorsten. Quote Link to comment Share on other sites More sharing options...
grizz Posted January 19, 2013 Author Report Share Posted January 19, 2013 (edited) Thanks Tk.... That verifies that I have had it hooked up properly... the orientation of the notch is correct on my board. Its weird that it works with SDA and Vd, but maybe I am seeing the result of just CS1 being hooked up properly. I'll test J28 with my friends Oscilloscope when he brings it over. In the meantime, I'll take apart my SEQ v4 and hook the GLCD up to that and see if it works with the stm32 board. I'll compare how the GLCD behaves with each board and see what I find out. Cheers, Alex Edited January 19, 2013 by grizz Quote Link to comment Share on other sites More sharing options...
TK. Posted January 20, 2013 Report Share Posted January 20, 2013 It makes sense to try it again with MBNG V1.012, it contains the latest LCD driver changes.Best Regards, Thorsten. Quote Link to comment Share on other sites More sharing options...
grizz Posted January 21, 2013 Author Report Share Posted January 21, 2013 I just tried it out and it doesn't work, so it must be something I'm missing on my end... I've quadruple checked my connections, so I'm going to focus on learning MB_NG... My first task is making the scs encoder scroll correctly with my 2x16 clcd so that I can see the last 4 characters of the menus... so far no luck, but I WILL figure it out ;) Thanks for the help alex Quote Link to comment Share on other sites More sharing options...
grizz Posted February 7, 2013 Author Report Share Posted February 7, 2013 Update: WIth the latest release (v1.017) of midibox_NG the GLCD works properly!!! :phone: Now I have to teach myself how to set it up so that it displays information aligned correctly. If anyone has any links to a tutorial or something I'd be grateful... Cheers, Alex Quote Link to comment Share on other sites More sharing options...
TK. Posted February 7, 2013 Report Share Posted February 7, 2013 Cool! :smile: This is a nice demo how GLCD fonts can be handled: http://svnmios.midibox.org/filedetails.php?repname=svn.mios32&path=%2Ftrunk%2Fapps%2Fcontrollers%2Fmidibox_ng_v1%2Fcfg%2Ftests%2Fglcd1306.ngc But you've to consider, that the two displays are combined to a single GLCD (in this .ngc file SSD1306 based displays are used which are addressed differently). This means, that the first display starts at 1:1:1, and the second at 1:21:1 (and not at 2:1:1) Reference for the different format specifiers which are used by this .ngc file: http://www.ucapps.de/midibox_ng_manual_ngc.html (search for "glcd") Best Regards, Thorsten. Quote Link to comment Share on other sites More sharing options...
grizz Posted February 8, 2013 Author Report Share Posted February 8, 2013 I've been doing some experimenting, and I have a few questions: 1. "This means, that the first display starts at 1:1:1, and the second at 1:21:1" This applies to the GLCD I am using, correct? 2. When I load NGC files text starts halfway across the LCD and continues over to the first half. This seems to be abnormal to me. For example, in the default .NGC file the "Ready" text should start at the left of the LCD, but instead it starts halfway. If I use &b "Ready" bleeds over to the left side of the screen. Isn't this reversed? I'm not sure if I'm missing something very basic here. Cheers, Alex Quote Link to comment Share on other sites More sharing options...
TK. Posted February 8, 2013 Report Share Posted February 8, 2013 1. "This means, that the first display starts at 1:1:1, and the second at 1:21:1" This applies to the GLCD I am using, correct? not really ;-) you are only using a single GLCD with two CS lines, right? Then the comment about the cursor position isn't relevant. 2. When I load NGC files text starts halfway across the LCD and continues over to the first half. This seems to be abnormal to me. For example, in the default .NGC file the "Ready" text should start at the left of the LCD, but instead it starts halfway. If I use &b "Ready" bleeds over to the left side of the screen. Isn't this reversed? I'm not sure if I'm missing something very basic here. Could it be that the two CS lines are swapped? Best Regards, Thorsten. Quote Link to comment Share on other sites More sharing options...
grizz Posted February 8, 2013 Author Report Share Posted February 8, 2013 :rolleyes: The CS lines were indeed swapped. I did have them hooked up properly though, so maybe the datasheet for my GLCD is wrong. It is a lot easier to learn how to program it with the CS lines hooked up properly... Thanks TK!! Cheers, Alex Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.