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!