Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

Compiler/TMS320F28377D: Overflow in multiplication when in -O4 stage

$
0
0

Part Number:TMS320F28377D

Tool/software: TI C/C++ Compiler

Hi expert,

Customer meet multiplication over flow problem in C28x MCU. 

There is a global variable uint16 Pack_local; and they are doing a 185*pack_local in their code. When compile in -O4 and pack_local>354 an overflow occurs.

Below are their configurations:

On F28069:

On F28377D:

Thanks

Sheldon


Viewing all articles
Browse latest Browse all 262198

Trending Articles



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