Driver for parallel device

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Driver for parallel device

1,548件の閲覧回数
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 件の賞賛
返信
4 返答(返信)

1,154件の閲覧回数
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,154件の閲覧回数
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 件の賞賛
返信

1,154件の閲覧回数
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 件の賞賛
返信

1,154件の閲覧回数
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 件の賞賛
返信