Search found 132 matches

by jay_dee
Fri Apr 26, 2024 5:11 pm
Forum: Projects - Embedded
Topic: PICO GP IO Internal weak Pull UP Down
Replies: 2
Views: 31

Re: PICO GP IO Internal weak Pull UP Down

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
IO_Pull_UPs_Enable.fcfx
(12.37 KiB) Downloaded 2 times
J.
by jay_dee
Fri Apr 26, 2024 2:10 pm
Forum: Projects - Embedded
Topic: PICO GP IO Internal weak Pull UP Down
Replies: 2
Views: 31

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.
by jay_dee
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: 496

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...
by jay_dee
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: 496

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!
by jay_dee
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: 496

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 ...
by jay_dee
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: 496

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.
by jay_dee
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: 496

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...
by jay_dee
Fri Feb 09, 2024 10:26 am
Forum: Bug Reports
Topic: Pi PICO SPI and I2C pin options in components
Replies: 4
Views: 213

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. :)
by jay_dee
Thu Feb 08, 2024 11:41 am
Forum: General
Topic: Pi PICO - Reading Internal Pins and ADC pins
Replies: 2
Views: 194

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...
by jay_dee
Thu Feb 08, 2024 11:37 am
Forum: Bug Reports
Topic: Pi PICO SPI and I2C pin options in components
Replies: 4
Views: 213

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...