Just got my eval kit for TM4C1294XL, and tried a few simple examples
Is there any ADC DMA continuous operation example projects available?
Thanks!
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Just got my eval kit for TM4C1294XL, and tried a few simple examples
Is there any ADC DMA continuous operation example projects available?
Thanks!
Hello XC60659,
Afraid not for ADC with uDMA. However you can use the UART uDMA example and club it with ADC on TM4C129 and we will help you out build and get the code running...
Regards
Amit
How about some pointers to start the project?
Such as where to find the functions to configure the ADC, or do I have to deal with registers directly?
Hello XC60659,
Good point. We were just working on one...
http://e2e.ti.com/support/microcontrollers/tiva_arm/f/908/t/337370.aspx
Regards
Amit
Hi Amit,
Since you have a similar project by TI, can I have the source codes as the starting point?
Thanks!
Hello XC60659,
Unfortunately codes in my PC are more volatile. I change them time to time for multiple requests. Still I checked but the code is a goner...
Regards
Amit
The link you send me has some codes, but i don't have clue about the definition of the functions/symbols used there, such as ADCReferenceSet...
Any pointer for that?
Hello XC60659
The function are defined in the TIVAWare installation under driverlib/adc.c and driverlib/adc.h. The macros used are defined in inc/hw_adc.h
Regards
Amit
Hi Amit,
Is there any documentation on how to use functions like uDMAChannelTransferSet, uDMAControlBaseSet, and ADCSequenceEnable?
I look into some of the examples, such as qs_iot, and found something similar, but with prefix of ROM_, such as ROM_uDMAControlBaseSet, What is the difference?
Any ADC example you can suggest to a newbie like me?
Your help/time is greatly appreciated!
Hello XC60659,
There is the TIVAWare Peripheral User Guide that would explain the functions.
The TIVA devices have some of the API in ROM. When developing a code the general method would be to compile the code into Flash. This would increase Flash Memory usage. By putting it in ROM and then calling the ROM_ API, the Flash Code is linked to the same function in ROM which reduces the Flash Usage allowing more user code to be accommodated in Flash.
There are no ADC example with uDMA in the TIVAWare installation as of the moment. You may want to check the forum if there is some user code.
Regards
Amit
Example code here:
http://e2e.ti.com/support/microcontrollers/tiva_arm/f/908/t/331374.aspx