Search found 356 matches

by rew
Sat Feb 20, 2021 2:45 pm
Forum: STM32 Support
Topic: USB_CDC output buffer status.
Replies: 3
Views: 113

Re: USB_CDC output buffer status.

OK! How do I instruct "chprintf" to do that?
by rew
Fri Feb 19, 2021 2:14 pm
Forum: STM32 Support
Topic: USB_CDC output buffer status.
Replies: 3
Views: 113

USB_CDC output buffer status.

I have several applications where my application on the STM32 provides an USB_CDC commandline interface to the user. So during development I have a terminal program to type commands and see responses. But then for "internal applications" I might want to automate something through the modul...
by rew
Mon Feb 15, 2021 5:41 pm
Forum: Development and Feedback
Topic: SD Card over SPI
Replies: 7
Views: 4104

Re: SD Card over SPI

For posterity.... Even with slow SPI speed, the long cables can be a problem. The SD cards are too small to house an on-card decoupling capacitor. So that should be just outside the card connector. So with these long wires, the SD card may suddenly draw too much power that the non-existant "clo...
by rew
Wed Jan 06, 2021 5:18 pm
Forum: Bug Reports
Topic: STM32L412 support.
Replies: 4
Views: 342

Re: STM32L412 support.

I got the nucleo32. It doesn't have the "target-USB" connector that I thought it had.
by rew
Sun Jan 03, 2021 5:19 pm
Forum: Development and Feedback
Topic: chibios: reducing code.
Replies: 3
Views: 221

Re: chibios: reducing code.

OK. I downloaded the stupid thing. Then I get a welcome screen with a "readme" link. CLick there. Download more and... screen is VERY complicated but no "readme" info. new chibios project? new menu entry gives me "java project" and "enum" as options. Where is ...
by rew
Sun Jan 03, 2021 4:02 pm
Forum: General Support
Topic: brushless motor control for gimbal(DRV8313)
Replies: 1
Views: 285

Re: brushless motor control for gimbal(DRV8313)

You need to make a "BLDC motor controller". This is FAR from trivial. You can look at VESC (also uses CHIBIOS) for example code.
by rew
Sun Jan 03, 2021 3:57 pm
Forum: Development and Feedback
Topic: chibios: reducing code.
Replies: 3
Views: 221

chibios: reducing code.

I just ported a demo application to a new baord/cpu. Everything just works, but... I've had to change/add about 1800 lines-of code. In reality I didn't need to change all that much. I'd like to reorganize chibios and the demos/testhal programs to be more compact. So for example, almost all board.mk ...
by rew
Sun Jan 03, 2021 3:36 pm
Forum: Bug Reports
Topic: STM32L412 support.
Replies: 4
Views: 342

Re: STM32L412 support.

Attached are the changes I did to support my L412 board. USB_CDC works. I called the board ST_STM32L412 or something like that. I think this will run on the small nucleo for this CPU. https://nl.farnell.com/2980964 I have it in my cart, but not yet ordered, because I'm willing to spend EUR10 to get ...
by rew
Mon Nov 30, 2020 12:04 pm
Forum: Bug Reports
Topic: STM32L412 support.
Replies: 4
Views: 342

STM32L412 support.

Hi,
I've designed a new board that I'm going to be making a couple of. I've selected the L412 processor. What would it take to support that in chibios? I can't find any files named *L412* (i.e. no demos, no examples, no headers).
by rew
Sun Nov 08, 2020 9:57 pm
Forum: STM32 Support
Topic: gcc-arm-none-eabi-9-2020-q2-update-aarch64-linux.tar.bz2
Replies: 2
Views: 207

Re: gcc-arm-none-eabi-9-2020-q2-update-aarch64-linux.tar.bz2

Last time I tried that it took hours to compile on a PC much faster than the PI. That's going to take a while.

Go to advanced search