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

AIROC™ Wi-Fi MCUs Forum Discussions

GrCa_1363456
Level 5
First comment on KBA First comment on blog 250 sign-ins
Level 5

What is the proper way to add multiplexing capability for pins on CYW43907 radio module using ModusToolbox?

I believe I need to add a line in the file: mtb_shared/mtb-hal-cat4/release-v0.5.0/COMPONENT_CAT4/source/cyhal_pin_package.c that connects GPIO_23 to PIN_PWM_5 per table 13 in the CYW43907 datasheet Rev L. However, I don’t understand the format to add that line of code.

There’s currently only one line for PIN_PWM_5 in cyhal_pin_package.c at line 231 of  {5, 0, PIN_PWM_5, PIN_MUX_SEL_1},

I want to add another line that allows a connection from GPIO_23 to PIN_PWM_5 via PIN_MUX_SEL_3.

What do the first two values in the line of code represent?

Here’s what I know of the format :  {<some number_A>, <some_number_B>, <pin_name>, <mux input column from Table 13 of CYW43907 datasheet>},

Greg

0 Likes
1 Solution
Rakesh_BG
Moderator
Moderator 10 likes received 25 solutions authored 50 replies posted
Moderator

Hi @GrCa_1363456 ,

The format :  {<The associated resource block number>, <The associated resource block's channel number>, <The GPIO pin>, <The pin function index value(mux input column from Table 13 of CYW43907 datasheet)>},

Thanks,

Rakesh B G

View solution in original post

1 Reply
Rakesh_BG
Moderator
Moderator 10 likes received 25 solutions authored 50 replies posted
Moderator

Hi @GrCa_1363456 ,

The format :  {<The associated resource block number>, <The associated resource block's channel number>, <The GPIO pin>, <The pin function index value(mux input column from Table 13 of CYW43907 datasheet)>},

Thanks,

Rakesh B G