Error using init_pins function with integrated TASKING Pin Mapper generated files

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
User-6_6-
Employee
Employee
50 sign-ins 10 replies posted 5 replies posted

No issue when debugging the project ASCLIN_Shell_UART_1_KIT_TC275_SB after importing in ADS. See Figure 1 output terminal.

However, once the pin configuration in initSerialInterface() is replaced by asclin3_init_pins(), the project is not working. See Figure 2 output terminal.

 

 /* Initialize the hardware peripherals */
initLED();
initSerialInterface();   // commented out the pin configuration
asclin3_init_pins();     // Initialize the pin from Pin Mapper


Do you know what is the issue, and how to solve it?

 

0 Likes
1 Solution
User-6_6-
Employee
Employee
50 sign-ins 10 replies posted 5 replies posted

The peripheral input signal need to be selected accordingly.

asclin3_init_pins(); // Initialize the pin from Pin Mapper
IfxAsclin_setRxInput(&MODULE_ASCLIN3, IfxAsclin_RxInputSelect_3); //set the peripheral input signal selection

View solution in original post

2 Replies
Prudhvi_E
Moderator
Moderator
Moderator
250 replies posted 100 solutions authored 25 likes received

Hello,

The root cause may not be directly pointed to with the screenshots. Did you compare the functional differences with and without the Tasking Pin mapper ? Are all configurations in the ADS example and the Tasking pin mapper ensured to be same ?

Regards,

Prudhvi.

0 Likes
User-6_6-
Employee
Employee
50 sign-ins 10 replies posted 5 replies posted

The peripheral input signal need to be selected accordingly.

asclin3_init_pins(); // Initialize the pin from Pin Mapper
IfxAsclin_setRxInput(&MODULE_ASCLIN3, IfxAsclin_RxInputSelect_3); //set the peripheral input signal selection