Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 06:42 25 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 firmware

     Page 12 of 20    
Author Message
Bleep
Guru

Joined: 09/01/2022
Location: United Kingdom
Posts: 509
Posted: 05:20pm 10 Sep 2024
Copy link to clipboard 
Print this post

To be able to use 720p you now need to set
OPTION WIDESCREEN ON
or OFF to go back to what you currently have.
Regards Kevin
 
PhenixRising
Guru

Joined: 07/11/2023
Location: United Kingdom
Posts: 857
Posted: 05:31pm 10 Sep 2024
Copy link to clipboard 
Print this post

  WhiteWizzard said  
  PhenixRising said  @WhiteWizzard

No. This and the PGA version are limited to 315000 max


Thanks - so does this essentially mean the only current restriction is that they can’t do 720P ?


The latest that we have is that; 720p needs 372000. One of our members has experimented with the SDK and was able to get this resolution at a lower frequency. Seems like Pete is on-the-case.
 
WhiteWizzard
Guru

Joined: 05/04/2013
Location: United Kingdom
Posts: 2817
Posted: 05:37pm 10 Sep 2024
Copy link to clipboard 
Print this post

I am awaiting three Olimex PC Pico modules to arrive so am asking the following question in advance.

Does anyone know if I would be able to successfully use the Pimoroni Pico Plus 2 in the Olimex (HDMI/uSD/Audio) module and leave the cpuspeed set to 315000 and set widescreen on to obtain a usable setup?

I have read about 720P needing 372000, and Pimoroni modules unstable at high speed, and recently Pimoroni limited to 315000…….
But with the firmware being work-in-progress I know things change virtually daily, and hence the question above

Footnote added 2024-09-11 03:38 by WhiteWizzard
Message being typed as previous post was sent.
Thanks for all info….
For everything Micromite visit micromite.org

Direct Email: whitewizzard@micromite.o
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 4223
Posted: 06:20pm 10 Sep 2024
Copy link to clipboard 
Print this post

At the moment no option with widescreen and pico2 plus or pga2350.
That is under development, but there is no guarantee there will ever be a solution that works on all TV s and monitors, since it uses a dvi mode that deviates frpm the default 720p mode.

It is quite simple. 720p needs 372MHz, and some board do not support this. Note that the guaranteed speed is only 150MHz, so no one to blame.

Volhout
Edited 2024-09-11 04:23 by Volhout
PicomiteVGA PETSCII ROBOTS
 
stanleyella

Guru

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

olimex arrived and tried picomitehdmiusb and picomitehdmi
but no video, check hdmi tv works?
teraterm works with pico2 so there's hdmi to set up.
please help.which usb to use?


Edited 2024-09-11 05:57 by stanleyella
 
matherp
Guru

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

Did you type "OPTION RESET OLIMEX"
 
matherp
Guru

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

As advised
Edited 2024-09-11 06:06 by matherp
 
circuit
Senior Member

Joined: 10/01/2016
Location: United Kingdom
Posts: 245
Posted: 08:09pm 10 Sep 2024
Copy link to clipboard 
Print this post

  WhiteWizzard said  


Also - please can anyone enlighten me as to what 'OPTION PICO OFF' is all about (I have not refered to manual as not sure what one to look at )


The standard Pico configuration reserves some pins for on-board functions such as the 3.3v on-board regulator option on Pin(GP23) and so forth.  Some Pico boards are now available with these reserved pins externalised for user allocation.  The OPTION PICO OFF removes the reserved pin allocations in the firmware so that the externalised connections can be used. On these boards, GP29 appears at pin location 35, GP23 at pin 37. GP24 is connected to an on-board USER key and a solder-bridge option offers to connect GP23 to an on-board WS2812 LED.

Edit: Useful introduction to one of these boards here;
https://www.thebackshed.com/forum/ViewTopic.php?TID=15441&P=4

Currently available on Amazon for £4.82; search for "Grendly YD-RP2040"
Edited 2024-09-11 06:19 by circuit
 
stanleyella

Guru

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

  matherp said  Did you type "OPTION RESET OLIMEX"

no. The thread has many pages, my bad. got this to mess with
option reset olimex
PicoMiteHDMI MMBasic Version 6.00.00b6
OPTION FLASH SIZE 4194304
OPTION KEYBOARD US
OPTION CPUSPEED (KHz) 315000
OPTION HDMI PINS  1, 3, 7, 5
OPTION SDCARD GP22, GP6, GP7, GP4
OPTION AUDIO GP26,GP27', ON PWM CHANNEL 5
OPTION MODBUFF ENABLE  192
OPTION PLATFORM OLIMEX
>
errrr.lots to consider, thank you, star you are
let you know,stan
 
stanleyella

Guru

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

I think I should have got the long male to female connectors to solder to pico2 :(
on order though. I think it could be more standard.
does the usb version work and please explain the pico2 usb socket and the olimex usb socket?? which for what please?
 
stanleyella

Guru

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

I typed mode 3 and circle 240,240,100 and got a circle,,, bit oblate spheroid but olimex is working first test
PicoMiteHDMI MMBasic Version 6.00.00b6
Copyright 2011-2024 Geoff Graham
Copyright 2016-2024 Peter Mather

> option list
PicoMiteHDMI MMBasic Version 6.00.00b6
OPTION FLASH SIZE 4194304
OPTION KEYBOARD UK
OPTION CPUSPEED (KHz) 315000
OPTION HDMI PINS  1, 3, 7, 5
OPTION SDCARD GP22, GP6, GP7, GP4
OPTION AUDIO GP26,GP27', ON PWM CHANNEL 5
OPTION MODBUFF ENABLE  192
OPTION PLATFORM OLIMEX
>

no hdmi freq for this luxor tv but hdmi to olimex pico2 and modes seem ok and this is still in development!
Edited 2024-09-11 07:31 by stanleyella
 
stanleyella

Guru

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

is olimex another ephemeral board cos it seems pretty tidy?
hdmi is not gonna be stripboard friendly and this board does it all. no inductors in the audio filter. loath that I am for using pcb this is an exception
https://www.mouser.com/datasheet/2/306/Olimex_RP2040_PICO_PC-3223944.pdf
Edited 2024-09-11 08:58 by stanleyella
 
stanleyella

Guru

Joined: 25/06/2022
Location: United Kingdom
Posts: 2122
Posted: 12:06am 11 Sep 2024
Copy link to clipboard 
Print this post

tried mode 1 to 5 with existing 2040 asteroids and bubble universe on olimex pico2 and from jittery to big to not enough memory for mod play.
thing is it works through the hdmi and the sd card reader works.
it's an old luxor tv and it has synced an stuff fine cos  I got no remote.
sound test next. link needed.
maybe usb version but sort this first.
hdmi don't seem faster than vga 2040. pico2 vga was faster than 2040 vga
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 4223
Posted: 07:24am 11 Sep 2024
Copy link to clipboard 
Print this post

Wauw,

I evaluated the thermal camera project with 6.0.0beta5 with the RP2040, and 6.0.0beta5 on the RP2350. Both where running the VGA software.
For Tom: this is not tested on Game*Mite yet, only VGA.

The thermal camera chip has an internal ADC that samples all the camera pixels every 500ms (default speed).

The picomite runs a program that is syncronous with this speed. The program displays the "idle" time on screen.

RP2040 @ 252MHz: idle time = 150ms
 MMBasic uses 500ms-150ms = 350ms to do all the floating point calculations and update
the screen.

RP2350 @ 252MHz: idle time = 300ms
 MMBasic uses 500ms-300ms = 200ms to do all the floating point calculations and update
the screen.

This is the exact same code. Exact same clock frequency. The RP2350 is almost 2x faster. I expect that this is for a large part the speed gain in floating point math.
With this processor it might be possible to switch the camera module to 250ms frame rate (you loos accuracy, but that may be acceptable).
In the current code there is also a "bit-bang" implementation for screen updates since the RP2040 ran out of ram. I could remove this bit-bang solution by using more ram.

Volhout
Edited 2024-09-11 17:25 by Volhout
PicomiteVGA PETSCII ROBOTS
 
lew247

Guru

Joined: 23/12/2015
Location: United Kingdom
Posts: 1702
Posted: 07:42am 11 Sep 2024
Copy link to clipboard 
Print this post

  WhiteWizzard said  Bit late to the 'Pico party' as I have been away for a while. Now that I'm back home I have been able to order various PICO 2 goodies; and the first of many packages arrived today.

Welcome back Phil, hope everything is ok
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 6783
Posted: 08:00am 11 Sep 2024
Copy link to clipboard 
Print this post

Stan:
HDMI can be stripboard friendly. There are breakout boards. The Adafruit one even has the resistors on it.

I think you'll be able to get the USB HDMI version running on there. GP8/GP9 will probably still work with a USB-TTL converter for the console even though there are pull up resistors on them.

You don't *need* the long female connectors. There are a lot of pins you can't use even if you have them and some (if not all) of the most useful spare ones are already on that little box header and the little 3-pin header.

The 3-pin has GP0 & GP1

CON2 has GP2 & GP3

The 10-gin has GP4, GP5, GP6, GP7, GP8, GP9, GP20, GP21

The HDMI socket has
GP10, GP11, GP12, GP13, GP15, GP15, GP16, GP17, GP18, GP19, GP26

Audio has GP27, GP28

The SD card has GP22, GP4, GP6, GP7 (it shares the SPI with the 10-pin)

There's nothing left to connect anything to. The female connectors are useful for monitoring but most can only be used if you aren't using DVI/ HDMI.
.
Edited 2024-09-11 18:19 by Mixtel90
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 4223
Posted: 08:29am 11 Sep 2024
Copy link to clipboard 
Print this post

Don't forget .....





Volhout
PicomiteVGA PETSCII ROBOTS
 
Bleep
Guru

Joined: 09/01/2022
Location: United Kingdom
Posts: 509
Posted: 11:51am 11 Sep 2024
Copy link to clipboard 
Print this post

Hi Peter,
I've been chasing a few problems, using PicoMiteHDMI MMBasic Version 6.00.00b6.
If in wide screen mode, when you enter the editor, Mode 1, the colouring of the command words and comments is not working correctly.

I suspect, although the timings look good, there is something subtle that is not quite right in wide screen.
If I connect to my monitor with the HDMI direct, I get no picture, though the monitor clearly thinks there is some kind of signal as the back light comes on, however if I connect to the same monitor through a HDMI to VGA converter I get a 1280x720 @ 60Hz image, this is stable all the time nothing much is happening, however if I run a program with lots of screen updates, the screen stays on for a few seconds, then flashes off, as though the monitor is trying to re-sync, then comes back, this repeats until I stop the program.
I have repeated this experiment on 2 different monitors and basically get the same.
one of the monitors, for about 10 minutes, initially gave a stable but offset image, about 2 characters to the left, I tried auto adjust, however currently I can't reproduce this, but may be a useful observation, the other monitor I get blue interference (like old fashioned noise) all down the left screen edge, just another observation.
Hope this is useful.
Regards Kevin.
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 6783
Posted: 11:53am 11 Sep 2024
Copy link to clipboard 
Print this post

I've no idea why they did it that way, unless the autorouter refused to play. It's crazy.
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
WhiteWizzard
Guru

Joined: 05/04/2013
Location: United Kingdom
Posts: 2817
Posted: 02:22pm 11 Sep 2024
Copy link to clipboard 
Print this post

  matherp said  V6.00.00b4 all versions

Additional flexibility for the HDMI output

OPTION HDMI clockpositivepin, d0positivepin, d1positivepin, d2positivepin
Valid values are 0-7 and of course the pins mustn't overlap
for each channel:
If the pin is an even number the negative pin is defined as pin+1
If the pin is an odd number the negative pin is defined as pin-1
Defaults to 2,0,6,4 to match various commercial boards


Help needed!

Can anyone guide me with the correct connections from a Pico 2 (GP numbers - albeit I am currently using a Pimoroni Pico Plus 2) to an Adafruit HDMI board (TC-, TXC+, TX0-, TX0+, TX1-, TX1+, TX2-, TX2+). In addition, what will be the required parameter values for OPTION HDMI?

MANY THANKS for any guidance.........

PS - I can work out how to connect GND  
Edited 2024-09-12 00:23 by WhiteWizzard
For everything Micromite visit micromite.org

Direct Email: whitewizzard@micromite.o
 
     Page 12 of 20    
Print this page
© JAQ Software 2024