2017-11-06 01:37 AM
Hello
I am interfacing the STM32F407 with the ADE9000 chip that supports burst reads which means, after requesting a data set (write command from STM32F4) I can clock out as many bytes I can, the chip increments the address every 32 clocks.
Can I use DMA with this SPI burst read? can somebody guide me how to setup SPI/DMA for 32 bit data?
#spi #dma2018-12-04 09:29 AM
Hi, do you solved your problem? and how.. i'm intrested.... thanks
2018-12-04 01:48 PM
32 bits = 2 x 16 bits... What is the problem?
JW
2018-12-04 02:28 PM
mine was a sarcastic question ... thanks
2019-07-26 07:52 AM
Hello
are you able to get data of ADE9000 with stm32?because i try many configuration and CPOL = high,CPHA = 2edge (mode3) as per stm32cubemx.if you are able to help me please guide me to communicate with ade9000.i try even many mcu like stm32f030 ,stm32h743 and stm32f429.
2019-07-26 11:32 AM
little gift for you... this work for me like a charm... (SPL LIBS)
SPI_InitStructure.SPI_CPOL=SPI_CPOL_Low;
SPI_InitStructure.SPI_CPHA=SPI_CPHA_1Edge;
SPI_InitStructure.SPI_Direction=SPI_Direction_2Lines_FullDuplex;
SPI_InitStructure.SPI_Mode=SPI_Mode_Master;
SPI_InitStructure.SPI_DataSize=SPI_DataSize_8b;
SPI_InitStructure.SPI_NSS=SPI_NSS_Soft;
SPI_InitStructure.SPI_BaudRatePrescaler=SPI_BaudRatePrescaler_32; //16=5.25MHz
SPI_InitStructure.SPI_FirstBit=SPI_FirstBit_MSB;
SPI_InitStructure.SPI_CRCPolynomial=7;
SPI_Init(ADE9000_SPI,&SPI_InitStructure);
2020-06-17 05:24 AM
Hi,
I bought anADE9000 Shield Eval Board. I am trying to interface it with an STM32F429ZI-Disco board. My problem is about data i read through SPI are not as expected according to the register table in the datasheet. I attached my program and my serial port capture. Could you help me please ?
My SPI Configauration:
SPI Speed : 10 MHz
SPI Mode 0
CRC Disabled
8 Bit data length
MSB First
Thanks !