Search found 19 matches

by MGeo
Wed Sep 16, 2020 9:07 am
Forum: Ideas & suggestions
Topic: Bare metal STM32 programming
Replies: 16
Views: 2210

Re: Bare metal STM32 programming

Nothing stopping you, go ahead and do it. The challenges I've run into with bare metal (which I think of as CMSIS / LL / c and asm register access to hardware as opposed to using Arduino higher level functions) is name collisions, multiple definitions and hard coded interrupts in core implementation...
by MGeo
Wed Sep 16, 2020 12:10 am
Forum: STM32F4 based boards
Topic: Continued issues with WeAct STM32F411
Replies: 2
Views: 102

Continued issues with WeAct STM32F411

I see this board presents challenges. With v1.9.0 core, Blink sketch and upload via J-Link SWD I have problems with board immediately losing the SWD connection and I am unable to debug. After that I am unable to connect to the board over SWD with or without hardware reset. I have to fully erase the ...
by MGeo
Sat May 23, 2020 10:32 am
Forum: Projects
Topic: (Arduino_Core_STM32) Libcanard based UAVCAN node
Replies: 13
Views: 3466

Re: (Arduino_Core_STM32) Libcanard based UAVCAN node

Hi flof, Pretty hard to say without a better understanding of your setup. Could you post a pic or diagram of your setup and how exactly you are testing? CAN bus hello world can be a big first step. Either everything is hooked up right and it just works or its not and you get nothing. I've found that...
by MGeo
Sat May 02, 2020 8:11 pm
Forum: STM boards (Discovery, Eval, Nucleo, ...)
Topic: Nucleo F072
Topic: Nucleo F072
Replies: 5
Views: 1099

Re: Nucleo F072

It turns out I was looking at a NUCLEO-F072RB variant as well. I want to make use of the USB Full-speed device (crystal-less) feature. The mapping is indeed different than the Disco F072RB board. Follwing the wiki directions (https://github.com/stm32duino/wiki/wiki/Add-a-new-variant-%28board%29), I ...
by MGeo
Sat Mar 21, 2020 8:45 pm
Forum: IDE's
Topic: STM32 with Sublime and Stino
Replies: 1
Views: 692

Re: STM32 with Sublime and Stino

The stino project looks to have been inactive for some time.

You might have better luck here https://github.com/stm32duino/wiki/wiki ... -extension
by MGeo
Sun Feb 09, 2020 1:14 pm
Forum: Projects
Topic: (Arduino_Core_STM32) Libcanard based UAVCAN node
Replies: 13
Views: 3466

Re: (Arduino_Core_STM32) Libcanard based UAVCAN node

I've now combined the F103 and F303 examples into a single example with #ifdefs to cover the deltas between those two processors, moved from my DWT library to builtin delayMicroseconds() and cleaned up the CAN/GPIO peripheral init routines. I've successfully retested on F103 and F303, and am conside...
by MGeo
Fri Jan 24, 2020 10:47 am
Forum: Projects
Topic: (Arduino_Core_STM32) Libcanard based UAVCAN node
Replies: 13
Views: 3466

Re: Libcanard based UAVCAN node (Arduino_Core_STM32)

fpiSTM wrote:
Wed Jan 22, 2020 10:39 am
Thanks MGeo,

About DWT, note that the core is already based on it for delayMicroseconds() arduino API ;)
Ah thanks. Not sure how I missed that. I will migrate over to core delayMicroseconds() in place of my library implementation.
by MGeo
Wed Jan 22, 2020 10:21 am
Forum: Projects
Topic: (Arduino_Core_STM32) Libcanard based UAVCAN node
Replies: 13
Views: 3466

Re: Libcanard based UAVCAN node (Arduino_Core_STM32)

The below url's are broken in your post: I like your delay routine, using the cyclecounter :) Where does : #include " stm32_def.h " come from ?? - the Arduino libs or some local stuff ?? Thanks. I fixed the broken links above. I borrowed the DWT based delay from the contributions of others via inte...
by MGeo
Sun Jan 19, 2020 4:42 pm
Forum: Projects
Topic: (Arduino_Core_STM32) Libcanard based UAVCAN node
Replies: 13
Views: 3466

Re: Libcanard based UAVCAN node (Arduino_Core_STM32)

F303CC test pictorial schematic:
by MGeo
Sun Jan 19, 2020 4:35 pm
Forum: Projects
Topic: (Arduino_Core_STM32) Libcanard based UAVCAN node
Replies: 13
Views: 3466

Re: Libcanard based UAVCAN node (Arduino_Core_STM32)

I've now completed testing of the F103C8 and F303CC UAVCAN based CAN examples in the repo, so now consider the repo to be up to date for v1.8 of core. I've used a Robotdyn F303CC black pill (https://robotdyn.com/stm32f303cct6-256-kb-flash-stm32-arm-cortexr-m4-mini-system-dev-board-3326a9dd-3c19-11e9...

Go to advanced search