AP_Periph 1.0.0 stable released

Unfortunately Missionplanner does not show airspeed values (SDP33) with AP_Periph 1.2 from CAN-Bus.

With AP_Periph 1.0 on a F103 it worked with ARSPD_TYPE 8 and ARSPD_PRIMARY 0.

However, the UAV_CAN Inspector clearly shows differential pressure values.


The same problem exists on the F303-Matek on the M8Q-CAN and M9N-CAN where GPS, Baro and Compass datas are displayed in the Missionplanner in contrast to airspeed. Airspeed values however are also displayed in UAVCAN Inspector.

Both on a Pixhawk 1 and a Matek H743 with current stable fimrware.

SUPPLEMENT:

The airspeed is also not displayed at OSD ( neither OSD1_ASPEED, OSD1_ASPD1 nor OSD1_ASPD2).

Rolf

@tridge

Can you give me any pointers how the status LED of the GNSS modules can be used via CAN?

I was under the impression that the drivers are already implemented but had no luck so far with any module tested.

Thanks a lot for your help!

Which GNSS module(s)? Several off the shelf UAVCAN capable units expose the RGB LED as an AP_Notify device. In order to enable it, you need to add “UAVCAN” to the NTF_LED_TYPES mask. Is that what you are referring to?

Hi davidbitton
thanks a lot for your reply.

Sorry, I should have replied to my own post, I was using the modules for testing mentioned earlier. (Holybro F9P, Holybro M8N, Here 2 in I2C mode) and a Cube Orange.

As Firmware I have used F303-GPS as well as F303-Universal

NTF led is set to 231 in Ardupilot and a Here 3 directly on CAN1 has also working LEDs

But I don’t get any LED response from any of the GNSS modules tested with the CAN Node.

Is there any other setting I have to set/change in the CAN Node? (The only parameter that I can find is LED brightness)

Thanks!

Hi all,

I have several mro nodes I’d like to start using to control some ESCs. Is it possible to control more than one esc with a single node or do I have to have a node per esc? wasn’t sure if I have say 3 GPIO if I could assign each pin an esc/servo output?

You can at least have four ESCs per node.

1 Like

Fantastic, thank you for the reply I shall look into this today

So I have this correct I assume I have to somehow flash my F303 based MRO node with a firmware that I build that tells the board to use the GPIO pins for esc,s?

On the ardupilot GitHub I can see there is a f303-HWESC with hwdef.dat file. This seems to have “define HAL_PERIPH_ENABLE_HWESC” but I don’t understand how I define the pins to use? Or how to tell this node I want it to be esc 1,2,3 and a 2nd node be 4,5,6?

the HWESC is for HobbyWing ESC support, which is for the serial telem protocol, not pwm

@tridge thanks, so I need servo output then. I assume HAL_PERIPH_ENABLE_RC_OUT is what I need? And I need to assign pins somehow in hwdef when I build the firmware.

Is there option to enable DShot output to control DShot ESCs? How many possible ESCs can I control with current PWM implementation?

Hello,

as I can’t find this documented anywhere I have a question concerning MSP (as I know, it works with CAN): Is DGNSS with NTRIP possible via MSP? If yes, is that also supported by ArduPilot as master?

Thanks
Sebastian

Hey Rolf,

Did you ever get this working? I’ve been banging my head against the wall for about a year over this.

Thanks.

Hi, i just tried to update an M9N-F4-3100 firmware but probably I messed up something becasue I cannot receive anymore GPS signals. which is the proper firmware to upload on it for using as an externa GPS CAN connected to an H743 FC?
Thanks
Andrea

Good day l, what kind of module you need update?

the Matek M9N-F4-3100 that will work as external GPS for Matek H743 as Flight Controller for a Quadicopter. Using Ardupilot of course :slight_smile:

matek f405 rm3100 can be flash in dfu mode using the hex file.
Did you check the correct cable pinout and settings in MP

Yes, I can upload the fw but it is not working properly. I just received and indication from the producer and they sent me a “AP_Periph_with_bl_M9N-F4.hex” that indicated me to be from the AP_Periph 1.2
Later in the day I’ll try to install it and check the difference in behaviour than the 1.3 version.

Is the Matek M8Q-CAN compatible with the f303-Universal firmware?

Hi @geofrancis,

As far as I know it runs on " f303-MatekGPS"