<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>http://wiki.specnext.dev/index.php?action=history&amp;feed=atom&amp;title=Pi%3ADevices</id>
	<title>Pi:Devices - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.specnext.dev/index.php?action=history&amp;feed=atom&amp;title=Pi%3ADevices"/>
	<link rel="alternate" type="text/html" href="http://wiki.specnext.dev/index.php?title=Pi:Devices&amp;action=history"/>
	<updated>2026-04-14T23:32:07Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>http://wiki.specnext.dev/index.php?title=Pi:Devices&amp;diff=11863&amp;oldid=prev</id>
		<title>Xalior: Created page with &quot;== NextPi Communication Devices ==  &lt;big&gt;Canonical version of this document lives [https://gitlab.com/thesmog358/tbblue/-/raw/master/docs/rpi/linux/Devices.txt?ref_type=heads...&quot;</title>
		<link rel="alternate" type="text/html" href="http://wiki.specnext.dev/index.php?title=Pi:Devices&amp;diff=11863&amp;oldid=prev"/>
		<updated>2023-08-31T11:24:17Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== NextPi Communication Devices ==  &amp;lt;big&amp;gt;Canonical version of this document lives [https://gitlab.com/thesmog358/tbblue/-/raw/master/docs/rpi/linux/Devices.txt?ref_type=heads...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== NextPi Communication Devices ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;Canonical version of this document lives [https://gitlab.com/thesmog358/tbblue/-/raw/master/docs/rpi/linux/Devices.txt?ref_type=heads on GitLab]&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There is no hardware connectivity between the Next and the Pi outside protocols&lt;br /&gt;
documented below, and no other existing hardware control points exist between&lt;br /&gt;
the two devices at this time.  While is is possible that future connections&lt;br /&gt;
between the two endpoints could be created, DO NOT presume this is the case as&lt;br /&gt;
the FPGA on the original KS1 Nexts is very close to capacity already.&lt;br /&gt;
&lt;br /&gt;
You can build your own custom communications protocol, but that is left as an&lt;br /&gt;
exercise to the developer. &amp;quot;No hardware link outside of these connections&amp;quot;&lt;br /&gt;
between the two systems means no direct memory, no physical device access,&lt;br /&gt;
etc. No integrated instructions on the CPU, or hardware beyond that mentioned&lt;br /&gt;
below.&lt;br /&gt;
&lt;br /&gt;
That said, a developer could build a routine over GPIO to sit on the Pi side,&lt;br /&gt;
and treat the Pi as a &amp;quot;Copper&amp;quot;, or to handle large memory transfers, etc. but&lt;br /&gt;
they need to start from &amp;quot;foundations&amp;quot; for all that.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== UART ===&lt;br /&gt;
The UART currently runs at 115,000 and is paired to a BASH Supervisor shell,&lt;br /&gt;
running at ROOT, with a preconfigured path to support the default CLI override&lt;br /&gt;
system.  This is how Pisend, Piput, Piget, etc. (current NextZXOS integrations)&lt;br /&gt;
all work.  File-transfers and &amp;quot;terminal commands&amp;quot; between the pi and Next are&lt;br /&gt;
currently handled via this interface.&lt;br /&gt;
&lt;br /&gt;
=== I2S DAC ===&lt;br /&gt;
The ALSA stack is configured to emulate a TOSLink interface, sending digital&lt;br /&gt;
PCMdata to the Next for it to decode upon its own DAC natively.  This means &lt;br /&gt;
that any API that natively supports ALSA on linux gets access to the next output&lt;br /&gt;
DAC. Because this DAC is a &amp;quot;pure digital&amp;quot; solution, with no DSP attached, volume&lt;br /&gt;
control needs to be done at the sample generation/output level, upon the pi, or&lt;br /&gt;
likewise upon the next itself - there is no &amp;quot;volume control&amp;quot; or &amp;quot;amp&amp;quot; between&lt;br /&gt;
the two systems.  Audio players, including TZX loading, are currently handled&lt;br /&gt;
via this interface.&lt;br /&gt;
&lt;br /&gt;
=== GPIO ===&lt;br /&gt;
The Next&amp;#039;s own GPIO lines are connected to the Pi header, and therefore permit&lt;br /&gt;
the creation of custom GPIO based protocols for communication and control. This&lt;br /&gt;
isn&amp;#039;t currently used by any included applications in NextZXOS, but has been&lt;br /&gt;
proven to be a practical method for those who wish to adopt it.&lt;/div&gt;</summary>
		<author><name>Xalior</name></author>
	</entry>
</feed>