Posted on April 20, 2016 at 15:09
Hi,
I need to ''translate'' a SPI program written for STM32F4 to STM32F2.
I wrote SPI configuration:
//STM32F4
void MX_SPI1_Init(void)
{
hspi1.Instance = SPI1;
hspi1.Init.Mode = SPI_MODE_MASTER;
hsp...
Posted on November 13, 2014 at 11:31Hi,I need examples or informations about DMA and ADC 16 channels. I saw examples where DMA manage 4 ADC channels. Thanks
Posted on July 01, 2014 at 09:01
Hi,
I'm developing with STM32F0 and I have a problem with interrupt. this is my code:
void batchStandByConf(void){
EXTI_InitTypeDef EXTI_InitStructure;
//PC10 input
GPIOC->OSPEEDR |= GPIO_OSPEEDER_OSPEE...
Posted on June 09, 2014 at 17:11Hi,I need to develop watch dog in my project. I see example in STM32F0xx_StdPeriph_Lib_V1.1.0\Project\STM32F0xx_StdPeriph_Examples\WWDG, but I need to set watch dog to 20 seconds. Is it possible? Thanks
Posted on November 17, 2014 at 10:26Hi Clive,thanks for reply. I'm working with STM32F0 and this mcu has 16 adc channels. In my project, I need read at the same time all 16 channels. Is there an example? Thanks
Posted on September 18, 2014 at 08:25
Hi clive,
thanks for reply. This is my code; but doesn't work:
void TIM1Conf(void){
NVIC_InitTypeDef NVIC_InitStructure;
TIM_TimeBaseInitTypeDef TIM_TimeBaseStructure;
RCC_APB2PeriphClockCmd(RC...
Posted on September 17, 2014 at 12:24Hi Clive1,thanks for reply. I resolved by another way :) . I need to know the interrupt of TIM1 handler (for TIM3 is: TIM3_IRQHandler).
Posted on March 21, 2014 at 12:09
Thanks Clive1,
I did as you said and it all works, but I have a problem. When I need to do continuousreads o writes, my project doesn't work. My code:
if(nciclo == 0){
eeWriteBuffer(Tx1Buffer, 0, BUFFE...