Questions tagged [cubemx]
71 questions
0
votes
1 answer
f_mount() returns FA_DISK_ERR
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…

Devjeet Mandal
- 345
- 1
- 4
- 23
0
votes
0 answers
How to transmit value of adc stm32 Bluetooth low energy x-nucleo?
I use the "Nucleo idb04a1 bluetooth low energy" extention. I downloaded the CubeMX from ST website. I ran the example project and it works fine.
Now I want to transmit through UART the value of ADC pin of the board STM32 f401RE and read the value of…

Flavio Torre
- 61
- 5
0
votes
2 answers
Macro visibility in CubeMx&Atollic bare project
I've created a simple CubeMx project from scratch and opened it up on Atollic TrueStudio. Of course, its compilation gets out successfully. I've been looking around in project's directories and files to better understand the bare structure upon…

MFrancone
- 161
- 1
- 10
0
votes
2 answers
STM32 SPI Transmit
I've been using an STM32F103C8, trying for a while to get the SPI interface. Been using Atollic TrueStudio. I'm still new at this so if this is a dumb question I hope you'll forgive me.
I can't seem to transmit anything on the SPI interface no…

Andrew Wheatley
- 1
- 1
- 2
0
votes
0 answers
How to work with W25Q32FV SPI FLASH?
As i was beginning with SPI FLASH from winbond W25Q32FV with STM32F103RCT6 CORTEX M3. I am facing a real issue of understanding how things should work.
I am using CUBEMX. First i have selected RCC as crystal/ceramic resonator and configured my clock…

Devjeet Mandal
- 345
- 1
- 4
- 23
0
votes
1 answer
What is the difference between LwIP PPPoS libraries? Which one should I use, that the STM32CubeMX gives or that the examples based on?
When I use STM32CubeMX, it gives me sources as follows:
https://github.com/tabascoeye/lwip/blob/master/src/netif/ppp/pppos.c
with functions pppos_create(..), pppos_input(..), ppp_connect(..)
When I look at the examples like created 1 year ago, it…

Sarp Engin Daltaban
- 45
- 1
- 11
0
votes
2 answers
stm32 generate PWM signal with multiple channels
HAL_TIM_PWM_Start(&htim3, TIM_CHANNEL_1);
HAL_TIM_PWM_Start(&htim3, TIM_CHANNEL_2);
TIM3->CCR1 =25000;
I'm trying to set 2 pins to the same PWM signal at the same time.
However, it doesn't work. Only 1 pin (channel 1) has PWM output and the 2nd…

Nick Sun
- 11
- 1
- 1
0
votes
1 answer
stm32 multiple channel with different sampling rate
I am working on project that which I need to employ two adc channels with different sampling rates over STM32F4x. The first channel where I need to monitor DC voltage (Vbat) with minimum sampling rate. While, the other channel I will use to pick up…

user9512877
- 3
- 1
0
votes
2 answers
Stm32f407 debugging issue
I have project of my own that employ stm32f407 mcu. I am using the discovery kit on board st-link to flash my project. Furthermore, I use the cubemx tool to configure the HAL of the project.
The problem is that while generating the HAL layer I…

user9512877
- 3
- 1
-1
votes
1 answer
how to do USART communication please tell me everything which should be taken care to do usart communication
I am Using Atollic and cubemx on ubuntu.

Nilesh Pal
- 23
- 7
-1
votes
1 answer
STM32F303C8 code not entering the while Loop
I have tried everything and am at real loss here.
The Problem Statement:
The code does not enter the while loop.
1.Working on STM32F303C8.
2.I have three boards:
Nucleo F303RE
Nucleo F303K8
Custom board.
All have the same IC and are giving the same…

indiaaditya
- 53
- 6