Search found 12 matches

by LEONARDOMS
Mon Jul 17, 2017 6:22 pm
Forum: STM32F103 Boards
Topic: ADAFRUIT SSD1331 SPI OLED DISPLAY
Replies: 14
Views: 839

Re: ADAFRUIT SSD1331 SPI OLED DISPLAY

Ok, I´ll try it out here. Can you please indicate where´s that SPI setting located?

Thank you.
by LEONARDOMS
Mon Jul 17, 2017 2:19 pm
Forum: STM32F103 Boards
Topic: ADAFRUIT SSD1331 SPI OLED DISPLAY
Replies: 14
Views: 839

Re: ADAFRUIT SSD1331 SPI OLED DISPLAY

But shouldn´t the STM32 be faster with its original settings? Why should it be necessary to overclock
by LEONARDOMS
Mon Jul 17, 2017 2:17 pm
Forum: STM32F103 Boards
Topic: ADAFRUIT SSD1331 SPI OLED DISPLAY
Replies: 14
Views: 839

Re: ADAFRUIT SSD1331 SPI OLED DISPLAY

But shouldn´t the STM32 be faster with its original settings? Why should it be necessary to overclock it?
by LEONARDOMS
Sun Jul 16, 2017 5:13 pm
Forum: STM32F103 Boards
Topic: ADAFRUIT SSD1331 SPI OLED DISPLAY
Replies: 14
Views: 839

Re: ADAFRUIT SSD1331 SPI OLED DISPLAY

Hello to all. Since I´m still a NOOB for ARM architecture, I might be still doing something wrong. The display is working fine, but the refresh rate seems to be the same for the 8 bit AVR boards, it´s still very slow. Any advice? I went to the Documents\Arduino\hardware\Arduino_STM32-master\STM32F1\...
by LEONARDOMS
Sat Jul 15, 2017 9:46 pm
Forum: STM32F103 Boards
Topic: ADAFRUIT SSD1331 SPI OLED DISPLAY
Replies: 14
Views: 839

Re: ADAFRUIT SSD1331 SPI OLED DISPLAY

SOLVED IT!!

:D

Code: Select all

#define sclk PA5
#define mosi PA7
#define cs   PA2
#define rst  PA4
#define dc   PA3

by LEONARDOMS
Sat Jul 15, 2017 8:59 pm
Forum: STM32F103 Boards
Topic: ADAFRUIT SSD1331 SPI OLED DISPLAY
Replies: 14
Views: 839

Re: ADAFRUIT SSD1331 SPI OLED DISPLAY

Adafruit_GFX_AS.cpp /* This is the core graphics library for all our displays, providing a common set of graphics primitives (points, lines, circles, etc.). It needs to be paired with a hardware-specific library for each display device we carry (to handle the lower-level functions). Adafruit invest...
by LEONARDOMS
Sat Jul 15, 2017 8:57 pm
Forum: STM32F103 Boards
Topic: ADAFRUIT SSD1331 SPI OLED DISPLAY
Replies: 14
Views: 839

Re: ADAFRUIT SSD1331 SPI OLED DISPLAY

Adafruit_GFX_AS.h #ifndef _ADAFRUIT_GFX_H #define _ADAFRUIT_GFX_H #include "Load_fonts.h" #if ARDUINO >= 100 #include "Arduino.h" #include "Print.h" #else #include "WProgram.h" #endif #define swap(a, b) { int16_t t = a; a = b; b = t; } class Adafruit_GFX : public Print { public: Adafruit_GFX(int16 ...
by LEONARDOMS
Sat Jul 15, 2017 8:35 pm
Forum: STM32F103 Boards
Topic: ADAFRUIT SSD1331 SPI OLED DISPLAY
Replies: 14
Views: 839

Re: ADAFRUIT SSD1331 SPI OLED DISPLAY

Hello. I modified the SSD1331 and now is compiling. But the display remains black. Could someone please check if my test code is missing something? #define sclk PB3 #define mosi PB5 #define cs PA10 #define rst PA8 #define dc PA9 // Color definitions #define BLACK 0x0000 #define BLUE 0x001F #define R...
by LEONARDOMS
Sat Jul 15, 2017 11:23 am
Forum: STM32F103 Boards
Topic: [SOLVED] USB UNSPECIFIED
Replies: 2
Views: 260

Re: USB UNSPECIFIED

Fredbox, thank you for you reply. This problem was solved. I was making a few mistakes.
by LEONARDOMS
Sat Jul 15, 2017 11:20 am
Forum: STM32F103 Boards
Topic: ADAFRUIT SSD1331 SPI OLED DISPLAY
Replies: 14
Views: 839

Re: ADAFRUIT SSD1331 SPI OLED DISPLAY

zmemw16, thank you very much. I took a look at the libs and none seem to be for the stm32. Have you tried any of them? The SSD13xx compiles, but I can not find where to configure the SPI pins.