Device and firmware record

nxp,qdec-s32

Quadrature Decoder processes encoder signals to determine motor revs with the cooperation of S32 IP blocks- eMIOS, TRGMUX and LCU. The sensor qdec application can be used for testing this driver. The following example uses TRGMUX IN2 and IN3 to connect to LCU1 LC0 I0 and I1. LCU1 LC0 O2 and O3 connect to eMIOS0 CH6(Clockwise rotation) and CH7(Counter Clockwise rotation) via TRGMUX_INT_OUT37 and TRGMUX_INT_OUT38 micro-ticks-per-rev is set as per vehicle gearbox reduction. lcu output filters are set to capture maximum speed sensitivity and avoid channel noise. qdec0 { compatible = "nxp,qdec-s32"; pinctrl-0 = <&qdec_s32>; pinctrl-names = "default"; micro-ticks-per-rev = <685440000>; status = "okay"; trgmux = <&trgmux>; trgmux-io-config = <0 TRGMUX_IP_OUTPUT_EMIOS0_CH5_9_IPP_IND_CH6 TRGMUX_IP_INPUT_LCU1_LC0_OUT_I2>, <1 TRGMUX_IP_OUTPUT_EMIOS0_CH5_9_IPP_IND_CH7 TRGMUX_IP_INPUT_LCU1_LC0_OUT_I3>, <2 TRGMUX_IP_OUTPUT_LCU1_0_INP_I0 TRGMUX_IP_INPUT_SIUL2_IN2>, <3 TRGMUX_IP_OUTPUT_LCU1_0_INP_I1 TRGMUX_IP_INPUT_SIUL2_IN3>; lcu = <&lcu1>; lcu-input-idx = <1>; <LCU_IP_IN_0 LCU_IP_IN_1 LCU_IP_IN_2 LCU_IP_IN_3>; lcu-mux-sel = <LCU_IP_MUX_SEL_LU_IN_0 LCU_IP_MUX_SEL_LU_IN_1 LCU_IP_MUX_SEL_LU_OUT_0 LCU_IP_MUX_SEL_LU_OUT_1>; lcu-output-filter-config = /* LCU Out HW ID, Rise Filter, Fall Filter */ <0 5 5>, /* LCU O0 */ <1 5 5>, /* LCU O1 */ <2 2 2>, /* LCU O2 */ <3 2 2>; /* LCU O3 */ emios = <&emios0>; emios-channels = <6 7>; };

About nxp,qdec-s32

Quadrature Decoder processes encoder signals to determine motor revs with the cooperation of S32 IP blocks- eMIOS, TRGMUX and LCU. The sensor qdec application can be used for testing this driver. The following example uses TRGMUX IN2 and IN3 to connect to LCU1 LC0 I0 and I1. LCU1 LC0 O2 and O3 connect to eMIOS0 CH6(Clockwise rotation) and CH7(Counter Clockwise rotation) via TRGMUX_INT_OUT37 and TRGMUX_INT_OUT38 micro-ticks-per-rev is set as per vehicle gearbox reduction. lcu output filters are set to capture maximum speed sensitivity and avoid channel noise. qdec0 { compatible = "nxp,qdec-s32"; pinctrl-0 = <&qdec_s32>; pinctrl-names = "default"; micro-ticks-per-rev = <685440000>; status = "okay"; trgmux = <&trgmux>; trgmux-io-config = <0 TRGMUX_IP_OUTPUT_EMIOS0_CH5_9_IPP_IND_CH6 TRGMUX_IP_INPUT_LCU1_LC0_OUT_I2>, <1 TRGMUX_IP_OUTPUT_EMIOS0_CH5_9_IPP_IND_CH7 TRGMUX_IP_INPUT_LCU1_LC0_OUT_I3>, <2 TRGMUX_IP_OUTPUT_LCU1_0_INP_I0 TRGMUX_IP_INPUT_SIUL2_IN2>, <3 TRGMUX_IP_OUTPUT_LCU1_0_INP_I1 TRGMUX_IP_INPUT_SIUL2_IN3>; lcu = <&lcu1>; lcu-input-idx = <1>; <LCU_IP_IN_0 LCU_IP_IN_1 LCU_IP_IN_2 LCU_IP_IN_3>; lcu-mux-sel = <LCU_IP_MUX_SEL_LU_IN_0 LCU_IP_MUX_SEL_LU_IN_1 LCU_IP_MUX_SEL_LU_OUT_0 LCU_IP_MUX_SEL_LU_OUT_1>; lcu-output-filter-config = /* LCU Out HW ID, Rise Filter, Fall Filter */ <0 5 5>, /* LCU O0 */ <1 5 5>, /* LCU O1 */ <2 2 2>, /* LCU O2 */ <3 2 2>; /* LCU O3 */ emios = <&emios0>; emios-channels = <6 7>; };

Device identity

Manufacturer
NXP Semiconductors
Model
nxp,qdec-s32
Category
Sensor Family

Specifications

Series
qdec-s32

Hardware and board identifiers

NamespaceValue
zephyr_idbinding:nxp,qdec-s32

Operating-system and firmware evidence

Source listings, compiled firmware and physical hardware tests are recorded separately.

Listed By Source

Oct 19, 2026

Operating system: zephyr. Imported from the named source; not an OpenFactory hardware test.

Source: Zephyr

Sources and provenance

  • ZephyrOct 19, 2026

    Curated source, revision d849fd4b82567cf25bac8b34b1cb7229dcea9b2f0c497b7670807a6efc549836

    No repository signature was supplied for this metadata.