Become a leader in the IoT community!
Join our community of embedded and IoT practitioners to contribute experience, learn new skills and collaborate with other developers with complementary skillsets.
Join our community of embedded and IoT practitioners to contribute experience, learn new skills and collaborate with other developers with complementary skillsets.
Hello @here I have a challenge. I am using DMA for ADC of stm32f103c8t6, I observed that when I set up my register and the array I want the DMA to register to place the data, it does not follow the sequential way I expect it, for example, I declare an array uint16_t adcValue[4] = {0, 0, 0, 0}; I expect that PA0 will be placed in adcValue[0], PA1 will be placed in adcValue[1], PA2 will be placed in adcValue[3], but it’s not that way, and this happens only when the data I want to read is more than 3, if I decide to read PA0, PA1, and PA2, it aligns sequentially. Can someone help me out here? I attached pictures of my code
CONTRIBUTE TO THIS THREAD