PhyTime control precision in LA9310 rdb

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

PhyTime control precision in LA9310 rdb

770 Views
keyofworld
Contributor I

Hi everyone,

I'm new to working with the 9310 and am currently focused on implementing GPIO control with microsecond-level precision using PhyTimer.

Since PhyTimer only supports configuring the next GPIO up/down event, I’m unable to plan multiple events in advance. Additionally, when using a software task with a 10-microsecond vTaskDelay to configure PhyTimer, I’ve noticed some error accumulation over time.

My current approach is to create a HW interrupt that triggers every 5 microseconds by PhyTimer, calculates the GPIO timing, and configures PhyTimer accordingly. However, when I tried reducing the 1PPS output sample code’s interrupt interval, the GPIO configuration stopped functioning correctly when the interval was below 40 milliseconds.

Could anyone advise if this design is feasible, or suggest any improvements?

I would greatly appreciate any insights. Thank you!

0 Kudos
Reply
1 Reply

623 Views
keyofworld
Contributor I
Hi, very thanks for your suggestion, I have found the coding defect about the GPIO control below 40 milliseconds. But we still meet some system unstable problem, you remind us to double check the limitations of hardware and interrupt handling overhead.
0 Kudos
Reply