2014-01-28 10:37 PM
Hi Clive, Can you refered me any example where I can get code for SPI in master mode with DMA. I got example with polling method ot with interrupt
2014-01-29 07:46 AM
STM32F4xx_DSP_StdPeriph_Lib_V1.3.0\Project\STM32F4xx_StdPeriph_Examples\SPI\SPI_TwoBoards\SPI_DataExchangeDMA
You'd need to add Interrupt support yourself, probably just the DMA TC for the SPI RX stream. ie last to complete2014-01-29 10:45 PM
Thanks Clive, But I am not able to get the STM32 Library, Can you provide me the link?
2014-01-30 05:46 AM
Hi Clive,I need to control two steeper motor each having two coils through mosfet. How can I achieve in Stm32f4. I went through some examples but it was not clear, do you have any reference code relevant to my requirement along with a better understanding documents , notes whatever, and moreover was not able to get the STM32F4xx_DSP_StdPeriph_Lib_V1.3.0, where is this exactly I searched in google as well.
2014-01-30 07:28 AM
http://www.st.com/web/en/catalog/tools/PF257901
2014-01-30 07:48 PM
Only one thing in the same link I didn't find any path mentioned by you . It is just about
, Application and support. I am not able to find it . and any sample code for driving two motors . please2014-01-30 09:02 PM
I don't know perhaps your internets are broken.
I'm not a motors guy, just aren't my thing.2014-01-31 02:01 AM
Hi clive I am asking for the motor control sample code using PWM in stm32f4 . I think you are too good in that, I need a sample code in which I can drive a motor , whose step angle is 1.8 degree just a sample code of how to start , run and stop a motor using PWM in stm32f4.Please
2014-02-06 07:29 PM
Das,
You are not using PWM for stepper motor control. The reference of 1.8 degree indicates that you have stepper motors. My recommendation is to use an external driver board to get the required voltage and current for the motors. In your code you need to have control for a frequency and direction of the motor.