MAX14915 EV kit with Infineon controller XMC 1400 boot kit

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

cross mob
Ranjitha
Level 1
Level 1
5 questions asked First like received 10 sign-ins

Hi Team,

We are working on the driver IC MAX14915 EV kit to switch ON/OFF output channels using Infineon XMC1400 boot kit.
Here we are facing an issue in switching ON/OFF the single channel using SPI. When we transmit 0x02 along with command 0x01, it should switch ON the channel 2.
But here along with channel 2 channel 1 also switching ON.
We have configured the SPI CPOL and CPHA to 0 and clock is 2MHz.

We have tried with other controllers and there its working as excepted but here in infineon we are facing the issue.

Please let us know what the issue is.

Thanks

0 Likes
1 Solution
Aashita_R
Moderator
Moderator
Moderator
50 likes received 100 solutions authored 250 replies posted

Hi @Ranjitha ,

If possible, can you please share your application project with us? It would be helpful for us if we go through the code once. You can use the below API for enabling the channel -

XMC_USIC_Enable()

void XMC_USIC_Enable ( XMC_USIC_t *const  usic )  
Parameters
usic Pointer to USIC module handler of type XMC_USIC_t.
Range: XMC_USIC0 to XMC_USIC2 based on device support.
Returns
None
Description
Enables the USIC module.

Enables the clock for the USIC module by following the clock enabling sequence for the selected device.
Related APIs:
XMC_USIC_CH_Enable(), XMC_USIC_Disable()

You can also read about this API over XMC Lib page here : https://infineon.github.io/mtb-xmclib-cat3/xmc1_api_reference_manual/html/group___u_s_i_c.html#ga481...

Please go through above and let us know in case of any further queries.

Best Regards,

Aashita

View solution in original post

0 Likes
2 Replies
Aashita_R
Moderator
Moderator
Moderator
50 likes received 100 solutions authored 250 replies posted

Hi @Ranjitha ,

If possible, can you please share your application project with us? It would be helpful for us if we go through the code once. You can use the below API for enabling the channel -

XMC_USIC_Enable()

void XMC_USIC_Enable ( XMC_USIC_t *const  usic )  
Parameters
usic Pointer to USIC module handler of type XMC_USIC_t.
Range: XMC_USIC0 to XMC_USIC2 based on device support.
Returns
None
Description
Enables the USIC module.

Enables the clock for the USIC module by following the clock enabling sequence for the selected device.
Related APIs:
XMC_USIC_CH_Enable(), XMC_USIC_Disable()

You can also read about this API over XMC Lib page here : https://infineon.github.io/mtb-xmclib-cat3/xmc1_api_reference_manual/html/group___u_s_i_c.html#ga481...

Please go through above and let us know in case of any further queries.

Best Regards,

Aashita

0 Likes
lock attach
Attachments are accessible only for community members.
 
0 Likes