L89HA-S90 I2C interface Sample Application code

Hello,
I am trying to interface GNSS module via I2C interface but I am not able to get NMEA data response from module. But I am able to get data from UART. Can anyone share sample code for this module.
Thanks in Advance.

Regards
Srikanth.

Hi,
I addition to the above query I am attaching the code developed by us and the output we got. If we see the output we are not getting proper realtime data from module. Please check and let me know anything wrong or missing in my code.
l89_main.c (3.2 KB)

Code output:
NMEA Data Length: 230 bytes
Raw NMEA Data:
MC,235943.012,V,050180,N,V2C
$GNGGA,235943.012,0,0,M,M,5F
$GNVTG,T,M,N,K,N
32
$GNGSA,A,1,1
1D
$GNGSA,A,1,31F
$GNGSA,A,1,6
1A
$GPGSV,1,1,00,164
$GAGSV,1,1,
rani@raspberrypi:~ $ ./a.out
NMEA Data Length: 132 bytes
Raw NMEA Data:
00,7
73
$GIGSV,1,1,00,17D
$GNGLL,235943.012,V,N
6D
$PQTMANTENNASTATUS,1,0,14F
$GNRMC,235944.012,V,050180,N,V
2B
$
rani@raspberrypi:~ $ ./a.out
NMEA Data Length: 132 bytes
Raw NMEA Data:
GNGGA,235944.012,0,0,M,M,58
$GNVTG,T,M,N,K,N
32
$GNGSA,A,1,11D
$GNGSA,A,1,3
1F
$GNGS
rani@raspberrypi:~ $ ./a.out
NMEA Data Length: 66 bytes
Raw NMEA Data:
A,A,1,61A
$GPGSV,1,1,00,1
64
$GAGSV,1,1,00,7*73
rani@raspberrypi:~ $ ./a.out
NMEA Data Length: 48 bytes
Raw NMEA Data:

$GIGSV,1,1,00,17D
$GNGLL,235944.012,V,N
6
rani@raspberrypi:~ $ ./a.out
NMEA Data Length: 109 bytes
Raw NMEA Data:
A
$PQTMANTENNASTATUS,1,0,14F
$GNRMC,235945.012,V,050180,N,V
2A
$GNGGA,235945.012,0,0,M,M,

Regards
Srikanth.

Hi @Srikanth_Medisetty
I have sent you the relevant information via email, please check.

Hi @george.gao

Thanks for the mail it solved my issue.

Regards
Srikanth.