Wrong port_pin_config_t mux bitfield for KV58

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

Wrong port_pin_config_t mux bitfield for KV58

606 Views
tomasvanek
Contributor III

KV58 devices have 4 bit Pin Mux Control field in PORTx_PCRn registers.

Both KSDK 2.0 and 2.2 define mux bitfield in port_pin_config_t (fsl_port.h) as 3 bits so pin configurations kPORT_MuxAlt8 to kPORT_MuxAlt15 cannot be configured. FSL_FEATURE_PORT_PCR_MUX_WIDTH should be used instead of fixed number.

Tags (1)
0 Kudos
Reply
1 Reply

478 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi Tomas Venek,

    Thank you very much for the bug report.

    It is really the KSDK bug, I will report it to our according department, it will be updated in the new version.


Have a great day,
Kerry

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply