Thank you for your suggestion. I will try itTFTLCDCyg wrote: ↑Tue Jan 07, 2020 9:52 pm Inside of the SdFat Config.h file, modify the value of this line:
for this:Code: Select all
#define USE_STANDARD_SPI_LIBRARY 0
Maybe it helps.Code: Select all
#define USE_STANDARD_SPI_LIBRARY 2
Search found 22 matches
- Wed Jan 08, 2020 1:33 am
- Forum: STM32F4 based boards
- Topic: STM32F407VE SDfat error compiling
- Replies: 18
- Views: 15430
Re: STM32F407VE SDfat error compiling
- Mon Jan 06, 2020 4:24 am
- Forum: STM32F4 based boards
- Topic: STM32F407VE SDfat error compiling
- Replies: 18
- Views: 15430
Re: STM32F407VE SDfat error compiling
Or I have missed something in setting up to use other SPI port? This is the code that I used to switch to other SPI port(frowm ReadWrite example of SDFat library) #include <SPI.h> #include "SdFat.h" #define SD_CS_PIN PB12 // Use second SPI port SPIClass SPI_3(3); SdFat sd2(&SPI_3); Fil...
- Mon Jan 06, 2020 3:37 am
- Forum: STM32F4 based boards
- Topic: STM32F407VE SDfat error compiling
- Replies: 18
- Views: 15430
Re: STM32F407VE SDfat error compiling
I recommend to use my fork of SdFat . And get the latest core files from my repo, because I pushed today a commit to solve an issue which is also relevant for SPI and other peripherals. Hi, I have tested your forked SDFat and it works but in SPI1 only. My purpose is to use SD card in other SPI port...
- Sat Jan 04, 2020 8:36 am
- Forum: STM32F4 based boards
- Topic: STM32F407VE hang up using USB Serial(CDC) with 6 serial on.
- Replies: 11
- Views: 11709
Re: STM32F407VE hang up using USB Serial(CDC) with 6 serial on.
Thank you it is working fine now in 1.8.10stevestrong wrote: ↑Fri Jan 03, 2020 2:32 pm The issue is solved, please check out the latest core files form my repo.
- Sat Jan 04, 2020 8:35 am
- Forum: STM32F4 based boards
- Topic: STM32F407VE SDfat error compiling
- Replies: 18
- Views: 15430
Re: STM32F407VE SDfat error compiling
Thanks. I will try this
- Fri Jan 03, 2020 12:55 am
- Forum: STM32F4 based boards
- Topic: STM32F407VE hang up using USB Serial(CDC) with 6 serial on.
- Replies: 11
- Views: 11709
Re: STM32F407VE hang up using USB Serial(CDC) with 6 serial on.
Thank youstevestrong wrote: ↑Thu Jan 02, 2020 3:16 pm I can reproduce the issue, please wait for a solution I will post on Github.
- Thu Jan 02, 2020 8:54 am
- Forum: STM32F4 based boards
- Topic: STM32F407VE SDfat error compiling
- Replies: 18
- Views: 15430
STM32F407VE SDfat error compiling
Hi there guys, I'm trying to use the Sdfat library by greiman ( https://github.com/greiman/SdFat ) but I'm not able to compile it successfully. I'm compiling the example "SdInfo.ino" from the example folder. the error is C:\Users\LAPTOP\Documents\Arduino\libraries\SdFat\src\SpiDriver\SdSpi...
- Thu Jan 02, 2020 7:04 am
- Forum: STM32F4 based boards
- Topic: STM32F407VE hang up using USB Serial(CDC) with 6 serial on.
- Replies: 11
- Views: 11709
Re: STM32F407VE hang up using USB Serial(CDC) with 6 serial on.
oh..good input I learned something new with you.
Well i dont know how to make a makefile as I have encountered it a lot of times.
Maybe @stevstrong should check this out so it will work on 1.8.10.
Well i dont know how to make a makefile as I have encountered it a lot of times.
Maybe @stevstrong should check this out so it will work on 1.8.10.
- Thu Jan 02, 2020 6:53 am
- Forum: STM32F4 based boards
- Topic: STM32F407VE hang up using USB Serial(CDC) with 6 serial on.
- Replies: 11
- Views: 11709
Re: STM32F407VE hang up using USB Serial(CDC) with 6 serial on.
Serial1.begin(152000); tried Serial1.begin(115200); instead? 152000 seemed quite odd a baud rate, but nevertheless, stm32's uart tend to still work with odd baud rates i actually tried successfully to connect esp8266 at 74880 baud on stm32f103 to dig into the bottom of it one may need a debugger so...
- Thu Jan 02, 2020 5:34 am
- Forum: STM32F4 based boards
- Topic: STM32F407VE hang up using USB Serial(CDC) with 6 serial on.
- Replies: 11
- Views: 11709
Re: STM32F407VE hang up using USB Serial(CDC) with 6 serial on.
try a debug? or did you try commenting the serialX to see where the 'hang' occurs? Thanks for your suggestion :) What I have tested is, 1. Use only the USB serial (Serial) --> result does not hang 2. Use USB Serial(Serial) and added Serial1 --> result does hang 3. I just added all the serial and US...