How to change the cycle time of a parameter in gps fd

Programmable Sensor Module with CAN FD Connection
Post Reply
manju
Posts: 27
Joined: Mon 24. Jun 2024, 16:09

How to change the cycle time of a parameter in gps fd

Post by manju » Thu 26. Sep 2024, 09:46

Hello Team,

My GPS FD I wanted to edit the cycle time of a parameter which is defined in the symbols dbc file. I was trying to find where the function is defined in the source code. The function is GPS_course_speed, it is currently sending in 1000millisecs but i want to edit the seconds value. So to do that how to find the defined function for GPS_course_speed

Thanks,
Manju
Thanks

M.Heidemann
Sales & Support
Sales & Support
Posts: 1083
Joined: Fri 20. Sep 2019, 13:31

Re: How to change the cycle time of a parameter in gps fd

Post by M.Heidemann » Thu 26. Sep 2024, 10:06

Hello Manju,

Which firmware are you referring to?

A bit more info would be welcome.

BR

Marvin
---
Marvin Heidemann
PEAK-Support Team

manju
Posts: 27
Joined: Mon 24. Jun 2024, 16:09

Re: How to change the cycle time of a parameter in gps fd

Post by manju » Thu 26. Sep 2024, 10:47

Hello,

Firmware of pcan gps-fd, which was given under this directory, "C:\Downloads\PEAK-DevPack\Hardware\PCAN-GPS_FD\Examples"
So according to the document, users can edit the firmware according to their requirement. In that part of i wanted to edit a time in function, GPS_course_speed, it is currently sending in 1000millisecs but i want to edit the seconds value. So to do that how to find the defined function for GPS_course_speed
Thanks

M.Heidemann
Sales & Support
Sales & Support
Posts: 1083
Joined: Fri 20. Sep 2019, 13:31

Re: How to change the cycle time of a parameter in gps fd

Post by M.Heidemann » Thu 26. Sep 2024, 10:51

Hi,

There are 13 firmware examples in there. which one?
---
Marvin Heidemann
PEAK-Support Team

manju
Posts: 27
Joined: Mon 24. Jun 2024, 16:09

Re: How to change the cycle time of a parameter in gps fd

Post by manju » Thu 26. Sep 2024, 11:28

Hello,

I wanted to edit in the 00_Standard_Firmware, In that i wanted to edit the time which is currently 1000 milliseconds for GPS_course_speed function
Thanks

manju
Posts: 27
Joined: Mon 24. Jun 2024, 16:09

Re: How to change the cycle time of a parameter in gps fd

Post by manju » Thu 26. Sep 2024, 12:25

Hello,

Inside standard firmware, I actually wanted to edit one the CAN messages cycle time. Is that possible to edit the cycle time. If yes, where is that function defined in the examples folder of standard firmware
Thanks

M.Heidemann
Sales & Support
Sales & Support
Posts: 1083
Joined: Fri 20. Sep 2019, 13:31

Re: How to change the cycle time of a parameter in gps fd

Post by M.Heidemann » Thu 26. Sep 2024, 12:25

Hello,

check the variable:

#define UBLOX_PERIOD_MS 1000000

Change it accordingly, you can use strg+f to see where else it used

Note: the variable respresents Microseconds!

BR

Marvin
---
Marvin Heidemann
PEAK-Support Team

manju
Posts: 27
Joined: Mon 24. Jun 2024, 16:09

Re: How to change the cycle time of a parameter in gps fd

Post by manju » Thu 26. Sep 2024, 12:39

Hello,

Inside standard firmware, I wanted to edit one of the CAN message's cycle time. Is it possible to edit the cycle time. If yes, where is that function defined in the examples folder of standard firmware.

Actually the function which im referring is mentioned in the DBC file with a proper cycle time, I just wnated to edit the cycle time based on my requirement
Thanks

M.Heidemann
Sales & Support
Sales & Support
Posts: 1083
Joined: Fri 20. Sep 2019, 13:31

Re: How to change the cycle time of a parameter in gps fd

Post by M.Heidemann » Thu 26. Sep 2024, 13:20

Hello,

I told you which variable is used to determine the cycle time, i tested it and it works.

What isn't clear to you?

BR

Marvin
---
Marvin Heidemann
PEAK-Support Team

manju
Posts: 27
Joined: Mon 24. Jun 2024, 16:09

Re: How to change the cycle time of a parameter in gps fd

Post by manju » Thu 26. Sep 2024, 13:46

Hello,

It worked Thank you for your time
Thanks

Post Reply