stm32

f_mount() returns FA_DISK_ERR

末鹿安然 提交于 2020-07-10 10:19:46
问题 I have made few changes in my source code after suggestion form everyone.For connecting FATFS API with SPI interface i have followed this code.. https://github.com/eziya/STM32_SPI_SDCARD/blob/master/Src/fatfs_sd.c and changed my user_diskio.c accordingly. After doing all those things then also my SD Card returns FA_DISK_ERROR . I have changed SD Card slot as well as SD Card. But nothing Changed. My user_diskio.c look like this: #include <string.h> #include "ff_gen_drv.h" #include "fatfs_sd.h"

STM32, master and slave devices not responding to each other

◇◆丶佛笑我妖孽 提交于 2020-07-06 19:06:54
问题 Dear stack overflow users, I have built a device with a master device, and a network of 10 slaves. All of them communicate via 4 wire SPI. Right now I am writing the program for both boards, and they don't seem to be working, I do not get expected responses. I have a master board, and 10 of identical slave boards. The protocol is simple - as with SPI any transaction is initiated by the master device, and a command is sent. The selected slave then receives aforemetioned command, sets a busy

STM32, master and slave devices not responding to each other

徘徊边缘 提交于 2020-07-06 19:05:43
问题 Dear stack overflow users, I have built a device with a master device, and a network of 10 slaves. All of them communicate via 4 wire SPI. Right now I am writing the program for both boards, and they don't seem to be working, I do not get expected responses. I have a master board, and 10 of identical slave boards. The protocol is simple - as with SPI any transaction is initiated by the master device, and a command is sent. The selected slave then receives aforemetioned command, sets a busy

STM32F0, ST-link v2, OpenOCD 0.9.0: open failed

两盒软妹~` 提交于 2020-06-25 07:40:08
问题 I'm using Launchpad's gcc-arm-none-eabi 4.9-2015q2 to compile for an STM32F0, and now I'd like to debug using arm-none-eabi-gdb from that collection. My ST-Link v2 is part of a Nucleo F411RE board, with external hardware (the STM32F0 target) attached. Flashing the F0 works fine, so I conclude that my SWD connections are good. Now I want to start OpenOCD, but it fails: $ openocd -f interface/stlink-v2.cfg -f target/stm32f0x.cfg Open On-Chip Debugger 0.9.0 (2015-07-26-16:02) Licensed under GNU

ST Motor Control Workbench STM32CubeMX Problem

左心房为你撑大大i 提交于 2020-06-17 10:28:13
问题 I am trying to generate ST Motor Control Workbench project but when I click generation button I get this error : "STM32CubeMX not found - ver. "4.25.0" or higher is required" I allready have STM32CubeMX version 4.26 by the way I had version 5.0 but I read on a blog that MC Workbench doeesn't support versions newer than 5.0 that's why I uninstalled 5.0 and installed 4.26 but I still get the same error. Is there any idea? 来源: https://stackoverflow.com/questions/62029414/st-motor-control