Tool/software:
Dear Ti Experts
Which interrupt should I use to get data Safe Position Data in V-Frame. Is this interrupt triggered exclusively for Safe Position Update.
Thank you
Alan I
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software:
Dear Ti Experts
Which interrupt should I use to get data Safe Position Data in V-Frame. Is this interrupt triggered exclusively for Safe Position Update.
Thank you
Alan I
Hi Alan,
For Safe Position Data (VPOS), PRU0_ARM_IRQ1 is the interrupt associated with it. Also, please refer below info for the interrupt mapping:
PRU0_ARM_IRQ4: EVENT_S
PRU0_ARM_IRQ3/5: H-Frame
PRU0_ARM_IRQ2: VPOS2 (Safe Position 2)
PRU0_ARM_IRQ1: VPOS (Safe Position)
PRU0_ARM_IRQ: EVENT_L
Let me know if you have any further questions.
Best Regards,
Rajul
Thank you for the reply
I am running SYNC MODE , ES=4
SYNC Period = 18750
Sync Calculation is giving the following
********************************************************************
SYNC MODE: period = 18751
SYNC MODE: ES = 4
SYNC MODE: counter = 269
SYNC MODE: wait_before_start = 9349
SYNC MODE: bottom_up_cycles = 18748
SYNC MODE: extra_size = 5
SYNC MODE: temp_gRest = 7
SYNC MODE: extra_edge = 254
SYNC MODE: num_of_stuffing = 5
SYNC MODE: extra_size_remainder = 1
SYNC MODE: stuffing_remainder = 2
********************************************************************
1) SYNC MODE period is :18751 instead of 18750
And the VPOS2 interrupt is drifting against reference interrupt with period of 18750.
2) Changed the setting to
ES=4
SYNC Period = 18749
********************************************************************
SYNC MODE: period = 18750
SYNC MODE: ES = 4
SYNC MODE: counter = 278
SYNC MODE: wait_before_start = 9349
SYNC MODE: bottom_up_cycles = 18748
SYNC MODE: extra_size = 5
SYNC MODE: temp_gRest = 7
SYNC MODE: extra_edge = 254
SYNC MODE: num_of_stuffing = 5
SYNC MODE: extra_size_remainder = 1
SYNC MODE: stuffing_remainder = 2
********************************************************************
VPOS2 interrupt seems more stable against reference interrupt
Is this expected?
Alan I
Hi
How are you giving SYNC pulse here? Are you using SDK example only?
And the VPOS2 interrupt is drifting against reference interrupt with period of 18750.
What do you mean by reference interrupt here?
Regards
Dhaval

Hi Alan,
These are the calculations explained for sync mode for ES=1 and PRU frequency =225MHz. While capturing period of sync, there is 1 cycle latching error expected when taking sync input from internal IEP pulse. Have you tried SYNC Mode with providing external Sync pulse?
Best Regards,
Rajul