Hi, I have a pixhawk (2.4.8) with a M8N GPS working ok.
Now I remove M8N and wire a F9P from ardusimple. Mission Planer shows a message that No GPS.
How can I configure Ardusimple/ArduCopter in order to get it working? RTK messages will be received by a Xbee datalink, so I will wet rtk corrected messages on ardusimple UART connected to pixhawk.
Oh! my bad. I misunderstand this: " ArduPilot does not currently configure UBlox F9P GPS constellations. User must assure that the GPS is properly configured for his region and application. See U-Blox F9P Firmware Update" it just for constellation, then.
Tx-Rx pin are connected the right way and 115200 bps are confirmed with an oscilloscope on pixhawk port.
What would be the correct configuration then? It is working now, but I would like to leave parameters the correct way.
Have you updated the F9P module to the latest firmware per the link you sent earlier?
You can confirm firmware version in u-Center’s Message View under UBX, MON, VER. It should be 1.13 as shown below in the FWVER field.
Also, try reverting the F9P to its default settings in u-Center. It’s the gear icon with the red dot in the lower right corner of the screenshot.
I have never had any trouble getting an F9P to auto configure using ArduPilot 4.0 and newer, and it likely works on older versions, I just haven’t used them.
The default F9P configuration (I’ve reverted to it’s factory values) is 1Hz output rate.
So, I don’t know why it is recognized as NMEA GPS.
Is there a way to see configuration msg sent from AP to GPS and GPS answer online?
You can see the GPS configuration in u-Center by connecting to the F9P board’s USB port while it is connected to the flight controller.
If that’s not possible, you can set GPS_SAVE_CFG=1, boot, allow the flight controller to configure the GPS module, and then evaluate the saved settings later.
Of course, all of that is predicated upon GPS_AUTO_CONFIG actually detecting and configuring your board, which it appears it is not.
I’ve set it at 38 (default F9P) and is not working neither. I think it ignores that parameter.
I can connect my oscilloscope on AP TX pin or I can connect a uart2usb and try to see messages on AP-> GPS direction.
EDIT: I connect an old M8N GPS and it is recognized as:
Ok, nice catch @Yuri_Rage, it was a cable problem. They sold me a cable that was bad assembly. And I’ve not checked it the right way.
So, It’s working now.
Thank you very much for your help!
Again, the autoconfigure routine may not completely fit your use case, but I bet you can use GPS_SAVE_CFG=1 after booting with autoconfigure, and then just change the baud rate for UART2 in u-Center to get it communicating with your radio. Be sure to set GPS_AUTO_CONFIG=0 before connecting the GPS again if you need to use custom settings.