Skip to main content
Visitor II
March 28, 2025
Question

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

  • March 28, 2025
  • 3 replies
  • 381 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

 

    This topic has been closed for replies.

    3 replies

    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 ?

    MGOEL.1Author
    Visitor II
    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?

    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?

     

    Super User
    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.