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

Forum Post: CCS/TMS320F28335: unsigned long long return function issue

$
0
0
Part Number: TMS320F28335 Tool/software: Code Composer Studio Dear all, we are using a tms320f28335 in our project, barmetal coded (no bios) Sometimes we get an incorrect value back from a function returning a 64bits value . The return value, an unsigned long long local, is correct before the return (the value "Inside" the fonction) and the value retrieved is correct on the 32 most significant bits but the 32 less significant bit are at 0. This issue is not systematic but happens once every hour (our monitor being 100ms) . Does someone have an idea? Can triggering an interrupt around the return of the function affect the stack and cause an alignment problem? Regards. Adrien

Viewing all articles
Browse latest Browse all 217586

Trending Articles