|
From: | Gerard Toonstra |
Subject: | Re: [Paparazzi-devel] lisa m and ppm input |
Date: | Fri, 5 Oct 2012 04:19:40 -0300 |
Well I think it won’t be necessary. I tried Esden’s commit to use uart1 rx pin and it seems to work very well.
https://github.com/psinha/paparazzi/commit/8b00c2d498d62c43e706705d745bf64825efc134
I would suggest that it should be modified on the next stable release but I am no git expert...so it might be better if someone else makes what is necessary.
Cédric
De : paparazzi-devel-bounces+cedric.marzer=address@hidden [mailto:paparazzi-devel-bounces+cedric.marzer=address@hidden] De la part de Sergey Krukowski
Envoyé : jeudi 4 octobre 2012 16:20
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
_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
[Prev in Thread] | Current Thread | [Next in Thread] |