Hi guys,
First, let me introduce myself.
Let me start saying that I am new to the embedded world. Despite I have been using Arduino for a few years now, even on Nucleo32 boards, I never really wrote any real code using STM32CubeIDE or similar.
I am currently working on an R&D motor controller task using the STSPIN32F0 (the core MCU is the STM32F031C6). STM already provides a motor controller library for it, and I was able to make it work. However, during my journey, I found out the VESC motor controller has been written using the ChubiOs, and that's why I started to get interested in ChibiOS.
The first question: is the STSPIN32F0 supported by ChibiOS? The core is an STM32F031C6 and the other peripherals (Opamp, comparator, and pre-driver) can be programmed using CubeMX. So my understanding is that I should be able to use ChibiOS for it.
Assuming that the board is supported (ADC, PWM, Serial). Is ChibiOS only meant for real-time or can I use the ChibiOS HAL libraries to speed up the development process without the need for a real-time system? STM32 is also providing HAL libraries but the environment seems to me not very user friendly me.
Thanks a lot, and extra Kudos to Giovanni!
STSPIN32F0 (STM32F031C6) ChibiOS
-
- Posts: 1
- Joined: Thu Jul 30, 2020 7:25 pm
- Has thanked: 1 time
- Giovanni
- Site Admin
- Posts: 14563
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1111 times
- Been thanked: 937 times
- Contact:
Re: STSPIN32F0 (STM32F031C6) ChibiOS
Hi,
The HAL can be used with or without an RTOS by just changing few inclusions in makefiles. The scenario is unusual, most choose to have RT or NIL also.
Giovanni
The HAL can be used with or without an RTOS by just changing few inclusions in makefiles. The scenario is unusual, most choose to have RT or NIL also.
Giovanni
Who is online
Users browsing this forum: No registered users and 4 guests