Skip to main content
sanjeevkumar TM
Associate II
January 19, 2018
Question

problem with STM32_MAT-TARGET in external mode

Posted on January 19, 2018 at 07:41

hello i am using STM32_Mat_target 4.4.2 but i am not able to communicate my board stm32f407vg externally i am getting error for connection any one please help me regarding this

    This topic has been closed for replies.

    9 replies

    Andrew Neil
    Super User
    January 19, 2018
    Posted on January 19, 2018 at 09:35

    You mean this: 

    http://www.st.com/en/development-tools/stm32-mat-target.html

      ?

    You need to give more details about the 'error' you are receiving.

    What basic connectivity checks have you done? eg, check in Device Manager ... ?

    Is there no troubleshooting guidance in the documentation on the linked page?

    A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
    sanjeevkumar TM
    Associate II
    January 19, 2018
    Posted on January 19, 2018 at 11:15

    Here i attach the error am getting and i followed the step as per the manual. can u please suggest me what exactly happening. also please tell a configuration required for this. her i attached configuration of cubemx also. you help is more appreciated. 

    Thankyou

    0690X00000609RAQAY.png0690X00000609HNQAY.png
    Andrew Neil
    Super User
    January 19, 2018
    Posted on January 19, 2018 at 12:33

    The error message gives you 3 possible causes for the problem - have you checked each one?

    Please give full details.

    A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
    sanjeevkumar TM
    Associate II
    January 19, 2018
    Posted on January 19, 2018 at 11:20

    I checked device manager also all connections are fine.. same external mode is working with embedded coder support package for stm32f4 discovery bord hardware support package.

    But in that package PWM, SPI, I2C, UART blocks are not available.

    Only ADC, and Digital i/p, o/p blocks with hardware interrupt blocks are there.

    For my Research project almost all are required for analysis i need external mode.

    Visitor II
    February 1, 2018
    Posted on February 01, 2018 at 10:04

    Did you can resolved the problem?

    sanjeevkumar TM
    Associate II
    February 2, 2018
    Posted on February 02, 2018 at 05:35

    sorry for the delay... I resolved but also have some other doubts regarding

    the configuration of ADC in Cubemx.

    1. Whatever the program I write it in Matlab after build into a Keil it

    works fine in Keil software. But the result is not able to monitor in

    Matlab.

    2. Now I resolved this by enabling DMA in Cubemx. If we don't enable

    this DMA we get only one conversion value in Matlan scope after it will not

    show the conversion. But the conversion we can sea in Keil.

    3. So, I have doubt on this configuration in Cubemx. Please help me

    regarding this what configuration i have to do exactly in Cubemx

    4. Last am not able to make out Single, continuous and discontinuous

    conversion difference and how to set the delay in Matlab to read the ADC

    value. now am not able to set a delay in this.

    On Thu, Feb 1, 2018 at 2:36 PM, Aimagin Co., Ltd. <