Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 10:54 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 : Pico2 finally available in the US

Author Message
al18
Senior Member

Joined: 06/07/2019
Location: United States
Posts: 205
Posted: 06:19pm 25 Sep 2024
Copy link to clipboard 
Print this post

Finally got notification today from Mouser.com they have the Pico2 in stock at $5 and my back order is shipping today.https://www.mouser.com/ProductDetail/Raspberry-Pi/SC1631?qs=IKkN%2F947nfBrS4NBdUxzKQ%3D%3D
 
gadgetjack
Senior Member

Joined: 15/07/2016
Location: United States
Posts: 142
Posted: 06:30pm 25 Sep 2024
Copy link to clipboard 
Print this post

Mine too!! I got 5 coming.....
 
lew247

Guru

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

remember to use external pull up resistors on all inputs
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 6778
Posted: 07:22am 26 Sep 2024
Copy link to clipboard 
Print this post

The pull ups work. The pull downs are broken and they have to be external.

So you can use active low inputs as before but not active high inputs without a pull down. Don't enable pull down resistors in MMBasic, just use the external ones.

Also, don't assume that the ADC inputs are high impedance. They require more drive than the RP2040.
Mick

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

Joined: 05/03/2018
Location: Netherlands
Posts: 4222
Posted: 08:46am 26 Sep 2024
Copy link to clipboard 
Print this post

Mick,

It is slightly different. The problem can occur with internal pulldown, or with NO internal pulldown. It has not been observed with internal pullup.

So...

SETPIN gp0,DIN          'has the problem
SETPIN gp0,DIN,PULLUP   'has no problem
SETPIN gp0,DIN,PULLDOWN 'has the problem.
SETPIN gp0,FIN          'has the problem
SETPIN gp0,CIN          'has the problem
SETPIN gp0,PIN          'has the problem
SETPIN gp0,DOUT         'has no problem
SETPIN gp26,AIN         'does NOT have this particular problem


When the RP2350 digital inputs are driven with an impedance higher than 10k (even if you do not use internal pullups) the input can get into a "locked" state, that is logic high to the ARM. But the level is around 2V.

So with RP2350 use low impedance signals (10k maximum).

This can be achieved by connecting a external pullup or pulldown resistor of 10k or less to each (used) input. Or, by driving the input pin from a logic gate, comparator etc. For I2C there is already a pullup required of 2k...5k, so there is not problem for I2C. Similar the PS2 keyboard and single wire devices.

Volhout

P.S. since the default power up configuration in MMBasic is DIN (digital input), all non-used pins can end up in this faulty state when left unconnected (floating). The fauty state also consumes power. It may be beneficial to program these unused pin in your MMBasic program as DIN,PULLUP. Then the pins are not "floating" and cannot end up in the faulty state.
Edited 2024-09-26 18:58 by Volhout
PicomiteVGA PETSCII ROBOTS
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 6778
Posted: 09:42am 26 Sep 2024
Copy link to clipboard 
Print this post

Thanks. Volhout. :)
Mick

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

Joined: 06/07/2019
Location: United States
Posts: 205
Posted: 06:31pm 26 Sep 2024
Copy link to clipboard 
Print this post

In my Mouser order, I added a pack of 25, 10K ohm 5% 1/4W resistors that cost just $0.75. On Mouser, search for
485-2784 . Looks like there are just 6 bags left.
 
lew247

Guru

Joined: 23/12/2015
Location: United Kingdom
Posts: 1702
Posted: 10:46am 27 Sep 2024
Copy link to clipboard 
Print this post

GPIO
RP2350-E9
Reference RP2350-E9
Summary Increased leakage current on Bank 0 GPIO when pad input is enabled
Affects RP2350 A2

From the latest rp2350-datasheet.pdf
 
Print this page


To reply to this topic, you need to log in.

© JAQ Software 2024