ADC Sample for DA14531
DA14530 and DA14531
3 months ago
ADC Sample for DA14531
Posted byikuyama20 points 3 replies请帮助我。
I use DA14531-00FXDEVKIT-P and try ADC with reference to "Using SDK6 Peripheral Drivers"
(http://lpccs-docs.dialog-semiconductor.com/da145xx_tutorial_sdk6_peripherals/da14531_adc.html#)
But unable to build with some linker errors.
.\out_DA14531\Objects\blinky_531.axf: Error: L6218E: Undefined symbol adc_correct_sample (referred from main.o).
.\out_DA14531\Objects\blinky_531.axf: Error: L6218E: Undefined symbol adc_disable (referred from main.o).
.\out_DA14531\Objects\blinky_531.axf: Error: L6218E: Undefined symbol adc_get_sample (referred from main.o).
.\out_DA14531\Objects\blinky_531.axf: Error: L6218E: Undefined symbol adc_init (referred from main.o).
.\out_DA14531\Objects\blinky_531.axf: Error: L6218E: Undefined symbol adc_offset_calibrate (referred from main.o).
.\out_DA14531\Objects\blinky_531.axf: Error: L6218E: Undefined symbol adc_start (referred from main.o).
Do I need anything to add to build option ? or other settings?
Thanks
3 months ago
Hi PM_Dialog,
Thank you. I solved.
I did't know where empty_peripheral_template. and I was able to build using it.
I knew adc sample was ther, but I was looking for another samples because it was a sample about the battery.
Thanks,
3 months ago
Hi ikuyama,
Thanks for your question online. According to the tutorial, the empty_peripheral_template is being used with some modifications.
Please check this section :
http://lpccs-docs.dialog-semiconductor.com/da145xx_tutorial_sdk6_peripherals/initial_project.html
From the Keil output, I can see that the blinky project is being used. Could you please try it in the empty_peripheral_template/
SDK location : 6.0.14.1114\projects\target_apps\template\empty_peripheral_template
You can also check the ADC project of the SDK : 6.0.14.1114\projects\target_apps\peripheral_examples\adc
Thanks, PM_Dialog