Olimex - Argon Light 2 GPIO Pinout Assignments

on-topic acorn-related discussions not covered by the other forums
Post Reply
User avatar
Gelpack
Posts: 713
Joined: Tue Mar 01, 2022 7:05 pm
Location: Reading, UK
Contact:

Olimex - Argon Light 2 GPIO Pinout Assignments

Post by Gelpack »

Hi Folks,

I now have my 'Olimex - Argon Light 2' now working and have created an Autoexec.txt to get it to boot into Basic on Startup which all appears to work fine.

So, the next step is to try and make sense of the GPIO pin assignments and how to use them, I am familiar with Arduino, so what I need to know is what all the pins features are on this Olimex build. But for the life of me I cant seem to locate this piece of information. Ive found loads of documents containing things like schematic.json and geber's etc etc, but no schematic/chart or table telling me what pins have what specific primary or secondary, tertiary abilities. A Chart should have been made easy to find really its pretty basic stuff, I am sure its somewhere, but I have not seen it thus far

There is a 40 pin connector * BOTTOM RIGHT OF THE PICTURE BELOW * which is supposed to have 20 general purpose pins on the board, see below.
AGON_LIGHT2.jpg
So if anyone has a link to this information I would be very grateful.

Cheers
Software Engineer, Acorn BBC/Retro & Electronics Hobbyist
User avatar
Gelpack
Posts: 713
Joined: Tue Mar 01, 2022 7:05 pm
Location: Reading, UK
Contact:

Re: Olimex - Argon Light 2 GPIO Pinout Assignments

Post by Gelpack »

Software Engineer, Acorn BBC/Retro & Electronics Hobbyist
paulb
Posts: 1767
Joined: Mon Jan 20, 2014 9:02 pm
Contact:

Re: Olimex - Argon Light 2 GPIO Pinout Assignments

Post by paulb »

Gelpack wrote: Thu Jan 25, 2024 4:11 pm So if anyone has a link to this information I would be very grateful.
The Agon Light 2 product page has the usual selection of links to documentation. Maybe some of that is helpful.
atsampson
Posts: 67
Joined: Fri Dec 16, 2022 4:54 pm
Location: Dundee, Scotland
Contact:

Re: Olimex - Argon Light 2 GPIO Pinout Assignments

Post by atsampson »

On the AgonLight2 schematic, the GPIO port is on p3 - it's got some pins connected to the eZ80 chip (PC0-7 and PD4-7) and some to the ESP32 chip (IO26-27 and IO35-39). Each of those chips is labelled with all the functions for each pin on the schematic, and there's a more detailed table of all the pin functions in the eZ80F92 datasheet on p13.
User avatar
Gelpack
Posts: 713
Joined: Tue Mar 01, 2022 7:05 pm
Location: Reading, UK
Contact:

Re: Olimex - Argon Light 2 GPIO Pinout Assignments

Post by Gelpack »

Thanks

I have found the PINOUTS and got them connected up to a breadboard, but I just want now to find a simple set of instructions on how to exercise the read and write to GPIO 0 and GPIO 1 from BBCBasic.

In C++ for Arduino, its very simple, and I am sure it is for Agon Light 2 as well, just a matter of finding it. The problem is developers who already know their way around this setup are giving answers which raises more questions that are answered as far as I can see

The information I have seen so far only relates to C++. Shoot, there is so much fragmented information everywhere, I think they have achieved one goal at least to make it worse than BITD in terms of none centralised information and multiple versions of the same board. Nightmare

Any assistance will be helpful.

Cheers
Last edited by Gelpack on Thu Jan 25, 2024 7:39 pm, edited 1 time in total.
Software Engineer, Acorn BBC/Retro & Electronics Hobbyist
User avatar
hoglet
Posts: 12665
Joined: Sat Oct 13, 2012 7:21 pm
Location: Bristol
Contact:

Re: Olimex - Argon Light 2 GPIO Pinout Assignments

Post by hoglet »

Gelpack wrote: Thu Jan 25, 2024 5:18 pm Any assistance will be helpful.
This might be worth a read:
https://olimex.wordpress.com/2022/12/22 ... bbc-basic/
User avatar
Gelpack
Posts: 713
Joined: Tue Mar 01, 2022 7:05 pm
Location: Reading, UK
Contact:

Re: Olimex - Argon Light 2 GPIO Pinout Assignments

Post by Gelpack »

Thanks for that, this is a nice simply laid out blog.

I'm going to give it a shot and report back

Much appreciated. :D
Software Engineer, Acorn BBC/Retro & Electronics Hobbyist
User avatar
Gelpack
Posts: 713
Joined: Tue Mar 01, 2022 7:05 pm
Location: Reading, UK
Contact:

Re: Olimex - Argon Light 2 GPIO Pinout Assignments

Post by Gelpack »

@Hoglet

Thank you, it's so easy when you know how. Works just fine

>> Happy Smiling Face >> Me >> :D
Software Engineer, Acorn BBC/Retro & Electronics Hobbyist
Post Reply

Return to “general”