TIDM-DC-DC-BUCK: Adapting solution of F280049C to launchxl-F28P55X

Part Number: TIDM-DC-DC-BUCK
Other Parts Discussed in Thread: C2000WARE, SYSCONFIG,

Tool/software:

Hello,

Currently I have the Buck connected to F280049C. I want to adapt the Open-loop and VMC lab solution of TIDM-DC-DC Buck reference design to work with F28P55x. I read that F28P55X is compatible with the Buck design. 

At the end of the reference design document there are some notes on adapting solution but I am not very sure how to proceed.

How do I adapt the solution? What things do I need to take care of?

Thanks,
Kamakshi

  • Kamakshi,

    Cleanest way to do this is first import example project from C2000Ware location: C:\ti\c2000\C2000Ware_6_00_00_00\driverlib\f28p55x\examples\universal

    You can confirm the device once .sysconfig opens based on board you have. Try to build and load the project in laundhpad first to see if there is no any errors. This will confirm that there is no device configuration related issue. 

    After this, you can start adding solution related source files from nonpowersuite version of the TIDM-DC-DC-BUCK. Files are hal.h, hal.c, setting.h, user_setting.h, solution.c, solution.h and main.c.

    From here you will have to allot new pins such as ePWM, ADC, comparator etc. You will have to add digital power libraries as well. You can refer project setting of original TIDM-DC-DC-BUCK and have the same settings on your ccs project. Try to build the code and see what errors appear and resolve them. Most errors have good description to resolve them but in case you are stuck somewhere in those errors, let us know and we can guide you to resolve them.

    Regards,

    Sumit

  • Hi Sumit, 

    I am working on the same project as Kamakshi, and just attempted this procedure as you outlined. I ran into an error upon loading the project on the F28P55x, specifically the F28P550SJ. It seems that the universal project is having a hard time flashing to the device. Below is the GEL output. I tried going around and trying different build configurations, but I ended up with the same errors. Could you help me interpret this?

    C28xx_CPU1: GEL Output: 
    Memory Map Initialization Complete
    C28xx_CPU1: GEL Output: ... DCSM Initialization Start ... 
    C28xx_CPU1: GEL Output: ... DCSM Initialization Done ...
    C28xx_CPU1: Error initializing flash programming: Interface returned from dll, but flash is not available on this device.
    C28xx_CPU1: GEL Output: ... DCSM Initialization Start ... 
    C28xx_CPU1: GEL Output: ... DCSM Initialization Done ...
    C28xx_CPU1: File Loader: Verification failed: Values at address 0x000000@Program do not match Please verify target memory and memory map.
    C28xx_CPU1: GEL: File: C:\Users\...\Universal Project\CPU1_LAUNCHXL_RAM\Universal Project.out: a data verification error occurred, file load failed.

    EDIT: I was able to get it to work after creating a target configuration file. For some reason CCS wasn't prompting me to make such a .ccxml file, maybe there was some interference by other projects I had in the same workspace. But if that's the case, that doesn't make sense to me, since (as far as I know, I am very new to CCS) the act of debugging is just related to a single project

  • You can attach the .ccxml target configuration and see if you can connect the target by test connection for P551 device?

    Also were you able to only build the project successfully?

    Regards,

    Sumit