This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Is RTDX supported in F28069 running CCS4.2?

Hello,

I have downloaded my code to the Piccolo ControlStick F28069 using the shipped CCS version 4.2.1.0004

Are RTDX data transfers (still) supported in this version either directly or using a patch (which?) and if not is version 5 or 6 able to do RTDX transfers? I am trying to tune an algorithm and having access to real data will speed things up considerably.

Thank you in advance,

Demos

  • Hi Demos,

    Demosthenes Doumenis said:
    Are RTDX data transfers (still) supported in this version either directly or using a patch (which?) and if not is version 5 or 6 able to do RTDX transfers? I am trying to tune an algorithm and having access to real data will speed things up considerably.

    F28069 is a new gen mcu without RTDX support but similar Real-time JTAG support using XDS emulators.Yes, you do have access to real time data on watch window and can monitor them frequently. All you need is a compatible emulator.

    Regards,

    Gautam

  • Hello Gautam and thank you for your post.

    Can one alternatively use Code Composer Studio (using ver. 4.2 shipped with ControlStick Piccolo F28069) to record one second worth of samples of the ADC0 (or any C variable for that matter) to an ASCII file for subsequent processing. I want to use real data to tune my algorithm.

    Thank you in advance and best regards,

    Demos

  • Could a possible way would be to use GEL_AddOutputFile in the F28069 ControlStick "ContinuousADC" example.

    If you could provide a way of calling GEL_AddOutputFile (parameters etc) this could be a simple way of getting live ADC data.

    Thank you in advance,

    Demos

  • Hi Demos,

    Demosthenes Doumenis said:
    Can one alternatively use Code Composer Studio (using ver. 4.2 shipped with ControlStick Piccolo F28069) to record one second worth of samples of the ADC0 (or any C variable for that matter) to an ASCII file for subsequent processing. I want to use real data to tune my algorithm.

    I guess there is an export option in watch window. Please do check. Else one has to create a script to do so.

    Regards,

    Gautam

  • VERY URGENT!!!

    I added the following (in bold) on my F28069 GEL file, it seems to save samples from a microphone connected to ADC0 of my ControlStick, but the sampling is awfully slow (something like 60 samples per second). At which section should this GEL_AddOutputFile statement be placed? This is a project to be demonstrated to TI's management and some final tweeking cannot be performed without this functionality.

    Thank you in advance, Demos

    OnTargetConnect()
    {
    if (GEL_IsInRealtimeMode()) /* If in real-time-mode */
    {
    }
    else /* Put device into C28x Mode */
    {
    C28x_Mode();
    GEL_AddOutputFile("C:\\Users\\Demos\\Documents\\workspace\\ContinuousADC\\ContinuousADC-Main.c",160,"C:\\Users\\Demos\\Documents\\workspace\\ContinuousADC\\my_samples.dat",2,"0x00008800@Data","1");
    }
    F28069_Memory_Map(); /* Initialize the CCS memory map */

    /* Check to see if CCS has been started-up with the DSP already */
    /* running in real-time mode. The user can add whatever */
    /* custom initialization stuff they want to each case. */

    if (GEL_IsInRealtimeMode()) /* Do real-time mode target initialization */
    {

    }
    else /* Do stop-mode target initialization */
    {
    GEL_Reset(); /* Reset DSP */
    }


    }