X4M03 and matlab code implemented via Atmel Studio 7

Discussion in 'X4M03' started by NSANGOU CHOUAIBOU, May 4, 2018.

  1. NSANGOU CHOUAIBOU

    NSANGOU CHOUAIBOU Active Member

    Hi,
    Novelda team has made a tremendous amount of development softwares (API, firmwares, module connectors, etc...), but there is a missiing link : What is the bridge between Atmel Studio 7 (to program the MCU of the sensor) and Matlab code for developpers using X4M03 with embedded XEP or a custom firmware for X4M300/X4M200 ? Any example ?
    Modules connectors are able to make the bridge with the modules for matlab/python, but there is no example tool for writting to the module MCU a matlab code via Atmel Studio 7 and Atmel ICE / Atmel Xplained board without using module connector.

    B.R,
    Chouaibou
     
  2. Charlie Shao

    Charlie Shao Moderator Staff Member

    Hi NSANGOU,
    Do you specifically mean implementing Matlab DSP algorithm code on MCU?
    Matlab code cannot be used on MCU, you have to rewrite your DSP algorithm by C or C++ in order to run it on MCU.
     
  3. NSANGOU CHOUAIBOU

    NSANGOU CHOUAIBOU Active Member

    Hi Charlie,
    Thank you for reply.
    1 - Yes, implementing DSP algorithm code on MCU for example
    2 - Or if the radar algorithm is validated on PC using mathlab software, is it possible to translate it in C/C++ using a dedicated matlab C/C++ conversion tool or any software to speed up the development ?
    BR,
    Chouaibou.
     
  4. Charlie Shao

    Charlie Shao Moderator Staff Member

    Hi NSANGOU,
    For your second question, normally we verify algorithm on PC using Matlab and reimplement the algorithm concept in C/C++, then compare their results. The Matlab script is easy to use and C/C++ can give better speed, but their results should be the same. There might be some conversion tools, but it is better to write it for quality or reliability reasons.
     
    NSANGOU CHOUAIBOU likes this.
  5. NSANGOU CHOUAIBOU

    NSANGOU CHOUAIBOU Active Member

    Hi Charlie,
    Very clear ! Many thanks.

    B.R,
    Nsangou.