Other Parts Discussed in Thread: HALCOGEN
Hello
I use TMs570ls0432 ,because it dont have dma,I want to use mibadc ,read some ad value for a while.
can you tell how to set in hal software.and which code is read value, (buffer ) and so on.
Thank you
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.
Hello
I use TMs570ls0432 ,because it dont have dma,I want to use mibadc ,read some ad value for a while.
can you tell how to set in hal software.and which code is read value, (buffer ) and so on.
Thank you
Thank you
But I want to use mibadc. for example,10us Trigger one time,I want to 2ms read all ad data,the amount should have 200 .I
how do I set the hal?
how do I write code?use "adcGetdata"?
adcGetData(adcREG1, adcGROUP1,&adc_data[0]);
Hello Whong,
Attached please find an example just created for you.
1. ADC group1 and group2 are used to sample input on ADC[0] and AC[1] pins
2. FIFO size of group1 is 32, and fifo size of group 2 is 32 too
3. both groups are triggered by RTI compare0 every 10us
4. The group2 INT is enabled after group1 FIFO is full
https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/312/4885.TMS570LS0432_5F00_ADC_5F00_RTITrigger.7z