First steps with STM32F446 and SPDIF
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-05-19 12:23 AM
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!
Solved! Go to Solution.
- Labels:
-
RCC
-
STM32F4 Series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-05-19 1:21 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-05-19 1:21 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-05-19 1:54 AM
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
A complex system designed from scratch never works and cannot be patched up to make it work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-05-19 1:57 AM
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! :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-03-15 6:22 PM
can you tell me the current sensor integration code with stm32f446
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-03-15 6:24 PM
basic step to learn stm32f446 code
