DSPRelated.com
Forums

Improving the speed of ADC conversion in F2812

Started by naay...@gmail.com August 24, 2008
Dear all,

I am converting the ADC values into IQ number for the purpose of processing it further in reduced computation time. My global IQ is 19.

The following line works for me, but it took several hundred cycles for execution in F2812 eZDSP.
Adc1[ConversionCount] = _IQ(AdcRegs. ADCRESULTO >>4);

Where,
_iq Adc1[ConversionCount];

I need to do this as fast as I can, to tackle with other issues involved in my program.Can any of you please answer me to overcome this?.

Please help………………..

regards

OMAP35x EVM jump-starts low-power apps
The modular and extensible OMAP35x Evaluation Module (EVM) enables developers to start building applications based on the OMAP35x architecture: http://www.DSPRelated.com/omap35x
SSBoYXZlIGV4YWN0bHkgdGhlIHNhbWUgY29kZSwgYnV0IGl0IGlzIHZlcnkgZmFzdCBmb3Ig
bWUuIEluIG1peGVkIG1vZGUsIHUgCnNlZSBvbmx5IDQgdG8gNSBsaW5lcyBvZiBBU00uCkNo
ZWNrIHlvdXIgQWRjMSB2YXJpYWJsZSBhbmQgQ29udmVyc2lvbkNvdW50IGluZGV4IG1hcHBp
bmcuIEFyZSB0aGV5IGluIAp0aGUgaW50ZXJuYWwgUkFNID8gaWYgbm90LCB0aGVuIHlvdSBz
aG91bGQgIQoKCgoKVmV1aWxsZXogcsOpcG9uZHJlIMMgIG5hYXlhZ2kwNEBnbWFpbC5jb20K
RW52b3nDqSBwYXIgOiAgICBjMjh4QHlhaG9vZ3JvdXBzLmNvbQpQb3VyIDogIGMyOHhAeWFo
b29ncm91cHMuY29tCmNjIDogICAgIAoKT2JqZXQgOiBbYzI4eF0gSW1wcm92aW5nIHRoZSBz
cGVlZCBvZiBBREMgY29udmVyc2lvbiBpbiBGMjgxMgoKRGVhciBhbGwsCgpJIGFtIGNvbnZl
cnRpbmcgdGhlIEFEQyB2YWx1ZXMgaW50byBJUSBudW1iZXIgZm9yIHRoZSBwdXJwb3NlIG9m
IApwcm9jZXNzaW5nIGl0IGZ1cnRoZXIgaW4gcmVkdWNlZCBjb21wdXRhdGlvbiB0a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