AnsweredAssumed Answered

ADSP-SC58x/2158x HADC: Example code

Question asked by Nabeel Employee on Jun 12, 2015

Attached code demonstrates the HADC functionality. ADC is configured in continuous sampling mode and core acquires "DATASIZE" number of data samples from HADC.

 

Code can be modified to :

  1. Select different ADC channels
  2. Change the ADC sampling rate by modifying "FCLKDIV" macro

 

Code for both ARM and SHARC core is attached

Attachments

Outcomes