Hello There,
i am new to APM32 programming. For one project I am using APM32F030K6T6 MCU. I have configured PA0 to ADC0, PA1 - ADC1 and PA2 to ADC2. PA8 ,PA9,PA10,PA11 to digital input with pullup. PA12, PA15, PB0,PB1, PB3,PB4,PB5,PB6 AND PB7 used for digital outputs. The ADC reading is through DMA with contineous circuler. The sampling time 239ms. also i am reading and writing two double values from flash.
I have copied the examples from downloded sdk folder. and paste it. but i got the problem of PA8 , the voltage was droping during running. also in some of digital outputs(PA12-RS,PA15-RW,PB3-EN,PB4-PB7 DATA) which is going to lcd (4bit) has got the problems. I dont know what is cause. so i disabled PA0 and PA8 and instead of that i used PA1,PA2 and PA3 for ADC and PA7 instaed of PA8. But now i am getting problem of ADC voltage drop on PA1 and PA2. when i remove the wires, the wire voltage is full. but when i connected it the voltage drops. i have inseries 331 ohms and 681 ohms wrt ground resistor.(means i have dropped voltage from 5 to 3.3 volt). also i have not taken vrefint.
Can you suggest me the sequence of initiallization? or anything i am doing wrong?