Other Parts Discussed in Thread: C2000WARE
Firstly, when writing a floating point algorithm, I have been using the "float" type. I note that a lot of the TI example code uses "float32_t". What are the practical differences between a float and a float32_t when used on a floating point processor like the F28379D?
float a = 10.78; //versus float32_t a = 10.78;
Secondly, what additional steps are required to make use of the F28379D floating point capabilities? I have set "--float_support" to "fpu32" and "--fp_mode" to "relaxed" and it seems to work. Is there anything else that needs to be done?
This thread https://e2e.ti.com/support/microcontrollers/c2000/f/171/t/621876?TMS320F28379D-Floating-point-operations-time-profiling-question shows these additional steps:
EALLOW; Flash0EccRegs.ECC_ENABLE.bit.ENABLE = 0; EDIS; FPU_initSystemClocks(); FPU_initEpie();
And the document at file:///C:/ti/c2000/C2000Ware_3_02_00_00/libraries/math/FPUfastRTS/c28/docs/FASTRTS_SW_LIB_UG.pdf seems to show a different thing entirely. Can you clear this up for me? I think I might be overcomplicating the thing by looking at documentation for different things or even things that are now obsolete.