cancel
Showing results for 
Search instead for 
Did you mean: 

Face problem during External connection with timer block

sanjeevkumar TM
Associate II
Posted on March 07, 2018 at 08:22

Hello, 

I am facing a problem with Timers actually I am using STM32F407VG discovery board for External connection. I am testing my algorithm to control led's our algorithm generates PWM duty cycles when am using in external mode i change the duration in Simulation from 1000 to 100 simulink>>code>>external mode control panel>>Signal and triggering>>Duration at that time am not able to work in external mode if i tried to change any input's  matlab is crashing. if i used Duration rather than 100 to 1000 program is working fine but am not able to visible the results in scope/display please help me regarding this. If required any configuration for this external part please help regarding this. Thanks in advance. below i a attached the file which one is crashing If any help regarding this is more helpful for me. regarding Matlab/Cubemx settings.

2 REPLIES 2
Posted on March 08, 2018 at 04:08

Hi, Sanjeevkumar

Could you please give me about your hardware setup?

Have you setup your 

STM32F407VG as this

https://community.st.com/0D70X000006T0sJSAS

?

https://community.st.com/0D70X000006T0sJSAS

 

Best regards,

Posted on March 08, 2018 at 05:38

I did Hardware configuration as per the instruction i worked earlier with

other examples it was working fine but when system become little bit

complex at that time i am facing this issue. earlier one i attached the

files where i am facing the problems. For STM32F407VG external connection

am using USB-TTL connector. Please find below files for the problem what am

facing to read values in Scope/Display and also it crashes the matlab/stops

working.

On Thu, Mar 8, 2018 at 8:38 AM, Aimagin Co., Ltd. <

________________

Attachments :

Glare_Uniformity.fis.zip : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006Hxuh&d=%2Fa%2F0X0000000b2A%2FteGMnkEUAZku4OipuMiy4iEq9c2FAdh2GSld54KbaZc&asPdf=false

VC_TC_energy.fis.zip : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006Hxuc&d=%2Fa%2F0X0000000b27%2F428wg.FLQrKfO_4lSfNeVK1GJ.FKMPBNrUOT83GtQ2w&asPdf=false

Fuzzy1_PWM.ioc.zip : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006Hxan&d=%2Fa%2F0X0000000b2C%2FHaN.8AKN7_6Eba9BrtPP5NbhvudRs1pps.B3JBnKQo4&asPdf=false

Fuzzy2_PWM.slx.zip : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006Hxuw&d=%2Fa%2F0X0000000b2E%2FV6w.s.X9Mk8Jpnu._Kb1Yq4_lUByE.kHUTDPNeIiwhY&asPdf=false

Energy_Effectiveness_new.fis.zip : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006Hxum&d=%2Fa%2F0X0000000b2B%2F_TLc9yCxoRSAq1qJEbvI8jSiAzerX.SYZX8VjL7YCos&asPdf=false