Replies: 4 comments 5 replies
-
You haven't provided the diff of what you've tried, so you're asking us to tell you what's wrong with some code without seeing the code. Meaning the best we could do is make wild guesses. Here's a wild guess: You didn't mention which flight controller you're talking about. So UART2 could be on PA2 and PA3, or it could be on PD5 and PD6. You might need to use timer 2, or 5, or 9 if it's using the PA pins, depending on how each timer is currently being used. Or there may be no at all timers that can be connected (the PD pins). Pretty much you're asking people to debug your code without seeing it, and determine why it doesn't match your hardware - without telling us which hardware. :) |
Beta Was this translation helpful? Give feedback.
-
I notice your "change" to MAX_PWM_OUTPUT_PORTS is commented out, so that hasn't been updated.
|
Beta Was this translation helpful? Give feedback.
-
You are wanting to decrease SERIAL_PORT_COUNT in order to increase MAX_PWM_OUTPUT_PORTS. |
Beta Was this translation helpful? Give feedback.
-
Solved, the Issue was that TIM2 was already used by a Soft Serial. Since I don't need it, I ditched it and voila! |
Beta Was this translation helpful? Give feedback.
-
Hi,
I am currently trying to get RX2/TX2 on an F411 to work as Servo Output.
After spending hours on the Datasheet and compiling x different Variants, I am unable to get output on the Servo.
I am using IVAV 7.1.2 and I am aware that F411 will not be compatible anymore with INAV8 and it's probably not the best target to do this.
I am currently in a learning Phase and try to understand how things work.
If anyone could point me to the correct timer, channels and pins, that would be awesome so that I can learn why it did not work for me so far.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions