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.

J722s rtos sdk V11: how to config mcan buadrate using tools like sysconfig-gui?

Part Number: PROCESSOR-SDK-J722S
Other Parts Discussed in Thread: SYSCONFIG

Tool/software:

Hi Ti expert, 

  i am uisng mcu sdk v11 , example/mcan/mcan_loopback_interrupt as start,  and i want to config can module bit time param.

  it call  MCAN_initSetBitTimeParams(&bitTimes),  and finally use gMcanBitTimingDefaultParams from generated c file 'ti-driver_config.c'. 

  my question is:

  1. i use make -C [project path]  syscfg-gui, and not found a page to config it , only found mcan tx/rx GPIO config, so is there a way to config these param using gui tool?  or i just write code to overwrite it?

  2. for thest params, is there any constrains between each other,  or any prescalar, ts1/2 is ok only if it can get the desired baudrate value?

thanks.

   

  • Hello,

    Sorry for the delay.

    I believe the below will answer your query

    Regards

    Tarun Mukesh

  • hi expert,

      1. could you tell me how to open a global sysconfig, and what's the output file and how to apply it?

      2. current i use  

    mcu_plus_sdk_j722s_11_00_00_12/examples/drivers/mcan/can_response_app/j722s-evm/wkup-r5fss0-0_freertos/ti-arm-clang/ syscfg-gui 

    , the sysconfig is under a sample project, as below,   it doesn't have any baudrate setting items, only GPIO.

  • Hello,

    1)Download syscfg tool from ti.com

    could you tell me how to open a global sysconfig, and what's the output file and how to apply it?

    You can open syscfg tool and select as below and click start.

    2)

    , the sysconfig is under a sample project, as below,   it doesn't have any baudrate setting items, only GPIO.

    Yes there will not be any drop down to select and change baud rate from syscfg but in application you can use 

    MCAN_setBitTime API and pass MCAN_BitTimingParams as per your baud rate.
    Regards
    Tarun Mukesh