cancel
Showing results for 
Search instead for 
Did you mean: 

SDADC Manual code Examples

jody
Associate
Posted on March 23, 2015 at 18:03

Good Day,

Could anyone please help?

i am Currently developing using a STM32F373 MCU and Struggling to get the SDADC Working According to the Reference manual

I am using the MikroC Compiler and there are no SDADC Libraries Available for this compiler 

Could anyone please help with Manual Code samples?

Thank you kindly

Best Regards

 Jody

#stm32f373-sdadc #stm32f373-sdadc
2 REPLIES 2
Posted on March 23, 2015 at 18:56

Not sure what manual means in this context, register level?

Three examples in the 

http://www.st.com/st-web-ui/active/en/catalog/tools/PF258151

, red download button, bottom of page.

STM32F37x_DSP_StdPeriph_Lib_V1.0.0\Project\STM32F37x_StdPeriph_Examples\SDADC\SDADC_PressureMeasurement\main.c

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
jody
Associate
Posted on March 24, 2015 at 12:59

Hi Clive1

Thank you for your efforts i already have

those examples unfortunately they don't help

a) they in C++

b) they are library Based examples and my compiler (MikroC) Does not support them

what i am looking for is a manual Example

eg.

SDADC_CR1.ADON =  1 // turn on ADC

while (SDADC_ISR.3 = 0)

wend 

Could you please advise?

Thank you kindly  

Best Regards

Jody