Peripheral and GPIO settings for Modus Toolbox

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

cross mob
MiNe_85951
Level 7
Level 7
Distributor - TED (Japan)
50 likes received 500 replies posted 50 solutions authored

Dear Sirs and Madams,

 

We are using the LIN sample project on Github as a reference.

 

mtb-example-psoc4-lin-slave project URL

https://github.com/Infineon/mtb-example-psoc4-lin-slave

 

Using the "make getlibs" command and "make eclipse" command, We successfully built and confirmed the operation.

However, there is an unknown point in this project.

 

When We confirm for "Device configurator", it is not checked under "Peripherals" and "Pins".

 

[Peripherals]

MaMi_1205306_0-1659313110405.jpeg

[Pins]

MaMi_1205306_1-1659313144035.jpeg

 

If it is written in the "resource_ map.h" as shown below, is it possible not to check the corresponding "Peripherals" and "Pins" checkboxes in the device configurator?

 

[Resource_map.h]

MaMi_1205306_2-1659313484973.png

For example, if you check the check boxes for pins P3[0], P3[1], P3[4], P3[6] and P2[6], it will not work properly.

 

Also, when We would like to use LIN communication in Modus Toolbox , is it possible to use it only if it is described by such a "resource_map.h"?

Please tell us about the relationship between "Device Configurator" and "resource_map.h" in the this "mtb-example-psoc4-lin-slave project".

 

Regards,

0 Likes
1 Solution
Alakananda_BG
Moderator
Moderator
Moderator
50 likes received 250 sign-ins 250 replies posted

Hi @MiNe_85951 ,,

In the mtb-example-psoc4-lin-slave CE HAL libraries are being used and not PDL.

Hence initializing those pins with device configurator (done for PDL libraries) will cause a conflict.

Regards,

Alakananda

View solution in original post

1 Reply
Alakananda_BG
Moderator
Moderator
Moderator
50 likes received 250 sign-ins 250 replies posted

Hi @MiNe_85951 ,,

In the mtb-example-psoc4-lin-slave CE HAL libraries are being used and not PDL.

Hence initializing those pins with device configurator (done for PDL libraries) will cause a conflict.

Regards,

Alakananda