I didn't check DS of this display but maybe instead serial data transfer would it be better do it parallely ? It could be disable interlace. Anyway great job mate. Subscribed you. I find tut how running any ARM from clear assembler. Very hard to find and even any eclipse doesn't have "make ASM project" option - just like it was impossible LOL
I followed your instructions but ... when I fill in an example file .......... Error during compilation for the Generic STM32F103C series card ??? what can I do??
I'm not sure, this video is pretty old. What version of the STM32 core are you using, what version of the ucglib lib? Sorry the STM32 Arduino space has been changing pretty fast
thanks...STM32F103 64/128k .....the last version of ucglib library ..ver 1.52..........but for now I have arranged with this library ...(github.com/cbm80amiga/Arduino_ST7735_STM)......he's a good guy! Good job everyone!!!
Hi Caleb, just picked up a couple of STM32's and trying to reproduce what you have done here. I seem to be having an issue compiling but I just can't see what I'm doing wrong. Coppied the instructions as above but get this error. C:\Users\user\Documents\Arduino\libraries\Ucglib\src\Ucglib.cpp: In function 'void ucg_com_arduino_send_8bit(ucg_t*, uint8_t)': C:\Users\user\Documents\Arduino\libraries\Ucglib\src\Ucglib.cpp:840:3: error: '__NOP' was not declared in this scope 840 | __NOP; | ^~~~~ exit status 1 Error compiling for board Generic STM32F1 series. I've been through it a number of times but just can't see what I have wrong. Any help would be great. Thanks....
Unfortunately this video is pretty old and libraries and stuff may have changed. This was also with the Roger Clarke core and not the STM32duino core. However, library support is growing and other libraries may work out of the box with stm32duino or Roger Clarke Melbourne's core, I would shop around a little bit and let me know if you find anything! You can also join the STM32 discord for help and keeping us updated
Thanks I'll have a look around, That's a shame as I was using the Ucglib in a nano based project, would have been really easy to transfer to the Stm. Thanks again.
Thank you! You help me very much, in special with respect to the pinout labels... Unfortunelly, only "hello world" skecth run from the library ucglib. I getting error in compilation...
I made this video a long time ago, it's entirely possible something's changed in the code. Try to see what file/line number is causing the error and it might have an obvious fix. Let me know!
You can use multiple spi outs or use the cs (chip select) to choose what you are sending data to. If your display is I2C though you don't have to worry
@@CalebMarting Thank you for the answer:) First option (multiple spi outs) sound easy, but what if we use the second option with CS? Does this mean that ywe can connect two slaves to one SPI interface in the microcontroller?
www.learningaboutelectronics.com/Articles/Multiple-SPI-devices-to-an-arduino-microcontroller.php yes you can connect multiple slaves to the same controller! Basically by using chip select you can turn one on and the rest off. I think that article slightly explains it.
@@CalebMarting Thank you!:) Now I understand that MOSI/MISO/SCK pins can be common for both slaves and that CS pin must be separate. But I can't imagine why the second pin is some other pin (D9), while the first is the nominal CS. Do you know why this happens?: C
I saw a principia video u made like 5 years ago and now ur a electronic pro. that's amazing
Definitely not a pro, but I try. Thank you
Thank you :-)
i am using a bluepill and it does not work ??
Thank you.
No problem
Thank you !!!!
Hello ! Do you have a schematics with the pinout ?
I cannot get my screen to work with the STM32, I just have a blank screen
Thanks !
This worked with the Roger Clark Melbourne core, if you're using the STM32duino core this may not work, I haven't tested
I didn't check DS of this display but maybe instead serial data transfer would it be better do it parallely ? It could be disable interlace. Anyway great job mate. Subscribed you.
I find tut how running any ARM from clear assembler. Very hard to find and even any eclipse doesn't have "make ASM project" option - just like it was impossible LOL
Yeah I just managed to get this working and threw it out there for others to see so it's not perfect
I followed your instructions but ... when I fill in an example file .......... Error during compilation for the Generic STM32F103C series card ??? what can I do??
I'm not sure, this video is pretty old. What version of the STM32 core are you using, what version of the ucglib lib? Sorry the STM32 Arduino space has been changing pretty fast
thanks...STM32F103 64/128k .....the last version of ucglib library ..ver 1.52..........but for now I have arranged with this library ...(github.com/cbm80amiga/Arduino_ST7735_STM)......he's a good guy!
Good job everyone!!!
Hi Caleb, just picked up a couple of STM32's and trying to reproduce what you have done here. I seem to be having an issue compiling but I just can't see what I'm doing wrong. Coppied the instructions as above but get this error.
C:\Users\user\Documents\Arduino\libraries\Ucglib\src\Ucglib.cpp: In function 'void ucg_com_arduino_send_8bit(ucg_t*, uint8_t)':
C:\Users\user\Documents\Arduino\libraries\Ucglib\src\Ucglib.cpp:840:3: error: '__NOP' was not declared in this scope
840 | __NOP;
| ^~~~~
exit status 1
Error compiling for board Generic STM32F1 series.
I've been through it a number of times but just can't see what I have wrong.
Any help would be great. Thanks....
Unfortunately this video is pretty old and libraries and stuff may have changed. This was also with the Roger Clarke core and not the STM32duino core. However, library support is growing and other libraries may work out of the box with stm32duino or Roger Clarke Melbourne's core, I would shop around a little bit and let me know if you find anything! You can also join the STM32 discord for help and keeping us updated
Thanks I'll have a look around, That's a shame as I was using the Ucglib in a nano based project, would have been really easy to transfer to the Stm. Thanks again.
Thank you! You help me very much, in special with respect to the pinout labels... Unfortunelly, only "hello world" skecth run from the library ucglib. I getting error in compilation...
I made this video a long time ago, it's entirely possible something's changed in the code. Try to see what file/line number is causing the error and it might have an obvious fix. Let me know!
Hello, how to connect SD card (pinout) to STM32 and to the display at the same time?:)
You can use multiple spi outs or use the cs (chip select) to choose what you are sending data to. If your display is I2C though you don't have to worry
@@CalebMarting Thank you for the answer:) First option (multiple spi outs) sound easy, but what if we use the second option with CS? Does this mean that ywe can connect two slaves to one SPI interface in the microcontroller?
www.learningaboutelectronics.com/Articles/Multiple-SPI-devices-to-an-arduino-microcontroller.php yes you can connect multiple slaves to the same controller! Basically by using chip select you can turn one on and the rest off. I think that article slightly explains it.
@@CalebMarting Thank you!:) Now I understand that MOSI/MISO/SCK pins can be common for both slaves and that CS pin must be separate. But I can't imagine why the second pin is some other pin (D9), while the first is the nominal CS. Do you know why this happens?: C
I'm guessing nominal Cs is just the default. But it isn't really sending data so can be any gpio
Thank you
Thank you))))
No worries! I was happy that I got it working so I'm glad it is useful to someone else too