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.

C2000 SFRA GUI won't connect to F28035 on Solar Explorer board

Other Parts Discussed in Thread: SFRA, CONTROLSUITE

I'm working on a project that is using the Solar Explorer for testing some new control algorithms for inverters. I'm interested in getting the software frequency response analyzer working, but I'm running into some difficulties trying to get the GUI to connect.

I used the Solar Explorer F2803x project as the base for my development, and have followed the steps in the documentation for getting the SFRA to run with an assembly ISR. After adding all the SFRA stuff (I think) my project compiles and my Solar Explorer runs as it should, but I cannot connect via the SFRA GUI to start the sweep. Any Ideas? I can post my project if that helps at all.

Best Regards, 

Ryan

  • Hi Ryan,

    Are the following the the guide available here: C:\ti\controlSUITE\libs\app_libs\SFRA\v1_10_00_00\Doc

    Regards,
    Gautam
  • Yes, I'm following that guide. I'm also working off of the f28035 sfra example in power suite.
  • Ryan,

    My suggestion will be to first try connecting the SFRA GUI using a known good example. For this you can browse to the following project

    C:\ti\controlSUITE\libs\app_libs\SFRA\v1_10_00_00\examples\DPSWrkShpKit_SFRA_F28035

    and just load the project on the solar explorer kit F28035 control card, (make sure you do not energize the power bus by putting that switch to off position), if that works for you then suspect something in the software, otherwise in hardware.

    Make sure all the jumpers are in proper position for connection to the GUI on the solar explorer board and on the control card, the key one is M7-J4 needs to be populated on the base board and on the control card SW1 should be pointing down or in off position

  • Ok, I got serial to work with the SFRA example for the f28035, but still doesn't work with my code. I am triggering the sweep start over JTAG and the mag/phase vectors appear to populate ok. I've put enough hours into this problem where I'd be ok getting these values over JTAG and using that to design my controller in MATLAB. Would this be possible until I can manage to get the SCI up and running?

    EDIT: Just copied over the values from the debugger, ran a quick python script to parse the data, and found your very helpful matlab script. I will report back w/ results. Very curious as to what in my code is holding up the GUI, however...

  • Ryan,

    few things to check will be the pins for SCI are programmed to be used as SCI, this is in device init.c file,  also check the clock dividers, whether your CPU is programmed for 60Mhz or not, also the SCI clock dividers are set correctly for the appropriate baud rate.

    regards

    Manish Bhardwaj 

  • Another thing to check will be that SerialHostComms() is called at an appropriate rate... are you using the similar structure for the slow tasks as we do in our projects, i have noticed running this task too slow or fast can yield to failed connection.. and make sure you followed all the steps in the section 3.4 for adding support for SFRA gUI