← index #6237Issue #987
Off-topic · high · value 2.322
QUERY · ISSUE

STM32F407 uses FSMC problem

openby hu-luopened 2020-07-10updated 2025-10-03
port-stm32

Hello everyone, I transplant MicroPython to STM32F407. Now I need to use FSMC of STM32F407. but STM32F407 only has FSMC. I see that STM32F429DISC and STM32F769DISC have FMC support. How can I modify STM32F407 to use FSMC or FMC?
Thanks for your help.

CANDIDATE · ISSUE

Cannot import DAC on STM32F407

closedby ice3opened 2014-11-24updated 2014-11-25

Hello,

I run micropython on a F4discovery board : STM32F407.
It works great, thanks for your work.

Nevertheless, I can't import DAC.
I wanted to use the board Jack output (I don't know if it works, but anyway I will need some sort of DAC).

Here is the complete error message (when I run a script and press Ctrl-C in a screen):

PYB: sync filesystems
PYB: soft reboot
Traceback (most recent call last):
  File "main.py", line 5, in <module>
ImportError: cannot import name DAC
Micro Python v1.3.6-27-g3bdb23d on 2014-11-19; F4DISC with STM32F407

There are dac.o and dac.P in the build directory from where I upload the firmware.

Is this a known bug ?
Is there a workaround ?

Keyboard

j / / n
next pair
k / / p
previous pair
1 / / h
show query pane
2 / / l
show candidate pane
c
copy suggested comment
r
toggle reasoning
g i
go to index
?
show this help
esc
close overlays

press ? or esc to close

copied