lcd3310

ChibiOS public support forum for all topics not covered by a specific support forum.

Moderators: utzig, lbednarz, tfAteba, barthess, RoccoMarco

User avatar
part1zan_
Posts: 44
Joined: Sun Sep 08, 2013 9:04 pm
Location: Saint Petersburg, Russia

lcd3310

Postby part1zan_ » Sun Nov 17, 2013 12:24 am

Has anyone used the ChibiOS/RT lcd3310 driver? Is it working? I didn't manage to get it to work.
I connected the lcd3310 to my STM32F3Discovery's SPI2 (AFAIK, properly).
What I got is the light. No data can be displayed on the lcd. I used lcd3310WriteChar(), and it didn't work

inmarket
Posts: 89
Joined: Fri Jul 27, 2012 1:37 pm
Location: Brisbane, Australia

Re: lcd3310

Postby inmarket » Sun Nov 17, 2013 7:27 am

I suspect you are using the uGFX driver as I don't think ChibiOS has any lcd drivers.
If that is the case, can you please repost this in the uGFX forum at http://www.ugfx.org/forum

User avatar
part1zan_
Posts: 44
Joined: Sun Sep 08, 2013 9:04 pm
Location: Saint Petersburg, Russia

Re: lcd3310

Postby part1zan_ » Sun Nov 17, 2013 1:29 pm

No, I'm not using uGFX. I used this one, and somewhy it didn't work, though I made it compile by defining some of the GPIOs it needed.

User avatar
part1zan_
Posts: 44
Joined: Sun Sep 08, 2013 9:04 pm
Location: Saint Petersburg, Russia

Re: lcd3310

Postby part1zan_ » Sun Nov 17, 2013 1:33 pm

After a while, I thought that the problem might be in SPI2 initialization. Here's the SPI config I used for SPI2:

Code: Select all

static const SPIConfig spi2cfg = {
   NULL,
   /* HW dependent part.*/
   GPIOB,
   12,
   SPI_CR1_BR_0 | SPI_CR1_BR_1 | SPI_CR1_CPOL | SPI_CR1_CPHA, // this line might be absent, nothing changes in that case
   0
};


Return to “General Support”

Who is online

Users browsing this forum: No registered users and 4 guests