Roland HP 236 pedal issues

I have a Roland HP 236 which works perfectly and the pedal unit stopped working. I got another sustain pedal, plugged in and it worked well. I am assuming the issue is with the pedal unit and not with the piano jack / connectors.

I’ve checked the pedal unit connectors / electronic parts and they all seem okay.

Any tips / recommendations?

Tks in advance!!!