Driver for parallel device

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Driver for parallel device

1,555 Views
LPs
Contributor III

Hi all,

     first of all I apologize for my (probably) newbie question.

I need to implements a driver to drive an external monochrome LCD connected with a standard parallel connecion: 8 bit data bus, R/W signal, etc...

My question is: which feature of MQX can I use to drive it?

I saw gpio device, but I'm not sure that this kind of device allow to installa a port ad input/output.

I cannot use FlexBus because of the HW.

Thx

0 Kudos
Reply
4 Replies

1,161 Views
c0170
Senior Contributor III

Hello lucaptetro,

what MCU are you using? Does your MCU have LCD interface (SLCD) ? If yes, here's something which could enlight you in the beginning:

I have found one presentation to this topic:

http://www.kinetis.pl/sites/default/files/HandsOn%20Part-1%20-%20MQX%20SLCD%20example.pdf

There's LCD driver in MQX for few MCU, like kwikstik contains LCD monochromatic display. In case there's no SLCD in your MCU, you might communicate with LCD through I2C/SPI. MQX provides both drivers.

Regards,

c0170

1,161 Views
LPs
Contributor III

Hello c0170,

   I'm using a kinetis K60 and K10.

SLCD module is not available and the HW force me to implement a parallel solution. Unfortunately the HW designer was not so smart to cottect the display but to the FlexBus port...

0 Kudos
Reply

1,161 Views
c0170
Senior Contributor III

Hello,

how is LCD connected to MCU? If you ask  any HW related questions, it would be helpful to share at least more details or a schematic (how is LCD connected to MCU). What options do you have? What have you considered so far?

Regards,

c0170

0 Kudos
Reply

1,161 Views
LPs
Contributor III

Hello,

  display is connected by 8080 style connection:

  • 8 bit data bus
  • RD signal
  • WR signal
  • CS signal
  • A2 signal

I used to drive this kind of devices by bit banging code.

What I'm searching for is if MQX give me a standard way to drive them (high level), without access directly to the micro ports.

Regards

Luca

0 Kudos
Reply