So I'm trying to hook up my 18 fet lyen controller to my hs3540. I've only connected the 3 phase wires and 5 halls temporarily. I have the thin red wire directly connected to the positive wire. When I try to hook up my battery I get a big spark like there's a short. So I tried disconnecting the thin red wire from the positive and I still get a big spark when I try to connect the battery.
Any ideas? I hooked up my 12 fet from ebikes.ca without any issues and I had to figure out the hall and phase combos manually so I do have some experience doing this.
What would cause a big spark like that, a bad mosfet out of the box maybe? How should I proceed. Should I open it up and check the fets? How can I test the controller to make sure its working right? Could that thing be the cause of my spark?

I've opened up the controller. On the underside there is a single component. It looks like might be a diode or maybe a resistor and it looks damaged. Anyone know what it is?

Any ideas? I hooked up my 12 fet from ebikes.ca without any issues and I had to figure out the hall and phase combos manually so I do have some experience doing this.
What would cause a big spark like that, a bad mosfet out of the box maybe? How should I proceed. Should I open it up and check the fets? How can I test the controller to make sure its working right? Could that thing be the cause of my spark?

I've opened up the controller. On the underside there is a single component. It looks like might be a diode or maybe a resistor and it looks damaged. Anyone know what it is?
