paparazzi-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Paparazzi-devel] lisa m and ppm input


From: Sergey Krukowski
Subject: Re: [Paparazzi-devel] lisa m and ppm input
Date: Thu, 4 Oct 2012 16:20:16 +0200

If you would be satisfied with a PPM input on a JTAG connector, you can replace the following strings:

 

GPIO_InitStructure.GPIO_Pin = GPIO_Pin_1;

GPIO_Init(GPIOA, &GPIO_InitStructure);

 

by the following strings:

 

GPIO_PinRemapConfig(GPIO_PartialRemap1_TIM2, ENABLE);

GPIO_InitStructure.GPIO_Pin = GPIO_Pin_3;

GPIO_Init(GPIOB, &GPIO_InitStructure);

 

in ppm_arch_init function in ppm_arch.c file. Then you will have the ppm input on JTAG_TDO pin.

 

Regards,

Sergey


reply via email to

[Prev in Thread] Current Thread [Next in Thread]