Posted on January 08, 2018 at 22:05
Hello everyone,
I am using the STM32F303VC, trying to interface to a SPI EEPROM over DMA and having some issues on the reception of the data. The DMA is set up as full duplex, and I can see the transmissions...
Posted on November 15, 2017 at 22:13
Hello,
I'm trying to trigger an ADC conversion externally from TRGO2 and store it to a buffer through DMA. However, it doesn't appear that anything is being written to that buffer. Could someone please look...
Posted on November 14, 2017 at 15:41
Hello everyone, I'm new to STM32 microcontrollers. I'm currently working on my first project using this microcontroller, it is for a motor control application. I am trying to set up the PWMs, I'd like to run t...
Posted on January 18, 2018 at 14:46Thanks for the replies!It seems that the issue was resolved after adding the RX FIFO threshold to quarter full:SPI_RxFIFOThresholdConfig(EEPROM_SPI,SPI_RxFIFOThreshold_QF);Makes sense since I'm doing byte-wide tran...
Posted on November 17, 2017 at 21:17 I appear to have solved the issue. Looking further in the datasheet I realized that ADC2 was not connected to DMA1 channel 1 The correct DMA connection to ADC2 is DMA2 Channel 1:
Posted on November 16, 2017 at 17:23Certainly. Thanks for your help so far!Here's the register content:ADC2 CR: 0x10000005ADC2 CFGR: 0x00000683DMA1_CH1 CCR: 0x000025A3DMA1_CH1 CNDTR: 0x00000002DMA1_CH1 CPAR: 0x50000140DMA1_CH1 CMAR: 0x2000001C
Posted on November 16, 2017 at 16:13You mean by calling /* Configures the ADC DMA */ ADC_DMAConfig(ADC2, ADC_DMAMode_Circular); /* Enable the ADC DMA */ ADC_DMACmd(ADC2, ENABLE);?I did that and removed the ADC interrupt, instead added the DMA interr...