Hi,
Thanks, yep that works great.
Also found the pull down and pull disable (leave pin floating) commands.
test program attached for anyone else wanting to play along.
Also checked and the pull up is weak at around ~50K but works for my needs
J.
Search found 132 matches
- Fri Apr 26, 2024 5:11 pm
- Forum: Projects - Embedded
- Topic: PICO GP IO Internal weak Pull UP Down
- Replies: 2
- Views: 39
- Fri Apr 26, 2024 2:10 pm
- Forum: Projects - Embedded
- Topic: PICO GP IO Internal weak Pull UP Down
- Replies: 2
- Views: 39
PICO GP IO Internal weak Pull UP Down
Hi, Playing with the PICO and its working well. If I want a single pin (GP5) to be a input and set a weak pull up or pul down, how would I do this? Does it need a line of C code? I have a Switch component setup, set for Active Low. So I assume the Pin will be correctly set as an input. Thanks, J.
- Sat Feb 10, 2024 3:16 pm
- Forum: Bug Reports
- Topic: Pi PICO No Hardware I2C on Channel 1 or Channel 2
- Replies: 14
- Views: 528
Re: Pi PICO No Hardware I2C on Channel 1 or Channel 2
Hi Guys, So if I have a User Macro that I used to read a sensor with PICs My process for PIC was Initialise Macro Start, Tranmit device Address, Transmit register address, transmit Data_Byte, stop. For PICO, ESP32 etc I use the Transaction_Initialise Macro then should I just do three transaction_wri...
- Sat Feb 10, 2024 12:06 pm
- Forum: Bug Reports
- Topic: Pi PICO No Hardware I2C on Channel 1 or Channel 2
- Replies: 14
- Views: 528
Re: Pi PICO No Hardware I2C on Channel 1 or Channel 2
Chipfryer. Many thanks for confirming what I get on my scope too. J. I'm always cautious it is something dumb on my end!
- Sat Feb 10, 2024 9:36 am
- Forum: Bug Reports
- Topic: Pi PICO No Hardware I2C on Channel 1 or Channel 2
- Replies: 14
- Views: 528
Re: Pi PICO No Hardware I2C on Channel 1 or Channel 2
Thanks Chipfryer, Luckily I have a Agilent scope on the job and I get a lovely trace if I set the output to software. Just change the single setting to one of the hardware I2C channels and I get nothing....that is just a bit odd for me. I have this setup on a stand alone PICO with only a status LED ...
- Fri Feb 09, 2024 5:25 pm
- Forum: Bug Reports
- Topic: Pi PICO No Hardware I2C on Channel 1 or Channel 2
- Replies: 14
- Views: 528
Re: Pi PICO No Hardware I2C on Channel 1 or Channel 2
Thanks Leigh...not sure what i have stuffed up then. an known working example would be great.
- Fri Feb 09, 2024 4:53 pm
- Forum: Bug Reports
- Topic: Pi PICO No Hardware I2C on Channel 1 or Channel 2
- Replies: 14
- Views: 528
Pi PICO No Hardware I2C on Channel 1 or Channel 2
Hi FC Team, Working through PICO functions and cant raise any responce from the hardware IC2 channels. Very simple test routine attached. On a bare and new PICO. Only has LED on GP4 and Pull up resistors on SDA & SCK. using I2C master component (sims OK) Software - Get a I2C signal as expected. Chan...
- Fri Feb 09, 2024 10:26 am
- Forum: Bug Reports
- Topic: Pi PICO SPI and I2C pin options in components
- Replies: 4
- Views: 230
Re: Pi PICO SPI and I2C pin options in components
Thanks Leigh, I'm still using the first one you did. The second is fantastic.
A rocky start for me with the PICO but its proving to be a solid drop in module.
A rocky start for me with the PICO but its proving to be a solid drop in module.
- Thu Feb 08, 2024 11:41 am
- Forum: General
- Topic: Pi PICO - Reading Internal Pins and ADC pins
- Replies: 2
- Views: 202
Pi PICO - Reading Internal Pins and ADC pins
Hi FC Team, A) I have been playing with the Pi PICO for a short time and i'm aware some PICO pins are internal but non the less, are in theory readable GP25 - Pico LED - Is this controllable? Pin A.25 not selectable. GP24 - USB Detect - Is this readable? Pin A.24 not selectable. GP29 - VSYS/3 Monito...
- Thu Feb 08, 2024 11:37 am
- Forum: Bug Reports
- Topic: Pi PICO SPI and I2C pin options in components
- Replies: 4
- Views: 230
Pi PICO SPI and I2C pin options in components
Hi FC team, Just working through the Pi PICO IO and compatability with current FC SPI, I2C and UART components. A) *** SPI Pins *** SPI 0 - In a previous post another user help modify the CAl so that all SPI 0 Pins could be read, is this updated in the official Cal? Rx MISO GP0, GP4, GP16 Tx MOSI GP...