I am using ADSP-BF506F EZ KIT LITE. I would like to know if anyone has a sample ASM or C code on how to use Analog to Digital conversion ?
There is an example in the VDSP directory that demonstrates how to control ADC on ADSP-BF506F using ACM. It is in the below path:
...\Analog Devices\VisualDSP 5.0\Blackfin\Examples\ADSP-BF506F EZ-KIT Lite\Drivers\ADC
Thank you for your information. I found many discussion about the ACM and ADC on EngineerZone. But all written in C/C++. I wonder if anyone has ASM code. Also It seems to me that the C/C++ code you recommended is to long for analog to digital conversion especialy for Analog Devices DSPs. My experince so far with Analog Devices has been a simplification of code and hardware.
I have attached a simpler code this time which is in C but you can easily understand the code flow. You can see the associated ACM and SPORT registers being configured sequentially and you can get the asm part of the code in the disassembly window(if it helps you for better understanding of the code). Regarding the time constraint, I think this would take almost same time as an asm code would do.
Retrieving data ...