Home of the Squeezebox™ & Transporter® network music players.
Page 123 of 141 FirstFirst ... 2373113121122123124125133 ... LastLast
Results 1,221 to 1,230 of 1405
  1. #1221
    Senior Member
    Join Date
    May 2008
    Location
    Canada
    Posts
    7,755

    GPIO expander

    For the braves, I've uploaded (but not released) a version that works with pca/pcf9435 (you can find it int he build artifacts). It has driver for pca/pcf85xx but I can't test it for now. If you try that, make sure that you have a serial connector to reload a released firmware. At this point, only buttons can be used, output GPIO are not yet available. It's very early, but feedback welcome.
    LMS 8.2 on Odroid-C4 - SqueezeAMP!, 5xRadio, 5xBoom, 2xDuet, 1xTouch, 1xSB3. Sonos PLAY:3, PLAY:5, Marantz NR1603, Foobar2000, ShairPortW, 2xChromecast Audio, Chromecast v1 and v2, Squeezelite on Pi, Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5, RivaArena 1 & 3

  2. #1222
    Senior Member
    Join Date
    Jan 2016
    Location
    Germany
    Posts
    218
    Quote Originally Posted by sle118 View Post
    ... I just received some SPI modules and they are next in my list; they are a bit slower than RMII, but require less gpio's.

    Here is a link to the modules I ordered (W5500)
    https://a.aliexpress.com/_mrr85ZY
    I had also looked at this module before.
    Will such a SPI module work together with a SPI display?

  3. #1223
    Senior Member
    Join Date
    May 2008
    Location
    Canada
    Posts
    7,755
    Quote Originally Posted by piPlayer View Post
    I had also looked at this module before.
    Will such a SPI module work together with a SPI display?
    esp32 has 4 SPI bus/ The first 2 ones are used for Flash and the last one is used for PSRAM at 80MHz. So only HSPI (spi2) can be used, but it supports up to 3 devices with a CS for each. So, pending performances impact, it should work.
    LMS 8.2 on Odroid-C4 - SqueezeAMP!, 5xRadio, 5xBoom, 2xDuet, 1xTouch, 1xSB3. Sonos PLAY:3, PLAY:5, Marantz NR1603, Foobar2000, ShairPortW, 2xChromecast Audio, Chromecast v1 and v2, Squeezelite on Pi, Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5, RivaArena 1 & 3

  4. #1224
    Senior Member
    Join Date
    Jan 2016
    Location
    Germany
    Posts
    218
    Quote Originally Posted by philippe_44 View Post
    ... So, pending performances impact, it should work.
    That sounds good to me. I am eagerly awaiting the release.

    I currently have another problem. I am using a 160x128 display with ST7735 controller. It has offsets on the right and bottom edges as seen in the picture.
    Is there any chance to correct this offset?

    my settings:
    Code:
    spi_config": "data=13,clk=15,dc=23,host=1
    display_config": "SPI,width=160,height=128,cs=12,reset=0,back=19,speed=27000000,driver=ST7735,VFlip,rotate
    Attached Images Attached Images  

  5. #1225
    Quote Originally Posted by piPlayer View Post
    I currently have another problem. I am using a 160x128 display with ST7735 controller. It has offsets on the right and bottom edges as seen in the picture.
    Is there any chance to correct this offset?
    Using the same display, I had something like that yesterday, with a bunch of stray pixels at the edge, and it turned out to be GPIO that was shared with the DAC. Maybe you have something similar?

    This worked for me:
    Code:
    SPI:width=160,height=128,cs=12,reset=22,speed=8000000,driver=ST7735,VFlip,rotate
    data=13,clk=15,dc=23,host=1
    That is on A1S with AC101. I didn't get it to work on an A1S with ES8388.

  6. #1226
    Senior Member
    Join Date
    Jan 2016
    Location
    Germany
    Posts
    218
    Quote Originally Posted by nenu View Post
    ...
    This worked for me:
    Code:
    SPI:width=160,height=128,cs=12,reset=22,speed=8000000,driver=ST7735,VFlip,rotate
    data=13,clk=15,dc=23,host=1
    That is on A1S with AC101. I didn't get it to work on an A1S with ES8388.
    I also use an A1S module with AC101 DAC.
    My settings are almost identical to yours. First I connected the GPIO 22 with reset but the display did not work. Only when I connected reset to GPIO 0, it worked as expected.

    I also use the same display in another project with Arduino code. There the problem also occurred. The solution there was to change the code from INITR_BLACKTAB to INITR_GREENTAB in the Adafruit_ST7735.h library.
    Maybe this helps to find a solution here too?
    Last edited by piPlayer; 2021-12-02 at 00:08.

  7. #1227
    Senior Member
    Join Date
    May 2008
    Location
    Canada
    Posts
    7,755

    ANNOUNCE: Squeezelite-ESP32 (dedicated thread)

    Quote Originally Posted by piPlayer View Post
    That sounds good to me. I am eagerly awaiting the release.

    I currently have another problem. I am using a 160x128 display with ST7735 controller. It has offsets on the right and bottom edges as seen in the picture.
    Is there any chance to correct this offset?

    my settings:
    Code:
    spi_config": "data=13,clk=15,dc=23,host=1
    display_config": "SPI,width=160,height=128,cs=12,reset=0,back=19,speed=27000000,driver=ST7735,VFlip,rotate
    I don't think this is a bug, maybe rather something with your hardware

    [edit]: No I'm sorry I just read about that and it seems they have added some offset in the controller-to-glass connection - crap

    [edit2]: Luckily I had to take into account an offset for rotation so it should be fairly easy. After the name of the driver, I’ll add something like

    driver=ST7735:x=3:y=2,<other params>…
    Last edited by philippe_44; 2021-12-02 at 02:28.
    LMS 8.2 on Odroid-C4 - SqueezeAMP!, 5xRadio, 5xBoom, 2xDuet, 1xTouch, 1xSB3. Sonos PLAY:3, PLAY:5, Marantz NR1603, Foobar2000, ShairPortW, 2xChromecast Audio, Chromecast v1 and v2, Squeezelite on Pi, Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5, RivaArena 1 & 3

  8. #1228
    Senior Member
    Join Date
    Jan 2016
    Location
    Germany
    Posts
    218
    Quote Originally Posted by philippe_44 View Post
    ... Luckily I had to take into account an offset for rotation so it should be fairly easy. After the name of the driver, I’ll add something like

    driver=ST7735:x=3:y=2,…
    If that is possible, that would most likely be the solution to the problem.

  9. #1229
    Senior Member
    Join Date
    May 2008
    Location
    Canada
    Posts
    7,755
    Quote Originally Posted by piPlayer View Post
    If that is possible, that would most likely be the solution to the problem.
    Version is being build. Look at recent artifacts and get the .bin directly from there to update using debug port. I'm not releasing an official version for now. Let me know if this works (use the syntax "driver=SS7735:x=<offset>:y=<offset>")
    LMS 8.2 on Odroid-C4 - SqueezeAMP!, 5xRadio, 5xBoom, 2xDuet, 1xTouch, 1xSB3. Sonos PLAY:3, PLAY:5, Marantz NR1603, Foobar2000, ShairPortW, 2xChromecast Audio, Chromecast v1 and v2, Squeezelite on Pi, Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5, RivaArena 1 & 3

  10. #1230
    Senior Member
    Join Date
    Jan 2016
    Location
    Germany
    Posts
    218
    Quote Originally Posted by philippe_44 View Post
    ... Let me know if this works (use the syntax "driver=SS7735:x=<offset>:y=<offset>")
    Wow that was fast. I will test it this weekend and give you feedback.
    Thank you for that.

    Regards
    PiPlayer

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •