You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have the same problem, I would like to connect a ESP32 to the input pin of the Q X7S, but it is not working.
Apparently this is not (going to be) changed in newer versions... (Am I right?)
I also can not find a good PPM or CPPM library to test wether the input pin is working at all.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I did not succeed to read SBUS input from the external module heartbeat pin. Therefore I had a closer look at the current GitHub sources:
According to radio/src/targets/taranis/hal.h the X7 ACCESS configuration parameters for the SBUS trainer input pin are:
#define INTMODULE_HEARTBEAT_GPIO GPIOA
#define INTMODULE_HEARTBEAT_GPIO_PIN GPIO_Pin_7 // PA.07
#define INTMODULE_HEARTBEAT_EXTI_PinSource GPIO_PinSource7
#define TRAINER_MODULE_SBUS_GPIO_AF GPIO_AF_USART6
#define TRAINER_MODULE_SBUS_USART USART6
#define TRAINER_MODULE_SBUS_GPIO INTMODULE_HEARTBEAT_GPIO
#define TRAINER_MODULE_SBUS_GPIO_PIN INTMODULE_HEARTBEAT_GPIO_PIN
#define TRAINER_MODULE_CPPM_GPIO_PinSource INTMODULE_HEARTBEAT_EXTI_PinSource
In radio/src/targets/taranis/trainer (function init_trainer_module_sbus) the I/O port for SBUS trainer input is mapped to an USART as follows:
GPIO_PinAFConfig(TRAINER_MODULE_SBUS_GPIO, TRAINER_MODULE_SBUS_GPIO_PinSource, TRAINER_MODULE_SBUS_GPIO_AF);
which expands to:
GPIO_PinAFConfig(GPIOA,GPIO_PinSource7,GPIO_AF_USART6)
But according to the documentation for the STM32F407 there does not exist an alternate function mapping to an USART for pin 7 of Port A.
The text was updated successfully, but these errors were encountered: