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

Smart Power Switches Forum Discussions

NicoEFI
Level 1
Level 1
First solution authored 5 sign-ins First reply posted

Hello,

How can i use library BTS7002 with 2 shields on a MEGA2560 ?

Can you give a sample code please.

0 Likes
1 Solution

Ok maybe find a solution, I have to study this file, it does not use a library, it will be easier to understand

https://github.com/Infineon/PROFET-2-12V-Arduino-Shield/blob/master/PROFET_2_12V_Shield_Starting_Sof... 

View solution in original post

0 Likes
4 Replies
Vishnu_Nambrath
Moderator
Moderator
Moderator
50 solutions authored 100 replies posted 5 likes given

Hello, 

BTS7002 and MCU interface through only 2 GPIOs and 1 ADC. 
One GPIO is used to control the high-side MOSFET and the second one is used to enable the diagnosis feature. 
ADC is used to measure the current through the high-side MOSFET. 
You can use the standard port configurations. We don't have a sample code for this combination. 

Regards 
Vishnu N

0 Likes
NicoEFI
Level 1
Level 1
First solution authored 5 sign-ins First reply posted

Hello,

If I knew how to do it I wouldn't have asked 🙄

 

0 Likes

Ok maybe find a solution, I have to study this file, it does not use a library, it will be easier to understand

https://github.com/Infineon/PROFET-2-12V-Arduino-Shield/blob/master/PROFET_2_12V_Shield_Starting_Sof... 

0 Likes

Hello, 

Sorry, I didn't check GitHub. 
Please let me know if you need any more support. 

Regards 
Vishnu N

0 Likes