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.

TMS320F28069: Meaning of CPU data/program read/write and CLA fetch/read/write

Part Number: TMS320F28069

Champs,

I am asking this for our customer.

In "9.7 CLA and CPU Arbitration" of F28069 TRM (spruh18f.pdf), we are confused about the meanings and definitions of the below terms.

1) What is the difference between CPU data read and program read? And what is the difference between CPU data write and program write?

What does that mean by CPU program write?

Does CPU program write mean copying codes from the flash onto the RAM in the initialization codes as we usually do?

2) What is the difference between fetch, read, and write? that is, what is the difference between CLA fetch, CLA read and CLA write?

Wayne

  • Hi Wayne,

    Our devices support a harvard achitecture so each core, the c28x and the CLA, have 6 busses connected to all the memories

    1.  Program Address Bus (PAB)
    2.  Program Data Bus (PDB)
    3. Data Read Address Bus (DRAB)
    4. Data Read Data Bus (DRDB)
    5. Data Write Address Bus (DWAB)
    6. Data Write Data Bus (DWDB)

    When the cores "fetch" an instruction they do so by first putting the address of the instruction on the PAB and then, reading the instruction on the PDB. Similarly with data reads/writes the core will dump the data location on the D(R/W)AB and then, read from or write to the location using the D(R/W)DB.

    From this, you can infer that we are able to fetch code, read and write data in parallel. The arbitration happens when both cores try to access the same RAM, or FLASH block; the access could be a code fetch, data read or write.

    Wayne Huang said:
    What does that mean by CPU program write?

    Now typically the PAB, PDB are used to fetch the code, but you can also use them to write to a location using the PWRITE assembly instruction. I would refer you to the description of the PWRITE instruction in the CPU ISA guide (SPRU430).

  • Vishal,

    Thank you for your information.

    Wayne
  • Also take a look at processors.wiki.ti.com/.../C2000_Archived_Workshops and in particular the F28069 workshop student guide. If you scroll down, it will not take you long to see some more treatment of the subject, in particular the pipeline.
  • Todd,

    I see.

    Thank you!

    Wayne