Hi everyone,
I found a precision missing problem when i was using OMAPL138's DSP core(C6748). Two examples:
1. When i define a long type global variable like "long Data = 0x0706050403020100;", only the lower 5 bytes can be assigned to Data, which means that the Data equals to 0x0000000403020100;
2.I defined a unsigned char array like "Uint8 RxData[8] = {0x07,0x06,0x05,0x04,0x03,0x02,0x01,0x00};" Then "double * dData = (double * )RxData", and the higher 32 bits of dData equals to 0x07060504, but the lower 32 bits may be some rundom numbers.
I used CCS3.3, target was set to C6740, and the rts library is rts6740.lib. What proceduer i missed may lead to this problem?
Thanks,
Huang.