Skip to Content
Beginning STM32: Developing with FreeRTOS, libopencm3 and GCC
book

Beginning STM32: Developing with FreeRTOS, libopencm3 and GCC

by Warren Gay
June 2018
Intermediate to advanced
418 pages
8h 26m
English
Apress
Content preview from Beginning STM32: Developing with FreeRTOS, libopencm3 and GCC
© Warren Gay 2018
Warren GayBeginning STM32https://doi.org/10.1007/978-1-4842-3624-6_19

19. CAN Bus Software

Warren Gay1 
(1)
St. Catharines, Ontario, Canada
 

The CAN bus demonstration in the previous chapter illustrated three STM32 MCUs sharing messages on a common bus. None were masters and none were slaves. All of this was orchestrated with the help of the STM32 CAN bus peripheral and the libopencm3 device driver.

This chapter will discuss the use of the libopencm3 driver API so that you can build CAN bus applications of your own. When combined with the use of FreeRTOS, you will have a convenient environment from which to program more-complex creations.

Initialization

The project source modules are located in the following directory:

$ cd ~/stm32f103c8t6/rtos/can ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Beginning STM32: Developing with FreeRTOS, libopencm3, and GCC

Beginning STM32: Developing with FreeRTOS, libopencm3, and GCC

Warren Gay

Publisher Resources

ISBN: 9781484236246Purchase LinkPublisher Website