STM32 MPUs Embedded software

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! Using ADC with DMA on M4 causes DMA transfer error

We are trying to use circular DMA to transfer data from ADC1 into a buffer in MCU SRAM using CubeMX-generated code to configure the ADC and DMA. The DMA stream encounters a transfer error on transferring the first item. I have tried clearing the DMA ...

Emma by Associate II
  • 1102 Views
  • 10 replies
  • 0 kudos

Resolved! Hi, can someone help with ADS124S08 SPI ADC and its linux driver? I think the driver is correctly probed. I see /sys/devices/platform/soc/44004000.spi/spi_master/spi0/spi0.0/iio.device0/in_voltage0raw ...etc but it seems the device does not reply.

This is my device tree configuration:&spi1 { status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&spi1_pins_a>; cs-gpios = <&gpioz 3 GPIO_ACTIVE_LOW>; #address-cells = <1>; #size-cells = <0>; adc@0 { compatible = ...

Lmoio.1 by Senior
  • 342 Views
  • 2 replies
  • 0 kudos

STM32MP157C-DK2 usa ADC DMA

Hi,i try to use a ADM DMA with the board in object.I generate the code with CUBE MX and i add only the function HAL_ADC_Start_DMA(&hadc1, (uint32_t*)&buff, 1); before the while loop in the main.After i start the ADC, the hadc1.State remains in HAL_A...

MZopp.1 by Associate
  • 199 Views
  • 1 replies
  • 0 kudos