IMXRT 1170 TMR

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
1,737件の閲覧回数
chaseshen
Contributor I

I am currently working on a project utilizing the i.MX RT1170, and I am interested in implementing a Differential Phase x2 mode using the TMR module. I have noticed in the documentation that the TMR supports Differential Phase x4 mode, as detailed in the "Quadrature-Count Mode" section. This mode can be enabled through the CTRL[CM] configuration.

However, I have been unable to find specific information regarding the configuration settings for Differential Phase x2 mode. Could you please clarify if the i.MX RT1170 supports Differential Phase x2 within its TMR capabilities? 

0 件の賞賛
返信
1 解決策
1,637件の閲覧回数
Gavin_Jia
NXP TechSupport
NXP TechSupport

Hi @chaseshen ,

I apologize for the late reply. On this issue, I submitted it to internal colleagues for discussion, and the result of the discussion was: The requirements you are asking for can only be solved using Quadrature Mode, and not as I had previously envisioned. You are correct, I made an error here. And the RT1170 TMR is not capable of x2 mode.

We sincerely apologize for any inconvenience caused.

 

Best regards,
Gavin

元の投稿で解決策を見る

0 件の賞賛
返信
4 返答(返信)
1,667件の閲覧回数
chaseshen
Contributor I

Thank you for your prompt response regarding the quadrature decoder capabilities of the RT1170. I understand from your explanation that the integrated decoder only supports x4 mode and lacks hardware support for x2 mode.

You suggested the possibility of using Signed-Count Mode, dividing the task to separately calculate rising and falling edges, to achieve the x2 functionality. However, based on my understanding of Signed-Count Mode and differential X2, I have reservations about the feasibility of this approach.

My understanding of differential x2, also known as double edge detection, involves counting both the rising and falling edges of a single phase. A typical rotary encoder outputs two channels, A and B, which are 90 degrees out of phase, facilitating direction detection. By counting both edges of one quadrature signal, we effectively double the encoder's resolution. For instance, an encoder with 100 pulses per revolution (PPR) on one channel can achieve 200 detectable events per revolution by utilizing differential x2.

Additionally, as illustrated in the attached diagram, it is necessary to combine both Phase A and Phase B to ascertain directional changes. The implementation of Signed-Count Mode in conjunction with software appears to present significant challenges.

f93e1973-1fce-42bf-9648-e4e7774c1902.jpg

I look forward to your insights or alternative solutions that could accommodate the differential x2 within the constraints of the RT1170's hardware capabilities.

0 件の賞賛
返信
1,700件の閲覧回数
Gavin_Jia
NXP TechSupport
NXP TechSupport

Hi @chaseshen ,

Thanks for your interest in NXP MIMXRT series.

As you can see, the RT1170's Quadrature decoder integrated only supports x4 mode, and does not provide support for x2 mode at the hardware level. 

But in your usage scenario, using Signed-Count Mode may be helpful.

Gavin_Jia_0-1704953452002.png

Gavin_Jia_1-1704953488585.png

 

Splitting it in two, one to calculate the rising edge and one to calculate the falling edge, should be able to achieve the  x2 you describe.

 

Best regards,
Gavin

 

 

 

 

 

0 件の賞賛
返信
1,667件の閲覧回数
chaseshen
Contributor I

Thank you for your prompt response regarding the quadrature decoder capabilities of the RT1170. I understand from your explanation that the integrated decoder only supports x4 mode and lacks hardware support for x2 mode.

You suggested the possibility of using Signed-Count Mode, dividing the task to separately calculate rising and falling edges, to achieve the x2 functionality. However, based on my understanding of Signed-Count Mode and differential X2, I have reservations about the feasibility of this approach.

My understanding of differential x2, also known as double edge detection, involves counting both the rising and falling edges of a single phase. A typical rotary encoder outputs two channels, A and B, which are 90 degrees out of phase, facilitating direction detection. By counting both edges of one quadrature signal, we effectively double the encoder's resolution. For instance, an encoder with 100 pulses per revolution (PPR) on one channel can achieve 200 detectable events per revolution by utilizing differential x2.

Additionally, as illustrated in the attached diagram, it is necessary to combine both Phase A and Phase B to ascertain directional changes. The implementation of Signed-Count Mode in conjunction with software appears to present significant challenges.

f93e1973-1fce-42bf-9648-e4e7774c1902.jpg

I look forward to your insights or alternative solutions that could accommodate the differential x2 within the constraints of the RT1170's hardware capabilities.

0 件の賞賛
返信
1,638件の閲覧回数
Gavin_Jia
NXP TechSupport
NXP TechSupport

Hi @chaseshen ,

I apologize for the late reply. On this issue, I submitted it to internal colleagues for discussion, and the result of the discussion was: The requirements you are asking for can only be solved using Quadrature Mode, and not as I had previously envisioned. You are correct, I made an error here. And the RT1170 TMR is not capable of x2 mode.

We sincerely apologize for any inconvenience caused.

 

Best regards,
Gavin

0 件の賞賛
返信