-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for STM32F7 #9
Comments
Hi, someone tried my F4 version of F7 but did not shared more info or code so I couldn't help with that. |
I've received the code from the guy who did porting to F7. You can start from here, he says it should work. |
Thanks - thats really very helpful - and appreciate you getting the code. It compiles with no issue - although your sample visEffects does not run (just white constant LED's from Pin PD1). As you suggest - configuring TIM and DMA is required for the F7 chip - looks beyond my limited knowledge on how to do that - reading the posts from F3 content you mention - its unclear how that would help me setup for a F7. Thanks again for sharing the code - I will try to hack my way through setup of TIM and DMA. Any pointers/articles or resources you feel will help would be very helpful. |
You're welcome. |
I had a good search for the documentation - but couldn't find the corosponding tables. However, using STMCubeIDE, I was able to determine what I think is a correct configuration. To me it looks like DMA1, Stream 1, 5 & 6 support PWM Generation on TIM2 UP/CH3, CH1 & CH2/CH4 respectively. Do you Agree? |
You are talking about TIM1, but in DMA1 there is no TIM1 and you are refering to TIM2. I've opened the code I've sent you and it seems configured fine. The user of F7 who sent me the code used TIM1, see function Then in So check if your code is jumping to the TIM1 IRQ handler |
Sorry - I was confused by the different permutations! You are absolutley correct I meant TIM2 on DMA1 (I edited my post to correct the typo). I am now looking at TIM1 on DMA2 (see how easy it is to get turned around!). Thank you for the pointer to the documentation - I spent a few hours looking for it (and getting distracted learning new things on the way :D). I have gone back to the original code from the other F7 user you kindly provided. I will focus on getting a basic version running and move from there. Really appreciate you helping me. |
Hi there - really enjoyed your material, helps me understand the bit banding features of this processor family.
Can you tell me which libaray would best support the STM32F7 (Cortex M7) processor? Thank you
The text was updated successfully, but these errors were encountered: