Tms320 fixes

Please, pull changes