cancel
Showing results for 
Search instead for 
Did you mean: 

STM32 MAT/TARGET 4.4.2 ADC has bug

a m
Associate II
Posted on February 19, 2018 at 07:32

hello

when I use code generation,  I see the ADC block is disconnected!

matlab 2016b

stm32 MAT/TARGET 4.4.2

7 REPLIES 7
Posted on February 19, 2018 at 10:43

Hello, Sir

Could you please give me more information?

for example:

- which STM32 you use?

- If you provide a little test case if possible or at least an ioc file and Simulink file.

Thanks,

Posted on February 21, 2018 at 06:42

I reinstalled the software and STM32 respond when I tried to provide a little test case!

I think it was my mistake, sorry for wasting your time.

thank you for your respond.

Posted on February 21, 2018 at 07:09

Is it works now? I

f you found cause of problem 

please

describe 

how you resolved 

because it will helpful for 

of future readers with the same problem.

Best regards,

Posted on February 21, 2018 at 07:57

Yes it works now. I don't know the exact cause of problem but when I reinstalled stm32 MAT/TARGET and upgrade MATLAB from 2016b to 2017b problem solved!

Posted on February 21, 2018 at 12:36

Thank you so much.

Posted on February 22, 2018 at 12:48

Your well come.

thank you for your responds.

nailgg
Associate

Hello,

I also have the same problem. When I generate the code for my target, ADC block becomes disconnected! It looks like the output pins of the ADC read block are refreshed when I generate the code, and as a result, it's disconnected. It doesn't happen on the ADC interrupt block but only happens on channel reading block.

Matlab version is R2018a, and my target device is STM32F103RB. I tried reinstalling the STM32-MAT but it didn't help. Any advice?