Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 18:30 24 Nov 2024 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : RP2350 HDMI with 720P goodness

     Page 1 of 4    
Author Message
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 9105
Posted: 02:42pm 06 Sep 2024
Copy link to clipboard 
Print this post

Download from here

Use
OPTION WIDESCREEN ON/OFF or ENABLE/DISABLE to switch to 1280x720 720P mode

MODE 1 ' 1280x720x2-colours with RGB332 tiles (use the TILE command as normal)
MODE 2 ' 320x180x16colours with optional layer (no memory usage) and colour mapping to RGB332 palette
MODE 3:' 640x360x16 colours with optional layer (significant memory usage) and colour mapping to RGB332 palette

Default font for mode 1 is 3 which is now 16x24
Default font for mode 2 is 7
Default font for 3 is 1







and if you want to edit in more detail




Edited 2024-09-07 00:47 by matherp
 
Plasmamac

Guru

Joined: 31/01/2019
Location: Germany
Posts: 554
Posted: 02:46pm 06 Sep 2024
Copy link to clipboard 
Print this post

its become better every day , thx peter
Plasma
 
robert.rozee
Guru

Joined: 31/12/2012
Location: New Zealand
Posts: 2350
Posted: 03:04pm 06 Sep 2024
Copy link to clipboard 
Print this post

brilliant achievement Peter!        


cheers,
rob   :-)
 
homa

Guru

Joined: 05/11/2021
Location: Germany
Posts: 351
Posted: 03:43pm 06 Sep 2024
Copy link to clipboard 
Print this post

Too bad, it doesn't work for me (720p, all modes), even though it's a full HD monitor (HP 2309m) with DVI input.


> option list
PicoMiteVGA MMBasic USB Edition  6.00.00b6
OPTION SERIAL CONSOLE COM2,GP8,GP9
OPTION FLASH SIZE 4194304
OPTION COLOURCODE ON
OPTION KEYBOARD GR
OPTION CPUSPEED (KHz) 315000
OPTION SDCARD GP5, GP6, GP7, GP4




Do you still have any adjustment screws?
Edited 2024-09-07 01:48 by homa
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 9105
Posted: 04:15pm 06 Sep 2024
Copy link to clipboard 
Print this post

I've checked it both normal and USB versions using a bog standard 1080p monitor. I've also checked the signals on the scope and the clock timing is pretty much perfect.

720P is a TV standard rather than a normal monitor standard but is the only widescreen mode that has a clock speed in range of the RP2350 - 371.25MHz (rounded to 372MHz - 0.2% error). My monitor is perfectly happy with a 375MHz clock speed so I don't think the trivial error is the issue - the advantage of a clocked system unlike VGA.

Are you using  270 ohm series resistors on all lines? My tests are using my little I/F board and the Olimex board. In both case the signal lines form the Pico2 to the HDMI socket are very short. At 372MHz signal integrity is likely to be an issue if breadboarded.

Even works on one of the little 800x480 displays with the multi-input adapter board




Edited 2024-09-07 02:23 by matherp
 
homa

Guru

Joined: 05/11/2021
Location: Germany
Posts: 351
Posted: 04:37pm 06 Sep 2024
Copy link to clipboard 
Print this post

it works on my tv :-) but that's not a permanent option.

I'm about to switch from the dvi input to the hdmi on the monitor ... but I'm afraid that won't work.

What I noticed: in mode 3 and then “files” changes the font?! that looks strange.

Otherwise good job!

Switching between widescreen on/off is only possible via OPTION? I tried it in a small test program. The first switch works, but then the program is closed, right?
 
homa

Guru

Joined: 05/11/2021
Location: Germany
Posts: 351
Posted: 05:00pm 06 Sep 2024
Copy link to clipboard 
Print this post

As feared, no improvement at the other entrance. This shows the OSD info normal 4:3 vs 720p:


Edited 2024-09-07 03:01 by homa
 
homa

Guru

Joined: 05/11/2021
Location: Germany
Posts: 351
Posted: 05:05pm 06 Sep 2024
Copy link to clipboard 
Print this post

No breadboard
I'm using that at the moment:



I took part in the Plasmamac collective order and an Olimex board has also been ordered.
 
homa

Guru

Joined: 05/11/2021
Location: Germany
Posts: 351
Posted: 05:13pm 06 Sep 2024
Copy link to clipboard 
Print this post


> option widescreen off
> option list
PicoMiteVGA MMBasic USB Edition  6.00.00b6
OPTION SERIAL CONSOLE COM2,GP8,GP9
OPTION FLASH SIZE 4194304
OPTION COLOURCODE ON
OPTION KEYBOARD GR
OPTION CPUSPEED (KHz) 315000
OPTION SDCARD GP5, GP6, GP7, GP4
> option cpuspeed 372000
Error : CpuSpeed 126000, 252000, 378000, 157500 or 315000 only
>
> option widescreen on
> option list
PicoMiteVGA MMBasic USB Edition  6.00.00b6
OPTION SERIAL CONSOLE COM2,GP8,GP9
OPTION FLASH SIZE 4194304
OPTION COLOURCODE ON
OPTION KEYBOARD GR
OPTION CPUSPEED (KHz) 372000
OPTION DISPLAY 45, 80
OPTION WIDESCREEN ENABLE
OPTION SDCARD GP5, GP6, GP7, GP4
OPTION DEFAULT FONT 3, 1
> option cpuspeed 350000
Error : CpuSpeed 126000, 252000, 378000, 157500 or 315000 only
> option cpuspeed 315000
> option list
PicoMiteVGA MMBasic USB Edition  6.00.00b6
OPTION SERIAL CONSOLE COM2,GP8,GP9
OPTION FLASH SIZE 4194304
OPTION COLOURCODE ON
OPTION KEYBOARD GR
OPTION CPUSPEED (KHz) 315000
OPTION DISPLAY 30, 40
OPTION SDCARD GP5, GP6, GP7, GP4
OPTION DEFAULT FONT 3, 1
>

okay, changing the cpu speed ends the widescreen mode
but it doesn't work the other way around
 
stanleyella

Guru

Joined: 25/06/2022
Location: United Kingdom
Posts: 2120
Posted: 05:13pm 06 Sep 2024
Copy link to clipboard 
Print this post

  homa said  No breadboard
I'm using that at the moment:



I took part in the Plasmamac collective order and an Olimex board has also been ordered.


how to get on the hdmi train? no idea where I get a ticket. will there be ae or ebay addon boards soon?
hdmi not for users but for teckno guys.
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 9105
Posted: 05:21pm 06 Sep 2024
Copy link to clipboard 
Print this post

  Quote  This shows the OSD info normal 4:3 vs 720p:


The 720P timings are exactly correct see here

  Quote  Switching between widescreen on/off is only possible via OPTION?


Yes: Lots of things that can only be done on initialisation
Edited 2024-09-07 03:22 by matherp
 
homa

Guru

Joined: 05/11/2021
Location: Germany
Posts: 351
Posted: 05:22pm 06 Sep 2024
Copy link to clipboard 
Print this post

Buy your ticket here

https://learn.adafruit.com/adafruit-dvi-sock-for-pico/pinouts
 
homa

Guru

Joined: 05/11/2021
Location: Germany
Posts: 351
Posted: 05:25pm 06 Sep 2024
Copy link to clipboard 
Print this post

  matherp said  
  Quote  This shows the OSD info normal 4:3 vs 720p:


The 720P timings are exactly correct see here



Peter,
I believe you, your work is usually almost perfect!
I'm annoyed about my monitor! I was hoping that there would have been a few more adjustment screws as an option.
But I will test other monitors ...
Unfortunately not until tomorrow.

Matthias
Edited 2024-09-07 03:26 by homa
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 9105
Posted: 05:25pm 06 Sep 2024
Copy link to clipboard 
Print this post

  Quote  Buy your ticket here


or here

With this one use "OPTION RESET OLIMEX" to fully configure it
 
stanleyella

Guru

Joined: 25/06/2022
Location: United Kingdom
Posts: 2120
Posted: 05:38pm 06 Sep 2024
Copy link to clipboard 
Print this post

my point was vga on 2040 easy , the manual
ili9341 touch and sd card easy, the manual
hdmi or dvi rocket science that is too complicated for hobbyist, thick folk :(
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 9105
Posted: 05:53pm 06 Sep 2024
Copy link to clipboard 
Print this post

HDMI on the RP2350 is equally easy

Wire pins GP12 to GP19 to an HDMI breakout or use one of the boards proposed. Then load the PicoMiteHDMI firmware - that's it. Simples.

To make it really easy use the Olimex board. Plug a Pico2 into it. Load the PicoMiteHDMI firmware and type "OPTION RESET OLIMEX" at the console
That will set up everything including the SDcard ready for use.

If you want to try the 720P mode

Type "OPTION WIDESCREEN ON"
 
stanleyella

Guru

Joined: 25/06/2022
Location: United Kingdom
Posts: 2120
Posted: 06:06pm 06 Sep 2024
Copy link to clipboard 
Print this post

  matherp said  HDMI on the RP2350 is equally easy

Wire pins GP12 to GP19 to an HDMI breakout or use one of the boards proposed. Then load the PicoMiteHDMI firmware - that's it. Simples.

To make it really easy use the Olimex board. Plug a Pico2 into it. Load the PicoMiteHDMI firmware and type "OPTION RESET OLIMEX" at the console
That will set up everything including the SDcard ready for use.

If you want to try the 720P mode

Type "OPTION WIDESCREEN ON"

thankyou, dunno what olimex is though, my bad.
just remember logic green technology 328p being twice as fast as arduino 328p and thought that would be the same with pico2 over 2040 but it's gone totally graphics, which is fantastic but unexpected.
I guess vga is the same and 640x320 16 colour is hdmi only
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 9105
Posted: 06:08pm 06 Sep 2024
Copy link to clipboard 
Print this post

  Quote  thankyou, dunno what olimex is though, my bad.


I posted the link 4 posts above
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 6779
Posted: 06:16pm 06 Sep 2024
Copy link to clipboard 
Print this post

Send your money Here Stan. :)
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
JanVolk
Senior Member

Joined: 28/01/2023
Location: Netherlands
Posts: 144
Posted: 06:19pm 06 Sep 2024
Copy link to clipboard 
Print this post

homa,
The smd resistors on this board are 220 ohms what could make a difference?
https://learn.adafruit.com/adafruit-dvi-sock-for-pico/overview

Jan.
 
     Page 1 of 4    
Print this page
© JAQ Software 2024