RT1021 ENC Driver

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

RT1021 ENC Driver

Jump to solution
1,348 Views
kaangencay
Contributor I

Hi all,

I am using RT1021 MCU and I want to implement ENC driver. 

When I check the fsl_enc.c driver code, I realized that ENC_GetPositionValue() function returns UPOS and LPOSH and also ENC_GetHoldPositionValue() function returns UPOSH and LPOSH.  I think ENC_GetPositionValue() should return UPOS and LPOS registers' value.

I am using;
MCUXpresso IDE
SDK_2.x_EVK-MIMXRT1020
SDK Version: 2.11.0
Manifest Version 3.9.0
enc dirver version: 2.1.0

Is there any mistake or am I wrong?

Labels (1)
0 Kudos
1 Solution
1,325 Views
jay_heng
NXP Employee
NXP Employee

Yes, it is driver issue, i have created ticket for it and assign it to dev team. thanks

This issue should be fixed in v2.1.1 or v2.2

View solution in original post

0 Kudos
1 Reply
1,326 Views
jay_heng
NXP Employee
NXP Employee

Yes, it is driver issue, i have created ticket for it and assign it to dev team. thanks

This issue should be fixed in v2.1.1 or v2.2

0 Kudos