Have you tried library "SdFat" ? See below example.
viewtopic.php?f=39&t=1211
Search found 49 matches
- Thu Aug 25, 2022 7:36 am
- Forum: General discussion
- Topic: SPI1 is in use, how can I use SPI2 for a MicroSD card?
- Replies: 3
- Views: 1912
- Fri Aug 05, 2022 1:37 am
- Forum: General discussion
- Topic: Problems with SPI (Nucleo L476RG)
- Replies: 13
- Views: 18032
Re: Problems with SPI (Nucleo L476RG)
It looking interesting that the SPI clock is that slow. Usually when I run Arduino code on STM32 I need to review if the device can cope with the SP clock rate as STM32 is faster than Arduino.
- Fri Aug 05, 2022 12:18 am
- Forum: Builds and Announcements
- Topic: Release 1.9.0 is available
- Replies: 11
- Views: 19863
Re: Release 1.9.0 is available
Go to the 1.9.0 release: https://github.com/stm32duino/Arduino_Core_STM32/tree/1.9.0 Scroll further down and you shall see: Getting Started This repo is available as a package usable with Arduino Boards Manager. Use this link in the "Additional Boards Managers URLs" field: https://github.c...
- Thu Aug 04, 2022 3:44 pm
- Forum: General discussion
- Topic: OLED 128x64 SSD1306 sometimes doesn't work :-(
- Replies: 10
- Views: 3341
Re: OLED 128x64 SSD1306 sometimes doesn't work :-(
I ran the Adafruit example on a blackpill but did not see your issues. I even did not add pull up resistors. The I2C address of my OLED is 0x3C instead of the default 0x3D in the code.
- Wed Aug 03, 2022 1:56 pm
- Forum: General discussion
- Topic: OLED 128x64 SSD1306 sometimes doesn't work :-(
- Replies: 10
- Views: 3341
Re: OLED 128x64 SSD1306 sometimes doesn't work :-(
Have not encountered your issue with Adafruit library. Since I2C scanner did not always work it implied some sort of intermittent connection. You may also try reducing the values of the pull up resistors. Regarding the problem with u8g2 library, an user had found a fix by swapping 2 lines of code: h...
- Mon May 23, 2022 1:56 am
- Forum: STM boards (Discovery, Eval, Nucleo, ...)
- Topic: can power be supplied into 5v pin while USB is also attached?
- Replies: 7
- Views: 4105
Re: can power be supplied into 5v pin while USB is also attached?
Vbus (USB) and 5V are connected together on the board. So you should either power the board via external 5V or via Vbus of the USB. Do not connect both at the same time.
- Thu Apr 07, 2022 12:41 am
- Forum: General discussion
- Topic: STM32 BOOTLOADER
- Replies: 2
- Views: 1032
Re: STM32 BOOTLOADER
Below is what I encountered: https://www.stm32duino.com/viewtopic.php?f=7&t=1196 In addition, depending on the drivers you use, the board will be recognized as: DFU if from early DeFuse Demo Bootloader if from STM32CubeProgrammer In the end I keep using ST-Link to flash the boards as DFU mode do...
- Fri Dec 10, 2021 7:39 am
- Forum: STM boards (Discovery, Eval, Nucleo, ...)
- Topic: why NO support for NUCLEO 410RB (1 can NOT program it in Arduino IDE) - but it present as Generic board?
- Replies: 13
- Views: 6129
Re: why NO support for NUCLEO 410RB (1 can NOT program it in Arduino IDE) - but it present as Generic board?
The behaviour is expected on Nucleo F103RB and Generic F103RB because they have different pin number/name definitions.
- Fri Nov 19, 2021 3:50 am
- Forum: General discussion
- Topic: Can't get serial to work
- Replies: 8
- Views: 7637
Re: Can't get serial to work
By default Nucleo 64 STM32L053R8 has Serial2 connected to on-board STLink. So you need to change your code from Serial to Serial2 and connect your PC to the STLink USB port. If you want to use Serial1 you need to add below and connect the port to PC via a USB-Serial converter: HardwareSerial Serial1...
- Fri Nov 05, 2021 3:56 pm
- Forum: General discussion
- Topic: Im a bit Lost here ( NEW USER / DEVELOPER )
- Replies: 19
- Views: 6083
Re: Im a bit Lost here :(
There are quite many users who don't know how to operate their new devices or gadgets because they don't read the manuals out of their excitement.
On the front page of this forum there is a section: NEW USERS START HERE ......
On the front page of this forum there is a section: NEW USERS START HERE ......