EmbDev.net

Forum: µC & Digital Electronics Program STM32 Board with a GUI in Matlab Simulink


Author: EMVA (Guest)
Posted on:

Rate this post
0 useful
not useful
Hello everybody,

I write my master thesis, in which a microcontroller is to be 
programmed.
Since I had little idea of ​​the programming of μC, I used the 
programming with the Matlab supportpackage (Simulink Coder Support 
Package for STMicroelectronics Nucleo Boards), which allows only the 
Arduino connectors of the STM32 F401RE board to be used.
This means that there is little adjustment for the board with this tool 
chain.

For this reason, I look for another possibility. This should be possible 
with the toolchain.

- Simulink should be used.
- Parameters should be changed with a slider
- The blocks in Simulink should be set with these parameters.
- These parameters are, for example, the PWM-wide of a PWM block whose 
c-routine is installed on the μC.
- There should also be I/O blocks with which values ​​from the board can 
be read in and can be displayed using scope.
- It is almost as similar as controldesk, the code should not be loaded 
every time on the μC board. (Not as in the external mode of Simulink)

The first step is to set the brightness of an LED with a slider in 
Simulink.

Thanks for your help

Reply

Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]




Bild automatisch verkleinern, falls nötig