RTEMS 6.3
Loading...
Searching...
No Matches
NXP MPC55XX and MPC56XX

NXP MPC55XX and MPC56XX Board Support Package. More...

Topics

 Configuration files
 Deserial Serial Peripheral Interface (DSPI)

Files

file  bsps/powerpc/mpc55xxevb/clock/clock-config.c
 Clock driver configuration.
file  bsps/powerpc/mpc55xxevb/include/bsp.h
 Global BSP definitions.
file  bsps/powerpc/mpc55xxevb/include/bsp/irq.h
 IRQ.
file  bsps/powerpc/mpc55xxevb/include/bsp/mpc55xx-config.h
 Low-level configuration.
file  bsps/powerpc/mpc55xxevb/include/bsp/smsc9218i.h
 SMSC - LAN9218i.
file  bsps/powerpc/mpc55xxevb/include/mpc55xx/edma.h
 Enhanced Direct Memory Access (eDMA).
file  bsps/powerpc/mpc55xxevb/include/mpc55xx/emios.h
 Enhanced Modular Input Output Subsystem (eMIOS).
file  bsps/powerpc/mpc55xxevb/include/mpc55xx/mpc55xx.h
 Documentation for this file.
file  bsps/powerpc/mpc55xxevb/include/mpc55xx/reg-defs.h
 Register definitions.
file  bsps/powerpc/mpc55xxevb/include/mpc55xx/regs-edma.h
file  bsps/powerpc/mpc55xxevb/include/mpc55xx/regs-mmu.h
file  bsps/powerpc/mpc55xxevb/include/mpc55xx/regs.h
 Register definitions for the MPC55xx and MPC56xx microcontroller family.
file  bsps/powerpc/mpc55xxevb/include/mpc55xx/siu.h
 System Integration Unit Access (SIU).
file  bsps/powerpc/mpc55xxevb/include/mpc55xx/watchdog.h
 Header file for the watchdog timer.
file  bsps/powerpc/mpc55xxevb/start/bspgetworkarea.c
 This source file contains the powerpc/mpc55xxevb implementation of _Memory_Get().
file  bsps/powerpc/mpc55xxevb/start/bspreset.c
 BSP reset.
file  bsps/powerpc/mpc55xxevb/start/bspstart.c
 BSP startup code.
file  bsps/powerpc/mpc55xxevb/start/edma.c
 Enhanced Direct Memory Access (eDMA).
file  bsps/powerpc/mpc55xxevb/start/emios.c
 Enhanced Modular Input Output Subsystem (eMIOS).
file  bsps/powerpc/mpc55xxevb/start/flash_support.c
 MPC55XX flash memory support.
file  bsps/powerpc/mpc55xxevb/start/get-system-clock.c
 System clock calculation.
file  bsps/powerpc/mpc55xxevb/start/idle-thread.c
 bsp_idle_thread() implementation.
file  bsps/powerpc/mpc55xxevb/start/irq.c
 Source file for MPC55XX interrupt support.
file  bsps/powerpc/mpc55xxevb/start/sd-card-init.c
 SD Card initialization code.
file  bsps/powerpc/mpc55xxevb/start/siu.c
 System Integration Unit Access (SIU).
file  bsps/powerpc/mpc55xxevb/start/start-clock.c
 Clock and FMPLL initialization code.
file  bsps/powerpc/mpc55xxevb/start/start-config-clock.c
 Clock and FMPLL configuration.
file  bsps/powerpc/mpc55xxevb/start/start-config-ebi-cs-cal.c
 EBI calibration chip-select configuration.
file  bsps/powerpc/mpc55xxevb/start/start-config-ebi-cs.c
 EBI chip-select configuration.
file  bsps/powerpc/mpc55xxevb/start/start-config-ebi.c
 EBI configuration.
file  bsps/powerpc/mpc55xxevb/start/start-config-mmu-early.c
 MMU early configuration.
file  bsps/powerpc/mpc55xxevb/start/start-config-mmu.c
 MMU configuration.
file  bsps/powerpc/mpc55xxevb/start/start-config-siu-pcr.c
 SIU PCR configuration.
file  bsps/powerpc/mpc55xxevb/start/start-early.c
 Early initialization code.
file  bsps/powerpc/mpc55xxevb/start/start-prologue.c
 Start prologue.
file  bsps/powerpc/mpc55xxevb/start/start-watchdog.c
 Watchdog initialization code.

Macros

#define BSP_FEATURE_IRQ_EXTENSION
#define MPC55XX_PERIPHERAL_CLOCK   (MPC55XX_SYSTEM_CLOCK / MPC55XX_SYSTEM_CLOCK_DIVIDER)
#define BSP_Convert_decrementer(_value)
 Convert Decrementer ticks to microseconds.
#define RTEMS_BSP_NETWORK_DRIVER_ATTACH   smsc9218i_attach_detach
#define RTEMS_BSP_NETWORK_DRIVER_NAME   "eth0"
#define BSP_IDLE_TASK_BODY   bsp_idle_thread
#define BSP_DSRAM_SECTION   __attribute__((section(".bsp_dsram")))
#define BSP_SYSRAM_SECTION   __attribute__((section(".bsp_sysram")))

Functions

rtems_status_code mpc55xx_sd_card_init (bool mount)
int smsc9218i_attach_detach (struct rtems_bsdnet_ifconfig *config, int attaching)
rtems_status_code bsp_register_i2c (void)
void bsp_restart (void *addr)
void * bsp_idle_thread (uintptr_t arg)
 Optimized idle task.

Variables

unsigned int bsp_clock_speed
 System clock frequency.
uint32_t bsp_clicks_per_usec
 Time base clicks per micro second.

Detailed Description

NXP MPC55XX and MPC56XX Board Support Package.

Macro Definition Documentation

◆ BSP_Convert_decrementer

#define BSP_Convert_decrementer ( _value)
Value:
(((unsigned long long) (_value)) / ((unsigned long long)bsp_clicks_per_usec))

Convert Decrementer ticks to microseconds.

Function Documentation

◆ bsp_idle_thread()

void * bsp_idle_thread ( uintptr_t arg)

Optimized idle task.

This idle task sets the power mode to idle. This causes the processor clock to be stopped, while on-chip peripherals remain active. Any enabled interrupt from a peripheral or an external interrupt source will cause the processor to resume execution.

To enable the idle task use the following in the system configuration:

#include <bsp.h>
#define CONFIGURE_INIT
#define CONFIGURE_IDLE_TASK_BODY bsp_idle_thread
#include <confdefs.h>
This header file evaluates the application configuration options defined by the application.