Loading...
Searching...
No Matches
STM32 Nucleo-64

Support for STM32 Nucleo-64 boards. More...

Detailed Description

Support for STM32 Nucleo-64 boards.

Modules

 STM32 Nucleo-C031C6
 Support for the STM32 Nucleo-C031C6.
 
 STM32 Nucleo-F030R8
 Support for the STM32 Nucleo-F030R8.
 
 STM32 Nucleo-F070RB
 Support for the STM32 Nucleo-F070RB.
 
 STM32 Nucleo-F072RB
 Support for the STM32 Nucleo-F072RB.
 
 STM32 Nucleo-F091RC
 Support for the STM32 Nucleo-F091RC.
 
 STM32 Nucleo-F103RB
 Support for the STM32 Nucleo-F103RB.
 
 STM32 Nucleo-F302R8
 Support for the STM32 Nucleo-F302R8.
 
 STM32 Nucleo-F303RE
 Support for the STM32 Nucleo-F303RE.
 
 STM32 Nucleo-F334R8
 Support for the STM32 Nucleo-F334R8.
 
 STM32 Nucleo-F401RE
 Support for the STM32 Nucleo-F401RE.
 
 STM32 Nucleo-F410RB
 Support for the STM32 Nucleo-F410RB.
 
 STM32 Nucleo-F411RE
 Support for the STM32 Nucleo-F411RE.
 
 STM32 Nucleo-F446RE
 Support for the STM32 Nucleo-F446RE.
 
 STM32 Nucleo-G070RB
 Support for the STM32 Nucleo-G070RB.
 
 STM32 Nucleo-G071RB
 Support for the STM32 Nucleo-G071RB.
 
 STM32 Nucleo-G431RB
 Support for the STM32 Nucleo-G431RB.
 
 STM32 Nucleo-G474RE
 Support for the STM32 Nucleo-G474RE.
 
 STM32 Nucleo-L053R8
 Support for the STM32 Nucleo-L053R8.
 
 STM32 Nucleo-L073RZ
 Support for the STM32 Nucleo-L073RZ.
 
 STM32 Nucleo-L152RE
 Support for the STM32 Nucleo-L152RE.
 
 STM32 Nucleo-L433RC
 Support for the STM32 Nucleo-L433RC.
 
 STM32 Nucleo-L452RE
 Support for the STM32 Nucleo-L452RE.
 
 STM32 Nucleo-L476RG
 Support for the STM32 Nucleo-L476RG.
 
 STM32 Nucleo-WL55JC
 Support for the STM32 Nucleo-W55JC.
 

Files

file  arduino_iomap.h
 Mapping from MCU pins to Arduino pins.
 
file  board.h
 Common pin definitions and board configuration options.
 

Describe DC motors with PWM channel and GPIOs

static const motor_driver_config_t motor_driver_config []
 
#define MOTOR_DRIVER_NUMOF   ARRAY_SIZE(motor_driver_config)
 

LED pin definitions and handlers

#define LED0_PIN_NUM   5
 
#define LED0_PORT_NUM   PORT_A
 

User button

#define BTN0_PIN   GPIO_PIN(PORT_C, 13)
 
#define BTN0_MODE   GPIO_IN_PU
 

Describe MRF24J40 radio

#define MRF24J40_PARAM_SPI   SPI_DEV(0)
 
#define MRF24J40_PARAM_SPI_CLK   SPI_CLK_5MHZ
 
#define MRF24J40_PARAM_CS   ARDUINO_PIN_10
 
#define MRF24J40_PARAM_INT   ARDUINO_PIN_7
 
#define MRF24J40_PARAM_RESET   ARDUINO_PIN_5
 

Macro Definition Documentation

◆ BTN0_MODE

#define BTN0_MODE   GPIO_IN_PU

Definition at line 55 of file board.h.

◆ BTN0_PIN

#define BTN0_PIN   GPIO_PIN(PORT_C, 13)

Definition at line 50 of file board.h.

◆ LED0_PIN_NUM

#define LED0_PIN_NUM   5

Definition at line 41 of file board.h.

◆ LED0_PORT_NUM

#define LED0_PORT_NUM   PORT_A

Definition at line 42 of file board.h.

◆ MOTOR_DRIVER_NUMOF

#define MOTOR_DRIVER_NUMOF   ARRAY_SIZE(motor_driver_config)

Definition at line 87 of file board.h.

◆ MRF24J40_PARAM_CS

#define MRF24J40_PARAM_CS   ARDUINO_PIN_10

Definition at line 103 of file board.h.

◆ MRF24J40_PARAM_INT

#define MRF24J40_PARAM_INT   ARDUINO_PIN_7

Definition at line 107 of file board.h.

◆ MRF24J40_PARAM_RESET

#define MRF24J40_PARAM_RESET   ARDUINO_PIN_5

Definition at line 111 of file board.h.

◆ MRF24J40_PARAM_SPI

#define MRF24J40_PARAM_SPI   SPI_DEV(0)

Definition at line 95 of file board.h.

◆ MRF24J40_PARAM_SPI_CLK

#define MRF24J40_PARAM_SPI_CLK   SPI_CLK_5MHZ

Definition at line 99 of file board.h.

Variable Documentation

◆ motor_driver_config

const motor_driver_config_t motor_driver_config[]
static
Initial value:
= {
{
.pwm_dev = 1,
.mode_brake = MOTOR_BRAKE_HIGH,
.pwm_mode = PWM_LEFT,
.pwm_frequency = 20000U,
.pwm_resolution = 2250U,
.nb_motors = 1,
.motors = {
{
.pwm_channel = 0,
.gpio_enable = 0,
.gpio_dir0 = ARDUINO_PIN_15,
.gpio_dir1_or_brake = 0,
.gpio_dir_reverse = 0,
.gpio_enable_invert = 0,
.gpio_brake_invert = 0,
},
},
.cb = NULL,
},
}
@ PWM_LEFT
left aligned
@ MOTOR_DRIVER_1_DIR
Single GPIO for direction, \ no BRAKE.
@ MOTOR_BRAKE_HIGH
High stage brake.

Definition at line 63 of file board.h.