Skip to main content
MGOEL.1
Associate III
March 28, 2025
Question

stm32f4 spi to spi data receive issue(which baud rate to use)

  • March 28, 2025
  • 3 replies
  • 1388 views

HI I AM TRYING TO DO DATA TRANSFER ON STM32F429 TO STM32F446 IN POLLING METHOD I AM ABLE TO TRANSFER DATA WITH FREQUENCY APB/2 BUT IN DMA AND INTERUPT MODE DATA IS NOT RECEIVED AND I AM REQUIRING NON BLOCKING MODE ONLY I NEED TO TRANSFER 14KB DATA IN ONE SHOT FOLLOWED THIS CHART BELOW ANY SUGGESTION WHICH BAUD RATE TO USE

MGOEL1_0-1743175006394.png

 

3 replies

Andrew Neil
Super User
March 28, 2025

PLEASE DON'T POST IN ALL CAPITALS!

 


@MGOEL.1 wrote:

IN DMA AND INTERUPT MODE DATA IS NOT RECEIVED


Is it actually transmitted ?

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
MGOEL.1
MGOEL.1Author
Associate III
March 28, 2025

Yes it is transmitted i have checked it byte by byte.Tranmission always ok only in reception issue is there 

Small data is received in all methods but all issue arises with large chunk can you suggest baudrate for both based on st drivers recommendaton?

Andrew Neil
Super User
March 28, 2025

@MGOEL.1 wrote:

Small data is received in all methods but all issue arises with large chunk 


What makes you think that the baud rate is the problem?

 

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
TDK
March 28, 2025

Use the slowest rate you can tolerate. Anything under 1 MHz should work just fine.

 

This issue is probably due to a code bug, not a clock issue.

"If you feel a post has answered your question, please click ""Accept as Solution""."