Getting started with 20XS4200 HIGH-SIDE SWITCH

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

Getting started with 20XS4200 HIGH-SIDE SWITCH

Jump to solution
926 Views
InHome
Contributor III

Dear NXP Hello,

This is my first post/question in the forum, sorry if I am in the wrong place!

So, I am using a circuit 20XS4200 HIGH-SIDE SWITCH and, I want a basic driver if it exists, please.

Does NXP have any driver or example to help getting started with this component?

what is the best strategy for a generic driver for many components of the same circuit (20XS4200)?

I am using the MPC5748GRMv6 MCU.

My idea is to use plenty of this circuit in series using SPI communication but, the driver must be generic since I will add many of 20XS4200.

 

Thank you in advance and please guide me if I am in the wrong place,

InitHomeT

0 Kudos
1 Solution
896 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport
0 Kudos
4 Replies
915 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

Currently there is not a source code for the 24V MC20XS4200 switch available.

However, we do have the AN3831 for our 12V eXtreme switches that might be useful. The source code for the AN3831 is attached.

AN3831:

https://www.nxp.com/docs/en/application-note/AN3831.pdf

If we are talking about MPC5748G, SPI examples can be found in this application note:

https://www.nxp.com/docs/en/application-note/AN4830.pdf

https://www.nxp.com/webapp/Download?colCode=AN4830SW&appType=license&location=null

or something can be found also here:

https://community.nxp.com/t5/MPC5xxx-Knowledge-Base/MPC5-software-example-list/ta-p/1102445#MPC5748G

And if you use SDK, then there are SPI examples:

c:\NXP\S32DS_Power_v2.1\S32DS\software\S32_SDK_S32PA_RTM_3.0.0\examples\MPC5748G\driver_examples\communication\dspi_master\

c:\NXP\S32DS_Power_v2.1\S32DS\software\S32_SDK_S32PA_RTM_3.0.0\examples\MPC5748G\driver_examples\communication\spi_pal\

Regards,

Lukas

 

0 Kudos
815 Views
InHome
Contributor III

Hello,

I download this project and I could import it to code worrior,

Would you recommend a link for IDE download?

thank you

0 Kudos
911 Views
InHome
Contributor III

Hi Lukas,

I'll read the documents you attached and I'll come back if I have more questions. 

I am not using SDK and, Id like to install it on my computer to have full access to examples.

Could you please post the link?

Thank you,

0 Kudos
897 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

S32 Design Studio for Power architecture can be downloaded here:

https://www.nxp.com/design/software/development-software/s32-design-studio-ide/s32-design-studio-for...

Regards,

Lukas

0 Kudos