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
lcd3310
Moderators: RoccoMarco, lbednarz, utzig, tfAteba, barthess
Re: lcd3310
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
If that is the case, can you please repost this in the uGFX forum at http://www.ugfx.org/forum
Re: lcd3310
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.
Re: lcd3310
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
};
Who is online
Users browsing this forum: No registered users and 60 guests