FezMini and the Fez-Disp Expansion Display

Hi,
I’m just starting out in programming using the .Net Microframework and this is my first post to these forums.

I have a Fez-mini and am trying to connect the Fez-Disp Expansion Display. I have plugged the cable into the UEXT connector on the Mini board and the display is getting power, but when I try to run the code sample from the following link I’m not seeing anything on the display:
http://www.ghielectronics.com/downloads/FEZ/Extension/Broch_Graphical128x64Extension.pdf

I’m wondering if the Initialize() parameters need different values for the Mini compared to the Rhino.

Thanks,
Alan

Update:
These are the two drivers I’m using:
http://code.tinyclr.com/project/31/graphical-128x64-uext/
http://code.tinyclr.com/project/32/graphical-128x64-uext---simple-graphics/

Looking at brochures for the LCD and Mini, it appears that pins are not a match.

Hey Alan!

Welcome to the forum. Ditto what Mike said. You can still use the display, it just isn’t “plug and play” on the Mini’s UEXT header.

Eric

Any idea where I can find a FEZ Mini compatible driver for it?

You must map the correct pins with jumper wires. There is no out of the box Mini driver for this display that I’m aware of.

This is the code that is initializing the display for the Rhino:


FEZ_Extensions.Graphical128x64Display.Initialize(FEZ_Pin.Digital.UEXT3, FEZ_Pin.Digital.UEXT4, FEZ_Pin.Digital.UEXT10,
SPI.SPI_module.SPI2);

Initialize() is expecting as parameters the definitions for ResetPin, CommandPin, SelectPin and SPIModule:


      static public void Initialize(FEZ_Pin.Digital ResetPin, FEZ_Pin.Digital CommandPin, FEZ_Pin.Digital SelectPin, SPI.SPI_module SPIModule)   

Keeping in mind that I have no idea what I’m doing, is it just a matter of changing the parameters being passed to Initialize()? If so, how do I fingure out which UEXT pin pn the Mini is the Reset, etc.?

Just hooked up my Fez Mini and the 128x64 display. Here is the Initialization line I used:

FEZ_Extensions.Graphical128x64Display.Initialize(FEZ_Pin.Digital.UEXT3, FEZ_Pin.Digital.UEXT4, FEZ_Pin.Digital.UEXT10, SPI.SPI_module.SPI1);

Works like a charm :slight_smile:

only difference from the Fez Domino was that Domino uses SPI.SPI_module.SPI2

Hope this helps.

It really does depend on what display you have. There are two 128x64 LCDs, and if you have the “Graphical” one then it is NOT designed to plug directly into a UEXT port even though it could. The “large” one that the brochure shows connecting to the Rhino is different and has a different cable layout.

[url]http://www.ghielectronics.com/downloads/FEZ/Extension/[/url]

Please check which one you have and let us know. If it’s the “large” one then the pinout matches UEXT and you only need to change your SPI port to SPI 1 (which is what the Mini’s SPI port on the UEXT is).

Edit: SPI1 pointed out by other poster while I was checking brochures - well done and welcome to the forums larsols

Switching to SPI1 worked like a charm!

Thanks for the help!

Happy Thanksgiving.