setupTarget

Top  Next

setupTarget


set up embedded target platform

Since R2019b

 

Library: embeddedCreatorLib ( Dafulai Electronics) /setupTarget

 

 

setupTarget

 

 


 

Description


 

This block sets up which Micro-controller family will be used.

 

Notes:  1  For any embedded Micro-controller platform, you must have one "SetupTarget" block. And you must install windows IDE software for this platform. For Microchip embedded platform, the IDE software is MPLABX IDE and MCC or Harmony.  For STM32 platform, the IDE  software is STM32CubeIDE. For TI DSP C28X platform, the IDE  software is CCS, SysConfig, C2000ware.

2  Before you use code creator, you must use platform IDE software to configure all hardware resource you will use in Simulink model. You must use timer1 as Simulink 1 ms tick source if it is Microchip Non-Arm Cortex platform. You must use tcc1 as Simulink 1 ms tick source if it is Microchip Arm Cortex platform.

3  All blocks we provide for embedded target are "non-blocking" in order to keep real-time in bare metal programming environment.

 

 

Parameters


 

Please double click this block to open parameters dialog below:

 

setupTarget_param

 

 

Let us explain parameters.

 

 

Microchip PIC18 based on MCC classic — Target MCU is Microchip PIC18 family, and we use MCC classic configuration software.

 

Microchip PIC24/dsPic33 based on MCC classic — Target MCU is Microchip PIC24/dsPIC33 family, and we use MCC classic configuration software

 

Microchip PIC18 based on MCC Melody — Target MCU is Microchip PIC18 family, and we use MCC Melody configuration software.

 

Microchip PIC24/dsPic33 based on MCC Melody — Target MCU is Microchip PIC24/dsPIC33 family, and we use MCC Melody configuration software

 

Microchip PIC32-MIPS based on MCC Harmony —  Target MCU is Microchip PIC32 Mips family, and we use MCC Harmony configuration software

 

STM32 based on STM32CubeMx — Target MCU is STM32 family, and we use STM32CubeIDE or STM32CubeMx configuration software

 

TI DSP C2000 based on SysConfig — Target MCU is TI C2000, and we use SysConfig software to set up low layer's hardware code.

 

Microchip PIC32-Arm-Cortex & SAM based on MCC Harmony — Target MCU is Microchip PIC32 ARM Cortex family, and we use MCC Harmony configuration software.

 

 

Ports


 

Input

 

None

 

Outport


 

None.

 

Examples