Wrong port_pin_config_t mux bitfield for KV58

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Wrong port_pin_config_t mux bitfield for KV58

858 次查看
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.

标记 (1)
0 项奖励
回复
1 回复

730 次查看
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 项奖励
回复