after pin assign, do i have to add all of assign pins in port container?

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

after pin assign, do i have to add all of assign pins in port container?

跳至解决方案
452 次查看
rlaxortn
Contributor IV

i will use pwm, adc, gpio, can, uart and so on..

and i assign pins.

after pin assign, do i have to add all of assign pins in port container?

if i don't add in port container and don't init port, that pins don't work??

 

thanks for regards.

 

화면 캡처 2025-04-15 132132.png화면 캡처 2025-04-15 132156.png

0 项奖励
回复
1 解答
405 次查看
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi

Yes.

/*!
* @brief Initializes the pins with the given configuration structure
*
* This function configures the pins with the options provided in the
* provided structure.
*
* @param[in] pinCount The number of configured pins in structure
* @param[in] config The configuration structure
* @return The status of the operation
*/
Siul2_Port_Ip_PortStatusType Siul2_Port_Ip_Init(uint32 pinCount,
const Siul2_Port_Ip_PinSettingsConfig config[]);

Only those pins that have this function by default(Direct Signals) will work, such as ADC\CMP, etc.

Direct Signals.png

Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "ACCEPT AS SOLUTION" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

在原帖中查看解决方案

0 项奖励
回复
1 回复
406 次查看
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi

Yes.

/*!
* @brief Initializes the pins with the given configuration structure
*
* This function configures the pins with the options provided in the
* provided structure.
*
* @param[in] pinCount The number of configured pins in structure
* @param[in] config The configuration structure
* @return The status of the operation
*/
Siul2_Port_Ip_PortStatusType Siul2_Port_Ip_Init(uint32 pinCount,
const Siul2_Port_Ip_PinSettingsConfig config[]);

Only those pins that have this function by default(Direct Signals) will work, such as ADC\CMP, etc.

Direct Signals.png

Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "ACCEPT AS SOLUTION" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 项奖励
回复