lcd3310

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

Moderators: RoccoMarco, lbednarz, tfAteba

Post Reply
User avatar
part1zan_
Posts: 44
Joined: Sun Sep 08, 2013 9:04 pm

lcd3310

Post by part1zan_ »

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

Re: lcd3310

Post by inmarket »

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

Re: lcd3310

Post by part1zan_ »

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

Re: lcd3310

Post by part1zan_ »

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
};
Post Reply