Quantcast
Channel: Microcontrollers
Viewing all articles
Browse latest Browse all 217063

Forum Post: TMS320F28035: Question about CLAmath.

$
0
0
Part Number: TMS320F28035 In the official routine, this section is placed in CLARAM1. The F28035_CLA_C.cmd file contains the following sections: GROUP : LOAD = FLASHB, RUN = CLARAM1, LOAD_START(_Cla1mathTablesLoadStart), LOAD_END(_Cla1mathTablesLoadEnd), RUN_START(_Cla1mathTablesRunStart), LOAD_SIZE(_Cla1mathTablesLoadSize), PAGE = 1 { CLA1mathTables .const_cla } Both FLASHB and CLARAM1 are in Page 1. CLARAM1 itself is only 1 K in size, By contrast, RAML3 in the program area is 4K in size.I tried to put CLA MathTables in RAML3, the program memory of CLA, as follows: GROUP : LOAD = FLASHC , RUN = RAML3 , LOAD_START(_Cla1mathTablesLoadStart), LOAD_END(_Cla1mathTablesLoadEnd), RUN_START(_Cla1mathTablesRunStart), LOAD_SIZE(_Cla1mathTablesLoadSize), PAGE = 0 { CLA1mathTables .const_cla } Code can be compiled and burned normally. But neither CLAsin () nor CLAcos () can get the correct result. Can CLA instructions not read constants from program space? Can CLA1mathTables be placed in CLA program RAML3 when using CLAmath?

Viewing all articles
Browse latest Browse all 217063

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>