Other Parts Discussed in Thread: CONTROLSUITE
Hi,
I am trying to boost the performance of the F28335. I am wondering, if it is possible to physically connect two F28335 control cards in parallel. If so, will there be an issue related to electrical voltages of the connecting pins. I am trying to reduce the computational time of my Algorithm from 152 us to less than 100 us.
Algorithm: Optimal control problem. External signal triggers the ADC for sampling and ADC’s end-of-sequence interrupt initiates a loop where floating point numbers are multiplied certain number of times and, in the end, minimum of all the numbers in an array is found.
Example of a multiplication is as follows:
Polynomial[count] = temp_value - 0.5687949*(u[0][outLoop]*adc1 - u[1][outLoop]*adc2+ u[2][outLoop]*adc3 + u[3][outLoop]*adc4 + u[0][inLoop]*adc5 + u[1][inLoop]*adc6 - u[2][inLoop]*adc7 - u[3][inLoop]*adc8;
Here, outLoop and inLoop are in the range [0 5], i.e. 36 combinations altogether.
Possible solutions already tried using code composer studio V5:
1) Optimization of both polynomial equation and the compiler built-in.
2) IQ math library. In my case, slow in comparison to using FPU+fastRTS: please comment if it is expected.
3) Currently in the process of using pointers, however, sceptical about drastic improvement in performance.
I am running from RAM as I am using the RAM linker file as obtained from controlSuite. I have also considered other TI devices with a faster processor, but those devices lack a built in ADC. I think an ADC built in is a big help as it reduces the hassle related to external circuitry.
Overclocking: I have found a little literature on overclocking the F28335. Please comment: What if we attach a heat sink on the device and modify the ADC registers to keep its clock below 12.5 MHz (to maintain linearity). How far can we push a clock from 150 MHz? It will be really nice to know some implications of the driving the F28335’s FPU at the maximum possible clock.
1) Optimization of both polynomial equation and the compiler.
2) IQ math library. In my case, slow in comparison to using FPU+fastRTS: please comment if it is expected.
3) Currently in the process of using pointers, however, sceptical about drastic improvement in performance.
I am running from RAM as I am using the RAM linker file as obtained from controlSuite. I have also considered other TI devices with a faster processor, but those devices lack a built in ADC. I think an ADC built in is a big help as it reduces the hassle related to external circuitry.
Overclocking: I have found a little literature on overclocking the F28335. Please comment: What if we attach a heat sink on the device and modify the ADC registers to keep ADC's clock below 12.5 MHz (to maintain linearity). How far can we push a system clock and in turn FPU from 150 MHz? It will be really nice to know some implications of the driving the F28335’s FPU at the maximum possible clock.
Thanks