![]() |
Forum Index : Microcontroller and PC projects : VS1053 support
Author | Message | ||||
tenij000 Regular Member ![]() Joined: 30/05/2025 Location: NetherlandsPosts: 45 |
VS1053 support do need to share the CLKpin, MOSIpin, MISOpin from display |
||||
Mixtel90![]() Guru ![]() Joined: 05/10/2019 Location: United KingdomPosts: 7997 |
Personally I wouldn't share it with a display, although a SD card might be ok. I haven't tried sharing it with a display because that channel is pretty busy. Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10350 |
You can't share them. It must have a dedicated SPI channel |
||||
tenij000 Regular Member ![]() Joined: 30/05/2025 Location: NetherlandsPosts: 45 |
PicoMite MMBasic RP2350A Edition V6.00.02RC26 OPTION SYSTEM SPI GP18,GP19,GP16 OPTION FLASH SIZE 4194304 OPTION COLOURCODE ON OPTION DEFAULT COLOURS WHITE, OPTION KEYBOARD US OPTION CPUSPEED (KHz) 150000 OPTION LCDPANEL CONSOLE ,,, FFA500, 50,NOSCROLL OPTION DISPLAY 20, 40 OPTION LCDPANEL ILI9341, LANDSCAPE,GP15,GP14,GP13,GP20 OPTION GUI CONTROLS 78 OPTION TOUCH GP5,GP7 GUI CALIBRATE 0, 3897, 3858, -899, -668 OPTION SDCARD GP12 OPTION AUDIO GP0,GP1', ON PWM CHANNEL 0 OPTION F8 hello how gone choose those second spi then if already made 1 |
||||
tenij000 Regular Member ![]() Joined: 30/05/2025 Location: NetherlandsPosts: 45 |
VS1053 → PicoMite (GPIO) -------------------------------- GND → GND VCC → 3V3 RST → GP10 MISO → GP16 (SPI0 MISO) MOSI → GP19 (SPI0 MOSI) SCK → GP18 (SPI0 SCK) XCS → GP13 XDCS → GP14 DREQ → GP15 |
||||
Mixtel90![]() Guru ![]() Joined: 05/10/2019 Location: United KingdomPosts: 7997 |
You can't use the same SPI channel for the display and the VS1053 and the display has to use SYSTEM spi as you can't specify the SPI pins for that option. I've rearranged the pins a bit to make it fit. e.g. 'use SPI1 as the SYSTEM SPI. This can be shared with the SD card. OPTION SYSTEM SPI GP18, GP19, GP16 OPTION LCDPANEL ILI9341, LANDSCAPE, GP14, GP15, GP13, GP20 OPTION TOUCH GP5, GP7 OPTION SDCARD GP4 'SPI1 has been used, now we have to use SPI2 OPTION AUDIO VS1053 GP10, GP11, GP12, GP0, GP1, GP2, GP3 Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |