cancel
Showing results for 
Search instead for 
Did you mean: 

Stm32F3 in Matlab

micha2
Associate II
Posted on November 06, 2013 at 16:57

Hello,

Is it true that the STM32 Target for Matlab Simulink is only available for STM32F4 Discovery? In the description here http://www.st.com/web/en/catalog/tools/PF258513 they speak of general STM32, but then it is precised to STM32F4 Discovery. I would like to programm my STM32F3 with matlab (version 2013b), but did not manage it yet.

Michael

#i�c #stm32 #discovery #stm32-mat/target-matlab-stm32f4 #matlab #stm32-mat/target
6 REPLIES 6
Amel NASRI
ST Employee
Posted on November 07, 2013 at 07:38

Hi Michael,

Yes, in the release 3.0, only STM32F4 series are supported.

-Mayla-

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

micha2
Associate II
Posted on November 07, 2013 at 08:50

alright, thank you.

So, if I buy a STM32F4, will it be possible to also program an I²C connection somehow? In this package, there are only Blocks for I/O, USART, Timer and ADCs included. If I²C is not  possible, I can not use the board.

Michael

Amel NASRI
ST Employee
Posted on November 07, 2013 at 11:41

Yes, F4 products contain I2C.

In this package, there are only Blocks for I/O, USART, Timer and ADCs included.

 

Which one?

-Mayla-

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

micha2
Associate II
Posted on November 07, 2013 at 12:24

sorry, I meant the package ''

STM32 embedded target for MATLAB

3.0'' wich I posted the link for above.

http://www.st.com/web/en/catalog/tools/PF258513

Can I use the I²C through this Matlab Target?

 

Amel NASRI
ST Employee
Posted on November 08, 2013 at 13:28

Sorry Michael for misunderstood.

Unfortunately, I2C isn't supported in the 3.0 package of Simulink.

-Mayla-

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

ben
Associate II
Posted on May 01, 2014 at 12:17

Hi 

I was wandering if the 3.1 package supports the I²C connection? I am trying to read out a gyroscope, accelerometer and magnetometer using I²C (https://www.sparkfun.com/products/10724#images-modal). However I am not sure how to establish this kind of connection. I am using the STM32F429I-DISCO board.

Is it possible to do this in Simulink? Or do I need to program it myself? (my programming skills are close to zero so I was hoping to do it with Simulink (/Matlab).

Ben G.