STM32CubeMX (MCUs)

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

How to use Cube MX library for the SPI communication?

I am using STM32F103VCT controller to test SPI communication. I am generating the code by Cube MX.I want to use SPI2 as Slave and SPI3 as Master. I want to transfer data from Master SPI3 to Slave SPI2.I want to use the SS pin in both the case.Please ...

Kedar by Associate
  • 173 Views
  • 0 replies
  • 0 kudos

DMA CubeMX enabling for HAL_SPI_TransmitReceive_DMA()?

Hi there,I am currently using the HAL_SPI_TransmitReceive() function for back-to-back read/write with a GPS modem as the slave. If i want to now implement the SPI coms with DMA, what is the correct DMA channel config in CubeMX?Only one DMA channel is...

NA1 by Associate II
  • 323 Views
  • 3 replies
  • 0 kudos

initialize FatFS with SPI In stm32cubeMX

Posted on March 10, 2015 at 21:34Hi, I want to read/write data to SD card via SPI. is it possible to initialize the FatFS module to work with SPI interface in cubeMX tool? The SD card option in the FatFS middleware is available only when I am enabli...

sashaa by Associate II
  • 1450 Views
  • 9 replies
  • 1 kudos

Resolved! using SPI to read register value

Hello GuysI am asking you kindly your help.I am trying to read register data from the LSM6DS3 IMU sensor from STM using SPI. I succeeded reading the value 0x69 from register WHO_AM_I using Arduino.Now I am stuck when trying to do it with STM32 micro-...

0690X0000089wYGQAY.jpg 0690X0000089wYQQAY.jpg
moha by Associate II
  • 2434 Views
  • 4 replies
  • 0 kudos

STM32L476G-DISCO SPI

Hi,I am working on STM32L476G-DISCO, and I want to interface it with Arduino uisng SPI, but I found that this STM all SPI (SPI1,SPI2 and SPI3) PIN is not on I/O PIN, so how I interface it with Arduino using SPI??

RKhal.2 by Associate III
  • 348 Views
  • 2 replies
  • 1 kudos

STM3240G _EVAL with SPI/UART

Hi, Is there any support for the STM3240G _EVAL using SPI? I tried with the C:\STM32Cube_FW_F4_V1.23.0\Projects\STM32F4-Discovery\Examples\SPI\SPI_FullDuplex_ComPolling as there is a document that state this can be used for STM3240G_EVAL board but it...

0690X000006D8EmQAK.png
Sky by Associate
  • 338 Views
  • 2 replies
  • 0 kudos

Problem with SPI Master / Slave Communication

We have a new board with seven STM32H743 onboard. One is used as SPI-master, the other 6 are SPI-slaves. Clock speed is set to 25MHz. When communicating to the slaves, 3 of them return wrong data after a few seconds. The initialisation code for the S...

GS1 by Senior III
  • 309 Views
  • 4 replies
  • 0 kudos

STM32CubeMX and B-L475E-IOT01A SPI2

I am using STM32CubeMX v5.0.1 on Windows10. I am trying to set up the B-L475E-IOT01A board's SPI2 port to communicate with a SPI based PMOD device. The user manual for the board shows SPI2 to be the port that connected to PMOD. STM32CubeMX will no...

ptracton by Associate II
  • 252 Views
  • 1 replies
  • 0 kudos