Search found 39 matches

by GeorgeIoak
Mon Jun 08, 2020 1:28 am
Forum: General discussion
Topic: Nucleo-F030R8 and ILI9341 Changing SPI Speed
Replies: 5
Views: 4255

Re: Nucleo-F030R8 and ILI9341 Changing SPI Speed

Just as a follow up, I switched my code to use the TFT_eSPI library and using the same FreeFont my code size increased by ~15k. I have all the fonts defined in my setup file but if I read correctly they aren't loaded unless you call them and I'm only calling 1 font in my code. I just commented out a...
by GeorgeIoak
Sun Jun 07, 2020 11:05 pm
Forum: General discussion
Topic: Nucleo-F030R8 and ILI9341 Changing SPI Speed
Replies: 5
Views: 4255

Re: Nucleo-F030R8 and ILI9341 Changing SPI Speed

Yeah, I did a little testing with that library when using PlatformIO, maybe I need to go back and revisit it if what you're saying is true. He also recently posted some news about a speed improvement for STM32 and parallel mode. I wanted to try and keep with SPI but if I "have to" I could ...
by GeorgeIoak
Sun Jun 07, 2020 10:10 pm
Forum: General discussion
Topic: Nucleo-F030R8 and ILI9341 Changing SPI Speed
Replies: 5
Views: 4255

Re: Nucleo-F030R8 and ILI9341 Changing SPI Speed

Thanks, I figured it had to be something like that but with all the clock settings I couldn't find an easy answer. Is that true for all of the STM32 series? The speed isn't too bad for me as this project is just displaying text. I'm using a "nice" font which forces me to wipe the backgroun...
by GeorgeIoak
Sun Jun 07, 2020 9:22 pm
Forum: General discussion
Topic: Nucleo-F030R8 and ILI9341 Changing SPI Speed
Replies: 5
Views: 4255

Nucleo-F030R8 and ILI9341 Changing SPI Speed

I'm using the Official Core and Adafruit's ILI9341 driver. Looking at their code I'm supposed to be able to pass in the SPI frequency like this:

Code: Select all

tft.begin(36000000);
but I've tried 32MHz and 36MHz yet on the scope I'm always seeing 24MHz.

Is there a different way to change the SPI frequency?
by GeorgeIoak
Sun Jun 07, 2020 8:51 pm
Forum: STM boards (Discovery, Eval, Nucleo, ...)
Topic: Nucleo-F030R8 Hardware SPI Pins
Replies: 12
Views: 8527

Re: Nucleo-F030R8 Hardware SPI Pins

Problem solved. Dumb software problem on my part. When I switched to the Nucleo board I didn't connect up a sensor that I had on the STM32F405 Feather. I forgot I had a `while(1)` loop inserted if the sensor wasn't found. Sorry for the wasted efforts. I am confused about the A6/A7 assignments though...
by GeorgeIoak
Sun Jun 07, 2020 4:10 pm
Forum: STM boards (Discovery, Eval, Nucleo, ...)
Topic: Nucleo-F030R8 Hardware SPI Pins
Replies: 12
Views: 8527

Re: Nucleo-F030R8 Hardware SPI Pins

Why are PA6 and PA7 defines as A6 and A7? variants.h#L41-L42 Looking at the schematic SB41/SB40 are normally closed and that sends PA6/7 to D12/D11 SB39/SB36 are normally open BUT if they were closed they would send PA6/7 to CN10 pins 28/26 So I think the definition in the variants file is defining ...
by GeorgeIoak
Sun Jun 07, 2020 1:13 pm
Forum: STM boards (Discovery, Eval, Nucleo, ...)
Topic: Nucleo-F030R8 Hardware SPI Pins
Replies: 12
Views: 8527

Re: Nucleo-F030R8 Hardware SPI Pins

Yes, I see that and my comment was left over from when I was using the STM32F405 Feather board. But if I physically connect the LCD's CD pin the board's D10 and pass 10 into the Adafruit_ILI9341 definition shouldn't that still work? It's just the chip select so I would think any pin could be used fo...
by GeorgeIoak
Sun Jun 07, 2020 2:42 am
Forum: STM boards (Discovery, Eval, Nucleo, ...)
Topic: Nucleo-F030R8 Hardware SPI Pins
Replies: 12
Views: 8527

Re: Nucleo-F030R8 Hardware SPI Pins

I forgot to mention that I'm using the "official" core
by GeorgeIoak
Sun Jun 07, 2020 2:10 am
Forum: STM boards (Discovery, Eval, Nucleo, ...)
Topic: Nucleo-F030R8 Hardware SPI Pins
Replies: 12
Views: 8527

Nucleo-F030R8 Hardware SPI Pins

I have one of these boards and I'm trying to use it with the Arduino IDE and Adafruit ILI9341 library which is for a SPI LCD. The LCD and code works when tested with a Adafruit STM32F405 Feather but when I switch the hardware to Nucleo-F030R8 board I cannot get the LCD to work. From what I can tell ...

Go to advanced search