Skip to content
Example of work Simulink with FMC128E/FM412x500M
HTML C C++ JavaScript CSS Objective-C Other
Branch: master
Clone or download
dsmv
Latest commit 8ddf86a Apr 8, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs Add README.md Apr 7, 2018
simulink_a7dac Add files Apr 7, 2018
simulink_adc Add files Apr 7, 2018
simulink_sm Add files Apr 7, 2018
.gitattributes Add ./gitattributes Apr 7, 2018
README.md

README.md

Simulink_sm

Example of work Simulink with FMC128E/FM412x500M via shared memory.

Overview

This project contain two s-functions for Simulink, two applications for control devices and Simulink model:

  • sm_adc - S-Function for get data from ADC via shared memory
  • sm_ctrl - S-Function for control signal generator via shared memory
  • simulink_adc - Application for get data from ADC with BARDY library
  • simulink_a7dac - Application for signal generator A7_DAC
  • system_m2.slx - Simulink model

Simulink model

system_m2

Hardware

Name Description URL
FMC128E Artix-7 USB 3.0 http://insys.ru/fmc/fmc128e
FM412x500M 4xADC 12-bit 500 MHz http://insys.ru/mezzanine/fm412x500m
A7_DAC 2xDAC 500 MHz

Doxygen documentation:

easyLink 3.3.0

sm_adc and sm_ctrl based on easyLink library: http://sourcesup.renater.fr/easylink

Result in Simulink

result

Result in Oscilloscope

osc

You can’t perform that action at this time.