Home Forums PS2X PlayStation 2 Controller Library Support Forum Controller mode not matched (got 1/got 63)

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1748
    Anonymous
    Inactive

    Dear Bill,

    first of all, thank you for your library and the support you’re giving to it.

    I’m new to your library, but not to Arduino and electronics. Actually, I’m using an Arduino clone – specifically, a JeeNode v6 – that runs on 3.3V so I think there’s no issues that could be related to pullup resistors & co, and I’ve done my job of mapping the PSX-port pins to wire colors, then to the controller pin, then to Arduino numbering convenctions: actually I can comunicate with the controller, but I can’t get your library to work.

    I have a silver SONY-branded SCPH-10010 DualShock 2 Analog Controller. Turning on debug mode, running your sample sketch unmodified (except for the pin mappings, changed to 5,16,15,6) when the controller’s led is off I see this communication going on:

    OUT:IN
    1:FF 42:1 0:10 0:FE 0:FF 0:FF 0:FF 0:FF 0:FF 0:0 0:0 0:0 0:0 0:0 0:0 0:0 0:0 0:0 0:0 0:0 0:0
    OUT:IN
    1:FF 42:1 0:10 0:FE 0:FF 0:FF 0:FF 0:FF 0:FF 0:0 0:0 0:0 0:0 0:0 0:0 0:0 0:0 0:0 0:0 0:0 0:0
    Controller mode not matched or no controller found
    Expected 0x41 or 0x73, got 1
    No controller found, check wiring, see readme.txt to enable debug. visit http://www.billporter.info for troubleshooting tips
    Unknown Controller type

    then I press the “analog” button so that the led turns on, then I reset the micro without powering off the controller, so that the led stays on, and I see this different communication:

    OUT:IN
    1:FF 42:63 0:10 0:FE 0:FF 0:70 0:62 0:78 0:4 0:0 0:0 0:0 0:0 0:0 0:0 0:0 0:0 0:0 0:0 0:0 0:0
    OUT:IN
    1:FF 42:63 0:10 0:FE 0:FF 0:70 0:62 0:78 0:4 0:0 0:0 0:0 0:0 0:0 0:0 0:0 0:0 0:0 0:0 0:0 0:0
    Controller mode not matched or no controller found
    Expected 0x41 or 0x73, got 63
    No controller found, check wiring, see readme.txt to enable debug. visit http://www.billporter.info for troubleshooting tips
    Unknown Controller type

    Do you have any suggestions? Any help would be appreciated.

    Cheers!

    Carlo

    #1788
    Bill
    Member

    Did you try all the steps in the troubleshooting guide yet? This looks like it could be a pullup or clock problem.

    #1794
    Anonymous
    Inactive

    Dear Bill,

    I’m sorry to have annoyed you: seeing that your library already turns on the internal pullup on the data line, and given that my MCU was running at 3.3V I tought no additional pull-ups would be needed… and deliberately skipped the step about pull-ups in the troubleshooting guide.

    Thank you so much,

    Carlo

    #1795
    Anonymous
    Inactive

    Well… I forgot to mention that now, with a 10k pull-up wired between data-line and 3.3V, it’s working properly. At first I tried with a 20k pull-up (first resistor that came to my hand) but it wasn’t enough.

    Carlo

    #1807
    Bill
    Member

    No annoyance. Just wanted to make sure you tried everything before continuing! Glad you got it working.

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.