Farin
April 2, 2019, 6:19pm
1
Hi everyone,
I was trying to use pwm 5 and 6 on the omnibus f4pro.
This should be pretty straight forward using the aux 1 and aux 2 chanels, however things are not working.
I took a lok at the firmware and found in
/****************************************************************************
*
* Copyright (c) 2018, 2014 PX4 Development Team. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
* 3. Neither the name PX4 nor the names of its contributors may be
* used to endorse or promote products derived from this software
* without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
This file has been truncated. show original
and
/****************************************************************************
*
* Copyright (c) 2012-2018 PX4 Development Team. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
* 3. Neither the name PX4 nor the names of its contributors may be
* used to endorse or promote products derived from this software
* without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
This file has been truncated. show original
that only 4 pwm signals are configured.
Uncommenting the lines relative to pwm 4 and 5 didn’t work. I could build and flash the firmware, but still no signal on those ports.
I don’t know much on PX4, so was wondering if anyone has an idea on how I can get this to work.
Cheers,
Andre
I’m going to ping @bkueng hoping that he might have an idea.
bkueng
April 5, 2019, 9:22am
3
It needs a bit more, but w/o digging into it myself, I cannot tell you what exactly.
One thing I can say is that RX of UART4 is configured on PWM 5, so you will have to disable that UART.
Farin
April 5, 2019, 10:38am
4
Hi,
Thanks for the hint.
I’ll let you know how it goes.
Hi,
It’s an old topic but is still an issue. Did you fix it? Is it possible to enable PWM 5 & 6 without compiling source code?