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.

DM648 BIOS API FOR CLK IS ERROR

 System->Global Settings->BoardClock (30MHz)
System->Global Settings->DSP Speed (CLKOUT) - (900MHz )
CLK -> Input frequency manually set to 150M

CLK_countspms == 900000 (should be 150000)
CLK_cpuCyclesPerHtime == 1065353216  (should be 6)
CLK_cpuCyclesPerLtime == 1230604160(should be 900000)
CLK_getprd == 900000 (should be 150000)

why?

 bios : 5.33.06

  • Please see my post in this other thread.

  •  

    I find this:

    "This is actually not a bug in the way BIOS returns values for those functions, but instead it is a bug with the way we interpreted how BIOS works. On the C64x+ platforms the high-resolution timer does not read the current counter values from one of the 64-bit clocks; instead, it uses a special system clock that operates at CPU speed. Take a look at TSCH/L inside the C64x+ CPU and Instruction Set Guide on p55. This is briefly and vaguely mentioned in the BIOS API Guide in Table 2-2 on p85. I've already given feedback that this should be more readily apparent, but this explains why we saw 'incorrect' output from these API functions"

    My questions CLK_getprd == 900000 (should be 150000)  and
    CLK_countspms == 900000 (should be 150000)  can be explained

    but

    CLK_cpuCyclesPerHtime == 1065353216  (should be 6)
    CLK_cpuCyclesPerLtime == 1230604160(should be 900000)

    how to interpret 。

    thanks

  • Xusheng,

    I'm not able to reproduce these numbers. Do you have a test case you can send me? Does this happen on the simulator or on hardware? Is it the EVM or a custom board?

  • hello;

    i am working on DM648 on networking project. i want to communicate two computers through its two RJ45 ports. if i use default examples then it does not allow me to change packets as required in my task. so i want to change its mode, which is ALE_BYPASS mode. but i have no documentation on it.

    i want to know why there is no detailed documentation on ALE_BYPASS mode... neither lyrtech answer this question nor TI... i don't get it why? i have to work in ALE_BYPASS mode instead of ALE_NORMAL mode. i want DSP to involve in the communication that is only possible when i work in ALE_BYPASS mode. i need complete documentation for it. plz help me in this issue.

    regards

    adnan