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.

Designing a project with two TMS320F28027 micro controller

Other Parts Discussed in Thread: TMS320F28027

Hi,

  I am planning to start a project with two TMS320F28027 micro controller. What all things, I have to consider while using two processors in the circuit? I want to use a boot program, which will allow me to re- flash the processors through USB port. What should I do for dividing my entire  codes to 1. Boot, 2. Control , 3. Data ? Please give your thoughts.

Regards,

Mahesh K.R.

  • Hi Mahesh,

    So is it like, 2 mcus doing individual computations and sharing data through SCI/SPI communication protocol?

    Regards,

    Gautam

  • F28027 doesn't have USB. Please check the device datasheet.

    -Manoj

  • Hi Gautam / Manoj,

         You are right, One MCU ( Master) is controlling the PWM control of the Inverter and the Boost converter, other one will be monitoring the parameters and communicating with the master MCU and external world ( LCD display).

    Here I want to know, How do I patrician the C-codes such that while flashing, the JTAG will write the master code in master MCU and slave code in slave MCU?

    The communication between the processor can be done through SCI/SPI communication protocol. I want to do first time flashing through JTAG and second time programming through USB ( This is for the field upgrade). Do you think, I will have to use separate USB driver?

    One of the problem we face in the field while re-flashing is, if there is some communication or power supply problem during flashing, the system will hang, you will have to open the system and re- flash through JTAJ. I am planning to spilt up my program such that there will be three part 1. Boot, 2. Control, 3. Data. Boot will be used for field upgrade, Since boot is not disturbed any time, some thing happen during flashing in the field, we can re-do the flashing with out opening the system. So I want to know How do I split my entire program to Boot, control & Data and master and slave.

    Regards,

    Mahesh K.R.

  • Mahesh Kodakkattil said:
    Here I want to know, How do I patrician the C-codes such that while flashing, the JTAG will write the master code in master MCU and slave code in slave MCU?

    I'm not sure whether you would be able to do that. You'll have to flash individual out files to respective controllers.

    Mahesh Kodakkattil said:
    The communication between the processor can be done through SCI/SPI communication protocol. I want to do first time flashing through JTAG and second time programming through USB ( This is for the field upgrade). Do you think, I will have to use separate USB driver?

    For second time flashing, you can use USB to serial converter IC and hence you'll require the USB driver provided by the vendor.

    Regards,

    Gautam