tms320 fixes

Please, pull