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

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

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

Jump to solution
445 Views
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 Kudos
Reply
1 Solution
398 Views
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.
-------------------------------------------------------------------------------

View solution in original post

0 Kudos
Reply
1 Reply
399 Views
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 Kudos
Reply