Search found 6 matches

by cagz
Mon Aug 14, 2023 11:34 am
Forum: General discussion
Topic: How to adjust pinouts for new boards
Replies: 3
Views: 1160

How to adjust pinouts for new boards

I am developing a new variant using STM32L052K6T6, there are no existing variants for L0 family so I concluded that I had to create my own. Copied over F103 variant_BLUEPILL_F103C6.cpp and variant_BLUEPILL_F103C6.h over and preparing to adapt it to my board. This is where the confusion settled in ! ...
by cagz
Sat Aug 12, 2023 4:24 pm
Forum: General discussion
Topic: STM32FreeRTOS on Platformio - not working
Replies: 1
Views: 1045

STM32FreeRTOS on Platformio - not working

Hello, Working on a project that requires FreeRTOS and decided to give Platformio a go. Mainly because I need a file hierarchy, rather than a single ino file. Any other suggestions are more than welcome. The board is an STM32L502K6T6 custom board, nothing special about it. Code is attached at the bo...
by cagz
Sat Aug 12, 2023 4:08 pm
Forum: USB bootloader
Topic: Using PlatformIO
Replies: 3
Views: 5064

Re: Using PlatformIO

Can I please ask, where in Arduino IDE you found the build flags ?
by cagz
Sat Aug 05, 2023 5:19 am
Forum: General discussion
Topic: SD card access via SPI
Replies: 3
Views: 933

Re: SD card access via SPI

It was exactly this and it only needed:

Code: Select all

SPI.setMISO(PB4);
SPI.setMOSI(PB5);
SPI.setSCLK(PB3);
Thanks a lot for your help !
by cagz
Fri Aug 04, 2023 6:21 pm
Forum: General discussion
Topic: SD card access via SPI
Replies: 3
Views: 933

Re: SD card access via SPI

Seems like I am the only one on the forum who had an SD card problem, I must be doing something really silly. So far I tried smaller SD cards, a battery instead of USB thinking it might have been a voltage issue, but no luck. There is a passive buzzer just next to the SD card slot. When the SD card ...
by cagz
Thu Aug 03, 2023 12:45 pm
Forum: General discussion
Topic: SD card access via SPI
Replies: 3
Views: 933

SD card access via SPI

I am trying to get SD Card working, using SPI on an STM32L052K8 board (custom built). Following code is simply giving initialisation error (simply fails at SD.begin stage). Do I need to do anything else STM32 specific here ? Especially in terms of which SPI pins this MPU uses (but I suppose that's d...

Go to advanced search