Search found 24 matches

by MGeo
Sun Feb 09, 2020 1:14 pm
Forum: Projects
Topic: (Arduino_Core_STM32) Libcanard based UAVCAN node
Replies: 13
Views: 4119

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: 4119

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: 4119

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: 4119

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: 4119

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...
by MGeo
Wed Jan 15, 2020 10:20 am
Forum: Projects
Topic: (Arduino_Core_STM32) Libcanard based UAVCAN node
Replies: 13
Views: 4119

Re: Libcanard based UAVCAN node for Arduino_Core_STM32

F103 Bluepill end-to-end CAN testing now complete. ESC values input with UAVCAN GUI are sent over CAN bus to Bluepill node, which receives and retransmits those same ESC values out over Serial. Below is a screen-cap. You can just make out the ESC input values in the "ESC Management Panel" input slid...
by MGeo
Mon Jan 13, 2020 11:27 am
Forum: Projects
Topic: (Arduino_Core_STM32) Libcanard based UAVCAN node
Replies: 13
Views: 4119

Re: Libcanard based UAVCAN node for Arduino_Core_STM32

I still have some test work to do on the F1 serial output and test of F3 variant before I will consider the example up to date, but F1 CAN traffic appears to be working as expected. I'll update here once I get a chance to complete testing. For those looking to replicate, it is worth mentioning that ...
by MGeo
Mon Jan 13, 2020 10:19 am
Forum: Projects
Topic: (Arduino_Core_STM32) Libcanard based UAVCAN node
Replies: 13
Views: 4119

(Arduino_Core_STM32) Libcanard based UAVCAN node

Here is a "Hello World" example working for libcanard based UAVCAN on Arduino_Core_STM32. I've documented the work here to remember what I did and so that others can follow if so desired. I'm a big fan of Pavel Kirienko's open UAVCAN work (https://uavcan.org/) for my needs, mostly UAVs and drones at...
by MGeo
Sat Dec 21, 2019 2:14 pm
Forum: General discussion
Topic: [Q] How to know how much RAM memory microcontroller have at compile time?
Replies: 6
Views: 1699

Re: [Q] How to know how much RAM memory microcontroller have at compile time?

You can find RAM size in the variant linker scripts, in boards.txt (https://github.com/stm32duino/Arduino_C ... boards.txt), and also in the part datasheet for your given processor.

Finally, when you compile you get a percentage of dynamic memory used in the console pane.
by MGeo
Sat Dec 21, 2019 1:42 pm
Forum: STM32F4 based boards
Topic: NUCLEO-F405RG, the board ST forgot to build
Replies: 1
Views: 1477

NUCLEO-F405RG, the board ST forgot to build

Pics of board, rework locations highlighted.

SB33, SP38 removed, and C22, C25 populated with 2.2uF low ESR 1206 SMD ceramic caps

Go to advanced search