|
From: | MRSA |
Subject: | Re: [Paparazzi-devel] lisa m and ppm input |
Date: | Fri, 5 Oct 2012 07:53:04 +0200 |
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 : address@hidden [mailto:address@hidden De la part de Sergey Krukowski 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 |
[Prev in Thread] | Current Thread | [Next in Thread] |