Shop OBEX P1 Docs P2 Docs Learn Events
Console Emulation - Page 72 — Parallax Forums

Console Emulation

1666768697072»

Comments

  • RaymanRayman Posts: 15,111

    @Wuerfel_21 Looks like your LCD interface uses 12 pins, is that right?
    So, two eval headers should leave 4 pins free for audio/USB?

  • @Rayman said:
    @Wuerfel_21 Looks like your LCD interface uses 12 pins, is that right?
    So, two eval headers should leave 4 pins free for audio/USB?

    Exactly. Would put audio there.

  • RaymanRayman Posts: 15,111

    Can do both stereo and usb right?

  • @Rayman said:
    Can do both stereo and usb right?

    Only if you drop the extra 2 pins (enable + LED) that the usual USB boards have.

  • RaymanRayman Posts: 15,111
    edited 2025-04-19 22:03

    All the audio is probably mono, right?

    Would be nice to be able to turn off backlight and USB to save power...

  • @Rayman said:
    All the audio is probably mono, right?

    No, all the emulators have stereo sound.

  • RaymanRayman Posts: 15,111

    After the display is setup then the SPI signals, CLK and MOSI are free?

  • @Rayman said:
    After the display is setup then the SPI signals, CLK and MOSI are free?

    Yep, only needed during display init. Though IDK if the driver releases the pins properly.

  • RaymanRayman Posts: 15,111

    Ok, that's great. Sounds like a simple driver fix, if it is needed...

  • @Rayman said:
    Ok, that's great. Sounds like a simple driver fix, if it is needed...

    There's a part that reads

                getbyte pb,extravpins,#1 ' CS high
                drvh pb
                getbyte pb,extravpins,#3 ' float SDA
                fltl pb
          _ret_ waitx #511
    

    I guess that could just be changed to

                getbyte pb,extravpins,#1 ' CS high
                drvh pb
                getbyte pb,extravpins,#2 ' float CLK
                fltl pb
                getbyte pb,extravpins,#3 ' float SDA
                fltl pb
          _ret_ waitx #511
    
  • RaymanRayman Posts: 15,111
    edited 2025-04-19 23:46

    Are there any cogs with enough time to say read an analog brightness input and adjust PWM on a P2 pin to match?

    USB enable, I don't know... Is there any use?
    usb activity might be more interesting use...

  • @Rayman said:
    Are there any cogs with enough time to say read an analog brightness input and adjust PWM on a P2 pin to match?

    I think that's basically just reading a smartpin, adjusting the value and writing to another smartpin, so that could really go anywhere.
    So that would either go into the video driver or the input driver. Input driver I guess makes more sense because it's more easily shared/adapted between projects.
    Though overall just putting whatever 8 pin peanut that does this in hardware on the board is least annoying. Or just don't, these LCDs don't get ultra bright to begin with.

  • RaymanRayman Posts: 15,111
    edited 2025-04-20 00:15

    Do yours have touchscreen? That takes away a bit of the brightness...

    Thinking in terms of a handheld, where you want to turn off stuff but maybe not totally go dark...

  • @Rayman said:
    Do yours have touchscreen? That takes away a bit of the brightness...

    No.

    Thinking in terms of a handheld, where you want to turn off stuff but maybe not totally go dark...

    Yea. Though I'd assume running the P2 takes more power than the screen.

  • RaymanRayman Posts: 15,111

    @Wuerfel_21 Can you post a pic of your 2.3" module? Want to see what resistors they left in...

    Thinking 6-bit RGB interface is a special thing, not listed in their options.
    Although, maybe it doesn't matter if data pins are open but not used...

  • @Rayman said:
    @Wuerfel_21 Can you post a pic of your 2.3" module? Want to see what resistors they left in...

    Thinking 6-bit RGB interface is a special thing, not listed in their options.
    Although, maybe it doesn't matter if data pins are open but not used...

    It's a essentially the 3-pin SPI configuration, but with JP2 populated. You can specifically ask for this via email.

  • RaymanRayman Posts: 15,111

    Appears mine has a zero ohm resistor to ground on all the 18-bit data bus lines. But can fix that with ohm meter and hot air gun…

  • @Rayman said:
    Appears mine has a zero ohm resistor to ground on all the 18-bit data bus lines. But can fix that with ohm meter and hot air gun…

    That seems incorrect, there aren't even 18 jumpers to mess the data bus up like that.

    Here's a shot of the correct jumper setup (also note populated JP2)

  • RaymanRayman Posts: 15,111

    Not jumpers, all those 0402 resistors on the sides…

  • @Rayman said:
    Not jumpers, all those 0402 resistors on the sides…

    Those are effectively solder jumpers, they just populate them with zero-ohm 0402 because I guess that's easier in manufacturing.

Sign In or Register to comment.