Skip to main content
Graduate
May 19, 2022
Solved

First steps with STM32F446 and SPDIF

  • May 19, 2022
  • 3 replies
  • 1799 views

Hi,

I just got a Nucleo 64 with an STM32F466 and want to start developing some own software

  • initialise the MCU for with the maximum clock possible
  • read 96 kHz stereo SPDIF frames from one of the inputs (polling would be fine)
  • analyse the received data (just some very simple and fast math)

What I'm looking for are ideas for the first two points to start with. Any idea where I can find some sample codes/example implementations/beginners tutorials?

Here "beginner" means noob in terms of STM32 but not in terms of embedded software developments.

Thanks!

    This topic has been closed for replies.
    Best answer by waclawek.jan

    Read the reference manual for 'F446 as the very first thing, the first few chapters up to the interrupts. Ask here if anything is not clear.

    Then write the first blinky with default clocks settings. Then write the code setting PLL in RCC and then set PLL as system clock (don't forget to have a look at the VOS setting and don't forget to change FLASH latency, before doing any of that).

    Post code here if you get stuck.

    SPDIF is the same thing - just read the given chapter in RM and write your program accordingly.

    Alternatively, if you prefer this path, just click everything in CubeMX, and it then either works or not.

    JW

    3 replies

    Super User
    May 19, 2022

    Read the reference manual for 'F446 as the very first thing, the first few chapters up to the interrupts. Ask here if anything is not clear.

    Then write the first blinky with default clocks settings. Then write the code setting PLL in RCC and then set PLL as system clock (don't forget to have a look at the VOS setting and don't forget to change FLASH latency, before doing any of that).

    Post code here if you get stuck.

    SPDIF is the same thing - just read the given chapter in RM and write your program accordingly.

    Alternatively, if you prefer this path, just click everything in CubeMX, and it then either works or not.

    JW

    Visitor II
    March 16, 2024

    can you tell me the current sensor integration code with stm32f446

    Super User
    May 19, 2022

    First step is always to visit the Product Page and look at the resources available there - that's where you'll find application notes, examples, etc

    0693W00000NqFwfQAF.png

    Visitor II
    March 16, 2024

    basic step to learn stm32f446 code

    HMüll.4Author
    Graduate
    May 19, 2022

    That CubeMX-stuff seems to be perfectly what I'm looking for! From the description on the webpage I didn't really understand hwat it is ... anyhow, thank you for your help! :)