Adventures with I2C & Minerva Mk2

Anything QL Software or Programming Related.
User avatar
t0nyt
QL Wafer Drive
Posts: 1180
Joined: Wed Nov 22, 2023 6:46 pm
Location: UK

Re: Adventures with I2C & Minerva Mk2

Post by t0nyt »

XorA wrote: Tue Sep 09, 2025 2:46 pm
t0nyt wrote: Tue Sep 09, 2025 1:27 pm Damn, I now have 2 different devices using the same address ID and neither has the option to change the address ID :shock:
Time to learn about i2c muxes then :-D
I look forward to it!


User avatar
t0nyt
QL Wafer Drive
Posts: 1180
Joined: Wed Nov 22, 2023 6:46 pm
Location: UK

Re: Adventures with I2C & Minerva Mk2

Post by t0nyt »

t0nyt wrote: Tue Sep 09, 2025 3:40 pm
XorA wrote: Tue Sep 09, 2025 2:46 pm
t0nyt wrote: Tue Sep 09, 2025 1:27 pm Damn, I now have 2 different devices using the same address ID and neither has the option to change the address ID :shock:
Time to learn about i2c muxes then :-D
I look forward to it!
Well it _looks_ simple enough... have ordered a couple to have a play


User avatar
t0nyt
QL Wafer Drive
Posts: 1180
Joined: Wed Nov 22, 2023 6:46 pm
Location: UK

Re: Adventures with I2C & Minerva Mk2

Post by t0nyt »

Looking at the CAD drawing for the Mk2 remake it doesn't look like there are any pull up resistors on the mk2 board

I'm wondering if the odd things I'm seeing with a couple of devices could be down to a lack of pull-up's?

Could I cause any damage by fitting a couple of 10k resistors somewhere between the mk2 and the i2c devices please?

I understand what they do to the i2c bus, but am not confident enough to just shove them in yet

Many thanks
Tony


User avatar
XorA
Site Admin
Posts: 1740
Joined: Thu Jun 02, 2011 11:31 am
Location: Shotts, North Lanarkshire, Scotland, UK

Re: Adventures with I2C & Minerva Mk2

Post by XorA »

No damage at all.


User avatar
t0nyt
QL Wafer Drive
Posts: 1180
Joined: Wed Nov 22, 2023 6:46 pm
Location: UK

Re: Adventures with I2C & Minerva Mk2

Post by t0nyt »

XorA wrote: Wed Sep 10, 2025 8:06 amNo damage at all.
Many thanks, will try fitting a pair just before the breakout board to see what happens then

Many thanks
Tony


User avatar
XorA
Site Admin
Posts: 1740
Joined: Thu Jun 02, 2011 11:31 am
Location: Shotts, North Lanarkshire, Scotland, UK

Re: Adventures with I2C & Minerva Mk2

Post by XorA »

Because you are using lots of flying wires you might be reaching the capacitance limit on the bus.

Time to learn kicad and get some PCBs :)


User avatar
t0nyt
QL Wafer Drive
Posts: 1180
Joined: Wed Nov 22, 2023 6:46 pm
Location: UK

Re: Adventures with I2C & Minerva Mk2

Post by t0nyt »

XorA wrote: Wed Sep 10, 2025 8:26 am Because you are using lots of flying wires you might be reaching the capacitance limit on the bus.

Time to learn kicad and get some PCBs :)
Maybe :shock:

But the devices in question (like 32kb) still play up when connected directly to bus on their own without the breakout


User avatar
t0nyt
QL Wafer Drive
Posts: 1180
Joined: Wed Nov 22, 2023 6:46 pm
Location: UK

Re: Adventures with I2C & Minerva Mk2

Post by t0nyt »

Mind you, the device I have most trouble with has it's own pull up resistors on-board, so I may be barking up the wrong tree here (for now at least)


Post Reply