Search found 8 matches

by danny_h
Wed Jul 17, 2019 11:00 am
Forum: Other Boards
Topic: [STM32L471] Port for STM32 without USB connectivity
Replies: 4
Views: 3111

Re: [STM32L471] Port for STM32 without USB connectivity

#define MICROPY_HW_USB_FS (0) This was the first thing I tried. I started from the STM32L476DISC. The datasheets of L471VG and L476RG look the same when you look at the memory mappings and the alternative functions (except LCD and USB support within the AFs of the L476). So the linker file of the "...
by danny_h
Tue Jul 16, 2019 11:46 am
Forum: Other Boards
Topic: [STM32L471] Port for STM32 without USB connectivity
Replies: 4
Views: 3111

[STM32L471] Port for STM32 without USB connectivity

Hey there, I'm currently trying to port MicroPython onto a custom board with a STM32L471 µC. I already ported MicroPython to a custom board without an USB interface before. But that was with a STM32F407 and the difference is, that the L471 has no built-in USB connectivity. So my question is, if anyo...
by danny_h
Wed May 08, 2019 2:26 pm
Forum: Other Boards
Topic: [SOLVED][STM32F407] Including C "driver" in minimal port
Replies: 2
Views: 1970

Re: [STM32F407] Including C "driver" in minimal port

Wow what a dumb mistake... I actually missed to enable the clock for port D.
Thank you and sorry :lol:
by danny_h
Wed May 08, 2019 1:38 pm
Forum: Other Boards
Topic: [SOLVED][STM32F407] Including C "driver" in minimal port
Replies: 2
Views: 1970

[SOLVED][STM32F407] Including C "driver" in minimal port

I'd like to include a hardware driver to the minimal port, but first I think I should begin in a small way. So I wanted to just write a module in c, that can set the LED high but i doesn't work out. I took the minimal set-up code that is at the bottom of the main.c file and moved everything but void...
by danny_h
Mon Apr 29, 2019 7:43 am
Forum: Other Boards
Topic: [SOLVED][STM32F4xx] How can I get the minimal port running?
Replies: 2
Views: 2155

Re: [STM32F4xx] How can I get the minimal port running?

Thank you, Dave!

I think my problem was that I still had the Mini-USB cable plugged in as a power supply. After I did like you said I got the same results.
by danny_h
Wed Apr 17, 2019 8:19 am
Forum: Other Boards
Topic: [SOLVED][STM32F4xx] How can I get the minimal port running?
Replies: 2
Views: 2155

[SOLVED][STM32F4xx] How can I get the minimal port running?

Hey there, I'm trying to get the minimal port running on a STM32F4DISC and a STM32 NUCLEO-F411RE but both of them run into low power mode right after programming them. I tried it with ST-LINK and DfuSeDemo but both of them have the same result. This is what ST-LINK says after programming: 10:01:54 :...
by danny_h
Tue Apr 09, 2019 6:40 am
Forum: Other Boards
Topic: [SOLVED][STM32] Including C Libraries
Replies: 2
Views: 2256

Re: [STM32] Including C Libraries

Looks like I actually missed it. Thank you!
by danny_h
Wed Apr 03, 2019 8:43 am
Forum: Other Boards
Topic: [SOLVED][STM32] Including C Libraries
Replies: 2
Views: 2256

[SOLVED][STM32] Including C Libraries

Hey there, is it possible to include C libraries in MicroPython on a STM32 NUCLEO board? I already found a lot of threads dealing with this topic but most answers were like 'Better look for CPython libraries'. Still could be that I missed a thread where somebody already solved this. My problem is th...