<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>http://wiki.specnext.dev/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Timgilberts</id>
	<title>SpecNext Wiki - User contributions [en-gb]</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.specnext.dev/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Timgilberts"/>
	<link rel="alternate" type="text/html" href="http://wiki.specnext.dev/Special:Contributions/Timgilberts"/>
	<updated>2026-04-30T11:51:39Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>http://wiki.specnext.dev/index.php?title=Xilinx-Artix-7_FPGA&amp;diff=16755</id>
		<title>Xilinx-Artix-7 FPGA</title>
		<link rel="alternate" type="text/html" href="http://wiki.specnext.dev/index.php?title=Xilinx-Artix-7_FPGA&amp;diff=16755"/>
		<updated>2025-07-19T08:44:58Z</updated>

		<summary type="html">&lt;p&gt;Timgilberts: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== FPGA Upgrade: Artix-7 vs Spartan-6 ==&lt;br /&gt;
&lt;br /&gt;
The ZX Spectrum Next Kickstarter model KS2 (Issue 4 board) uses the &#039;&#039;&#039;Xilinx Artix-7 XC7A15T FPGA&#039;&#039;&#039;, replacing the &#039;&#039;&#039;Xilinx Spartan-6 XC6SLX16 FPGA&#039;&#039;&#039; used in the original KS1 (Issue 2B board). The Artix-7 is a more modern device, offering better performance, lower power consumption, and access to newer development tools.&lt;br /&gt;
&lt;br /&gt;
The KS3 will use an Artix-7 XC7A35T-2 which pretty much doubles the logic cells, block RAM and DSP slices.&lt;br /&gt;
&lt;br /&gt;
Below is a comparison between the two FPGAs:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Feature !! Spartan-6 XC6SLX16 (KS1 - Issue 2B) !! Artix-7 XC7A15T (KS2 - Issue 4) !! Artix-7 XC7A35T-2 (KS3)&lt;br /&gt;
|-&lt;br /&gt;
| Technology Node || 45 nm || 28 nm || 28nm&lt;br /&gt;
|-&lt;br /&gt;
| Logic Cells || ~14,579 || ~16,640 || ~33,280&lt;br /&gt;
|-&lt;br /&gt;
| Flip-Flops || 18,224 || 20,800 || 41,600&lt;br /&gt;
|-&lt;br /&gt;
| Block RAM || 576 Kbits || 918 Kbits || 1,800&lt;br /&gt;
|-&lt;br /&gt;
| DSP Slices || 32 || 45 || 90&lt;br /&gt;
|-&lt;br /&gt;
| Power Consumption || Higher || Lower (static &amp;amp; dynamic) || Lower (static &amp;amp; dynamic) &lt;br /&gt;
|-&lt;br /&gt;
| Clock Management || PLL-based || MMCMs and PLLs (more flexible) || MMCMs and PLLs (more flexible)&lt;br /&gt;
|-&lt;br /&gt;
| Toolchain || Xilinx ISE (legacy) || Xilinx Vivado (modern) || Xilinx Vivado (modern)&lt;br /&gt;
|-&lt;br /&gt;
| Partial Reconfiguration || Not supported || Supported || Supported&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Although the two FPGA models require different bitstreams due to the differing FPGA architectures, all systems are designed to remain &#039;&#039;&#039;feature-identical wherever possible&#039;&#039;&#039; in the Next Core to avoid splitting the user base.  The KS2 and KS3 larger FPGA&#039;s could provide alternate cores with extra features - e.g. the Official QL core has Sprites on a KS2 to create an enhanced QL.&lt;br /&gt;
&lt;br /&gt;
The only additions exclusive to KS2 (Issue 4) are four extra {{Category:Next_Configuration_Registers}} used for low-level hardware access:&lt;br /&gt;
&lt;br /&gt;
* {{NextRegNo|$F0}} – XDEV CMD&lt;br /&gt;
* {{NextRegNo|$F8}} – XADC REG&lt;br /&gt;
* {{NextRegNo|$F9}} – XADC D0&lt;br /&gt;
* {{NextRegNo|$FA}} – XADC D1&lt;br /&gt;
&lt;br /&gt;
These registers allow developers to interact with internal Xilinx features such as the DNA ID and XADC (analog-to-digital converter). Technical documentation for these registers can be found on their respective pages.&lt;br /&gt;
&lt;br /&gt;
== External Links ==&lt;br /&gt;
* [https://www.xilinx.com/support/documentation/data_sheets/ds160.pdf Xilinx Spartan-6 XC6SLX16 Data Sheet]&lt;br /&gt;
* [https://docs.amd.com/v/u/en-US/ds180_7Series_Overview Xilinx Artix-7 XC7A15T CSG324-1 Data Sheet]&lt;/div&gt;</summary>
		<author><name>Timgilberts</name></author>
	</entry>
	<entry>
		<id>http://wiki.specnext.dev/index.php?title=Xilinx-Artix-7_FPGA&amp;diff=16754</id>
		<title>Xilinx-Artix-7 FPGA</title>
		<link rel="alternate" type="text/html" href="http://wiki.specnext.dev/index.php?title=Xilinx-Artix-7_FPGA&amp;diff=16754"/>
		<updated>2025-07-19T08:42:41Z</updated>

		<summary type="html">&lt;p&gt;Timgilberts: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== FPGA Upgrade: Artix-7 vs Spartan-6 ==&lt;br /&gt;
&lt;br /&gt;
The ZX Spectrum Next Kickstarter model KS2 (Issue 4 board) uses the &#039;&#039;&#039;Xilinx Artix-7 XC7A15T FPGA&#039;&#039;&#039;, replacing the &#039;&#039;&#039;Xilinx Spartan-6 XC6SLX16 FPGA&#039;&#039;&#039; used in the original KS1 (Issue 2B board). The Artix-7 is a more modern device, offering better performance, lower power consumption, and access to newer development tools.&lt;br /&gt;
&lt;br /&gt;
The KS3 will use an Artix-7 XC7A35T-2 which pretty much doubles the logic cells, block RAM and DSP slices.&lt;br /&gt;
&lt;br /&gt;
Below is a comparison between the two FPGAs:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Feature !! Spartan-6 XC6SLX16 (KS1 - Issue 2B) !! Artix-7 XC7A15T (KS2 - Issue 4) !! Artix-7 XC7A35T-2 (KS3)&lt;br /&gt;
|-&lt;br /&gt;
| Technology Node || 45 nm || 28 nm || 28nm&lt;br /&gt;
|-&lt;br /&gt;
| Logic Cells || ~14,579 || ~16,640 || ~33,280&lt;br /&gt;
|-&lt;br /&gt;
| Flip-Flops || 18,224 || 20,800 || 41,600&lt;br /&gt;
|-&lt;br /&gt;
| Block RAM || 576 Kbits || 918 Kbits || 1,800&lt;br /&gt;
|-&lt;br /&gt;
| DSP Slices || 32 || 45 || 90&lt;br /&gt;
|-&lt;br /&gt;
| Power Consumption || Higher || Lower (static &amp;amp; dynamic) || Lower (static &amp;amp; dynamic) &lt;br /&gt;
|-&lt;br /&gt;
| Clock Management || PLL-based || MMCMs and PLLs (more flexible) || MMCMs and PLLs (more flexible)&lt;br /&gt;
|-&lt;br /&gt;
| Toolchain || Xilinx ISE (legacy) || Xilinx Vivado (modern) || Xilinx Vivado (modern)&lt;br /&gt;
|-&lt;br /&gt;
| Partial Reconfiguration || Not supported || Supported || Supported&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Although the two models require different bitstreams due to the differing FPGA architectures, both systems are designed to remain &#039;&#039;&#039;feature-identical wherever possible&#039;&#039;&#039; to avoid splitting the user base.&lt;br /&gt;
&lt;br /&gt;
The only additions exclusive to KS2 (Issue 4) are four extra {{Category:Next_Configuration_Registers}} used for low-level hardware access:&lt;br /&gt;
&lt;br /&gt;
* {{NextRegNo|$F0}} – XDEV CMD&lt;br /&gt;
* {{NextRegNo|$F8}} – XADC REG&lt;br /&gt;
* {{NextRegNo|$F9}} – XADC D0&lt;br /&gt;
* {{NextRegNo|$FA}} – XADC D1&lt;br /&gt;
&lt;br /&gt;
These registers allow developers to interact with internal Xilinx features such as the DNA ID and XADC (analog-to-digital converter). Technical documentation for these registers can be found on their respective pages.&lt;br /&gt;
&lt;br /&gt;
== External Links ==&lt;br /&gt;
* [https://www.xilinx.com/support/documentation/data_sheets/ds160.pdf Xilinx Spartan-6 XC6SLX16 Data Sheet]&lt;br /&gt;
* [https://docs.amd.com/v/u/en-US/ds180_7Series_Overview Xilinx Artix-7 XC7A15T CSG324-1 Data Sheet]&lt;/div&gt;</summary>
		<author><name>Timgilberts</name></author>
	</entry>
	<entry>
		<id>http://wiki.specnext.dev/index.php?title=Xilinx-Artix-7_FPGA&amp;diff=16753</id>
		<title>Xilinx-Artix-7 FPGA</title>
		<link rel="alternate" type="text/html" href="http://wiki.specnext.dev/index.php?title=Xilinx-Artix-7_FPGA&amp;diff=16753"/>
		<updated>2025-07-19T08:42:11Z</updated>

		<summary type="html">&lt;p&gt;Timgilberts: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== FPGA Upgrade: Artix-7 vs Spartan-6 ==&lt;br /&gt;
&lt;br /&gt;
The ZX Spectrum Next Kickstarter model KS2 (Issue 4 board) uses the &#039;&#039;&#039;Xilinx Artix-7 XC7A15T FPGA&#039;&#039;&#039;, replacing the &#039;&#039;&#039;Xilinx Spartan-6 XC6SLX16 FPGA&#039;&#039;&#039; used in the original KS1 (Issue 2B board). The Artix-7 is a more modern device, offering better performance, lower power consumption, and access to newer development tools.&lt;br /&gt;
&lt;br /&gt;
The KS3 will use an Artix-7 XC7A35T-2 which pretty much doubles the logic cells, block RAM and DSP slices.&lt;br /&gt;
&lt;br /&gt;
Below is a comparison between the two FPGAs:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Feature !! Spartan-6 XC6SLX16 (KS1 - Issue 2B) !! Artix-7 XC7A15T (KS2 - Issue 4) !! Artix-7 XC7A35T-2&lt;br /&gt;
|-&lt;br /&gt;
| Technology Node || 45 nm || 28 nm || 28nm&lt;br /&gt;
|-&lt;br /&gt;
| Logic Cells || ~14,579 || ~16,640 || ~33,280&lt;br /&gt;
|-&lt;br /&gt;
| Flip-Flops || 18,224 || 20,800 || 41,600&lt;br /&gt;
|-&lt;br /&gt;
| Block RAM || 576 Kbits || 918 Kbits || 1,800&lt;br /&gt;
|-&lt;br /&gt;
| DSP Slices || 32 || 45 || 90&lt;br /&gt;
|-&lt;br /&gt;
| Power Consumption || Higher || Lower (static &amp;amp; dynamic) || Lower (static &amp;amp; dynamic) &lt;br /&gt;
|-&lt;br /&gt;
| Clock Management || PLL-based || MMCMs and PLLs (more flexible) || MMCMs and PLLs (more flexible)&lt;br /&gt;
|-&lt;br /&gt;
| Toolchain || Xilinx ISE (legacy) || Xilinx Vivado (modern) || Xilinx Vivado (modern)&lt;br /&gt;
|-&lt;br /&gt;
| Partial Reconfiguration || Not supported || Supported || Supported&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Although the two models require different bitstreams due to the differing FPGA architectures, both systems are designed to remain &#039;&#039;&#039;feature-identical wherever possible&#039;&#039;&#039; to avoid splitting the user base.&lt;br /&gt;
&lt;br /&gt;
The only additions exclusive to KS2 (Issue 4) are four extra {{Category:Next_Configuration_Registers}} used for low-level hardware access:&lt;br /&gt;
&lt;br /&gt;
* {{NextRegNo|$F0}} – XDEV CMD&lt;br /&gt;
* {{NextRegNo|$F8}} – XADC REG&lt;br /&gt;
* {{NextRegNo|$F9}} – XADC D0&lt;br /&gt;
* {{NextRegNo|$FA}} – XADC D1&lt;br /&gt;
&lt;br /&gt;
These registers allow developers to interact with internal Xilinx features such as the DNA ID and XADC (analog-to-digital converter). Technical documentation for these registers can be found on their respective pages.&lt;br /&gt;
&lt;br /&gt;
== External Links ==&lt;br /&gt;
* [https://www.xilinx.com/support/documentation/data_sheets/ds160.pdf Xilinx Spartan-6 XC6SLX16 Data Sheet]&lt;br /&gt;
* [https://docs.amd.com/v/u/en-US/ds180_7Series_Overview Xilinx Artix-7 XC7A15T CSG324-1 Data Sheet]&lt;/div&gt;</summary>
		<author><name>Timgilberts</name></author>
	</entry>
	<entry>
		<id>http://wiki.specnext.dev/index.php?title=Xilinx-Artix-7_FPGA&amp;diff=16752</id>
		<title>Xilinx-Artix-7 FPGA</title>
		<link rel="alternate" type="text/html" href="http://wiki.specnext.dev/index.php?title=Xilinx-Artix-7_FPGA&amp;diff=16752"/>
		<updated>2025-07-19T08:20:48Z</updated>

		<summary type="html">&lt;p&gt;Timgilberts: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== FPGA Upgrade: Artix-7 vs Spartan-6 ==&lt;br /&gt;
&lt;br /&gt;
The ZX Spectrum Next Kickstarter model KS2 (Issue 4 board) uses the &#039;&#039;&#039;Xilinx Artix-7 XC7A15T FPGA&#039;&#039;&#039;, replacing the &#039;&#039;&#039;Xilinx Spartan-6 XC6SLX16 FPGA&#039;&#039;&#039; used in the original KS1 (Issue 2B board). The Artix-7 is a more modern device, offering better performance, lower power consumption, and access to newer development tools.&lt;br /&gt;
&lt;br /&gt;
The KS3 will use an Artix-7 XC7A35T-2 which pretty much doubles the logic cells, block RAM and DSP slices.  This page will be updated with more details &lt;br /&gt;
&lt;br /&gt;
Below is a comparison between the two FPGAs:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Feature !! Spartan-6 XC6SLX16 (KS1 - Issue 2B) !! Artix-7 XC7A15T (KS2 - Issue 4)&lt;br /&gt;
|-&lt;br /&gt;
| Technology Node || 45 nm || 28 nm&lt;br /&gt;
|-&lt;br /&gt;
| Logic Cells || ~14,579 || ~16,640&lt;br /&gt;
|-&lt;br /&gt;
| Flip-Flops || 18,224 || 20,800&lt;br /&gt;
|-&lt;br /&gt;
| Block RAM || 576 Kbits || 918 Kbits&lt;br /&gt;
|-&lt;br /&gt;
| DSP Slices || 32 || 45&lt;br /&gt;
|-&lt;br /&gt;
| Power Consumption || Higher || Lower (static &amp;amp; dynamic)&lt;br /&gt;
|-&lt;br /&gt;
| Clock Management || PLL-based || MMCMs and PLLs (more flexible)&lt;br /&gt;
|-&lt;br /&gt;
| Toolchain || Xilinx ISE (legacy) || Xilinx Vivado (modern)&lt;br /&gt;
|-&lt;br /&gt;
| Partial Reconfiguration || Not supported || Supported&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Although the two models require different bitstreams due to the differing FPGA architectures, both systems are designed to remain &#039;&#039;&#039;feature-identical wherever possible&#039;&#039;&#039; to avoid splitting the user base.&lt;br /&gt;
&lt;br /&gt;
The only additions exclusive to KS2 (Issue 4) are four extra {{Category:Next_Configuration_Registers}} used for low-level hardware access:&lt;br /&gt;
&lt;br /&gt;
* {{NextRegNo|$F0}} – XDEV CMD&lt;br /&gt;
* {{NextRegNo|$F8}} – XADC REG&lt;br /&gt;
* {{NextRegNo|$F9}} – XADC D0&lt;br /&gt;
* {{NextRegNo|$FA}} – XADC D1&lt;br /&gt;
&lt;br /&gt;
These registers allow developers to interact with internal Xilinx features such as the DNA ID and XADC (analog-to-digital converter). Technical documentation for these registers can be found on their respective pages.&lt;br /&gt;
&lt;br /&gt;
== External Links ==&lt;br /&gt;
* [https://www.xilinx.com/support/documentation/data_sheets/ds160.pdf Xilinx Spartan-6 XC6SLX16 Data Sheet]&lt;br /&gt;
* [https://docs.amd.com/v/u/en-US/ds180_7Series_Overview Xilinx Artix-7 XC7A15T CSG324-1 Data Sheet]&lt;/div&gt;</summary>
		<author><name>Timgilberts</name></author>
	</entry>
	<entry>
		<id>http://wiki.specnext.dev/index.php?title=GPIO_Socket_(J15)&amp;diff=11163</id>
		<title>GPIO Socket (J15)</title>
		<link rel="alternate" type="text/html" href="http://wiki.specnext.dev/index.php?title=GPIO_Socket_(J15)&amp;diff=11163"/>
		<updated>2020-03-04T21:36:37Z</updated>

		<summary type="html">&lt;p&gt;Timgilberts: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The GPIO socket, marked J15 on the circuit board, allows access to several different power and data lines:&lt;br /&gt;
&lt;br /&gt;
* I2C serial protocol&lt;br /&gt;
* UART&lt;br /&gt;
* Spare pins on the [[FPGA]]&lt;br /&gt;
* 5v, 3.3v and GND&lt;br /&gt;
&lt;br /&gt;
The UART is also used for the [[ESP8266-01|ESP Wi-fi module]], and can&#039;t be used from the GPIO without removing the ESP module. I2C is also used to communicate with the [[RTC|real time clock]] module. &lt;br /&gt;
&lt;br /&gt;
The GPIO is not populated and requires a socket to be installed (2 x 10 IDC 2.54mm spc. Male Pin Header). Pull up/down resistors may be required for some pins to limit current.&lt;br /&gt;
&lt;br /&gt;
[[Image:NEXT GPIO location.jpg|thumb|J15 position on circuit board]]&lt;br /&gt;
[[Image:NEXT_GPIO.png|thumb|GPIO pinout image]]&lt;br /&gt;
&lt;br /&gt;
In June 2019 it was announced that pins 4 and 17 of J15 would be used for two additional keyboard connections on full cased Nexts.  This is factory fitted on 2B boards with a two slot connector for the additional two lines on a third membrane tail.  The extra data is handled by the VHDL in the FPGA so it still appears as a standard 48K Membrane but, without the complexity of three layers needed.&lt;br /&gt;
&lt;br /&gt;
This change does mean it is slightly harder to use J15 as the socket overlaps some ajoining holes slightly.&lt;/div&gt;</summary>
		<author><name>Timgilberts</name></author>
	</entry>
	<entry>
		<id>http://wiki.specnext.dev/index.php?title=RTC&amp;diff=11147</id>
		<title>RTC</title>
		<link rel="alternate" type="text/html" href="http://wiki.specnext.dev/index.php?title=RTC&amp;diff=11147"/>
		<updated>2020-02-28T19:55:40Z</updated>

		<summary type="html">&lt;p&gt;Timgilberts: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A Real Time Clock (RTC) and Wi-Fi module were optional additions to the full cased Spectrum Next at the time of the original Kickstarter. They can be added to development boards and units that don&#039;t already have them, although the RTC requires soldering components to the board (whilst the Wi-Fi module is push-fit).&lt;br /&gt;
&lt;br /&gt;
== Hardware Requirements ==&lt;br /&gt;
&lt;br /&gt;
Adding a RTC requires the following components:&lt;br /&gt;
&lt;br /&gt;
* 12pF Crystal   &lt;br /&gt;
* DS1307 IC&lt;br /&gt;
* 8 pin DIL Socket  &lt;br /&gt;
* CR2032 Holder  &lt;br /&gt;
* CR2032 Battery&lt;br /&gt;
&lt;br /&gt;
(6pF Crystals have been reported to work)&lt;br /&gt;
&lt;br /&gt;
This is the mounting position on the PCB:&lt;br /&gt;
&lt;br /&gt;
{| width=100%&lt;br /&gt;
|valign=top width=50%| [[Image:RTC_Port_Location.jpg]]&lt;br /&gt;
|valign=top| [[Image:RTC_Port.png]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Software Support ==&lt;br /&gt;
&lt;br /&gt;
The [https://www.specnext.com/latestdistro/ TBBlue SD Distribution] contains dot commands &amp;quot;DATE&amp;quot; and &amp;quot;TIME&amp;quot; for working with the RTC:&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
| .DATE &amp;quot;31/12/2017&amp;quot; || Set the date to new years eve&lt;br /&gt;
|-&lt;br /&gt;
| .DATE || Print the current date&lt;br /&gt;
|-&lt;br /&gt;
| .TIME &amp;quot;00:30:00:&amp;quot; || Set the time to 30 minutes after midnight&lt;br /&gt;
|-&lt;br /&gt;
| .TIME || Print the current time&lt;br /&gt;
|-&lt;br /&gt;
| .TIME -h || Print help message&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
You can also set the time with the .NXTP command if you have WIFI setup and configured.&lt;br /&gt;
&lt;br /&gt;
If you use these without a RTC soldered to the board they will just give an error that no signature is found or No ACK received. You can however use the option TIME -d to get the contents of the chip which will be junk if the RTC is not fitted but, but may help to diagnose any problems getting it working.&lt;br /&gt;
&lt;br /&gt;
When the RTC is fitted, as long as it has been set the date and time automatically appear in the NextZXOS menus. The &amp;quot;.ls&amp;quot; command will print a file listing with dates, and &amp;quot;cat exp&amp;quot; will show times as well.&lt;br /&gt;
&lt;br /&gt;
You can get the contents of a dot command into a string using this NextBASIC:&lt;br /&gt;
&lt;br /&gt;
 DIM a$(100):OPEN #2,&amp;quot;v&amp;gt;a$&amp;quot;:.TIME:CLOSE #2:PRINT a$&lt;br /&gt;
&lt;br /&gt;
You can effectively &amp;quot;touch&amp;quot; a file in BASIC to update its timestamp with:&lt;br /&gt;
&lt;br /&gt;
 OPEN #4,&amp;quot;u&amp;gt;filename&amp;quot;:CLOSE #4&lt;br /&gt;
&lt;br /&gt;
The RTC is connected to the I2C bus. Also supplied is a DOT command called I2CSCAN - this will search the I2C bus for any devices found which can help in seeing what is connected. You should see at least one device at 0x68 if the RTC chip is connected. If you see others then they are likely parts of the HDMI connection or maybe you have something connected on J15.&lt;br /&gt;
&lt;br /&gt;
Further information, including ESXDOS support, can be found on the TBBlue Distribution in the file \docs\extra-hw\rtc\RTCI2CTIMEDATEreadme.txt&lt;/div&gt;</summary>
		<author><name>Timgilberts</name></author>
	</entry>
	<entry>
		<id>http://wiki.specnext.dev/index.php?title=RTC&amp;diff=11146</id>
		<title>RTC</title>
		<link rel="alternate" type="text/html" href="http://wiki.specnext.dev/index.php?title=RTC&amp;diff=11146"/>
		<updated>2020-02-28T19:53:12Z</updated>

		<summary type="html">&lt;p&gt;Timgilberts: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A Real Time Clock (RTC) and Wi-Fi module were optional additions to the full cased Spectrum Next at the time of the original Kickstarter. They can be added to development boards and units that don&#039;t already have them, although the RTC requires soldering components to the board (whilst the Wi-Fi module is push-fit).&lt;br /&gt;
&lt;br /&gt;
== Hardware Requirements ==&lt;br /&gt;
&lt;br /&gt;
Adding a RTC requires the following components:&lt;br /&gt;
&lt;br /&gt;
* 12pF Crystal   &lt;br /&gt;
* DS1307 IC&lt;br /&gt;
* 8 pin DIL Socket  &lt;br /&gt;
* CR2032 Holder  &lt;br /&gt;
* CR2032 Battery&lt;br /&gt;
&lt;br /&gt;
(6pF Crystals have been reported to work)&lt;br /&gt;
&lt;br /&gt;
This is the mounting position on the PCB:&lt;br /&gt;
&lt;br /&gt;
{| width=100%&lt;br /&gt;
|valign=top width=50%| [[Image:RTC_Port_Location.jpg]]&lt;br /&gt;
|valign=top| [[Image:RTC_Port.png]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Software Support ==&lt;br /&gt;
&lt;br /&gt;
The [https://www.specnext.com/latestdistro/ TBBlue SD Distribution] contains dot commands &amp;quot;DATE&amp;quot; and &amp;quot;TIME&amp;quot; for working with the RTC:&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
| .DATE &amp;quot;31/12/2017&amp;quot; || Set the date to new years eve&lt;br /&gt;
|-&lt;br /&gt;
| .DATE || Print the current date&lt;br /&gt;
|-&lt;br /&gt;
| .TIME &amp;quot;00:30:00:&amp;quot; || Set the time to 30 minutes after midnight&lt;br /&gt;
|-&lt;br /&gt;
| .TIME || Print the current time&lt;br /&gt;
|-&lt;br /&gt;
| .TIME -h || Print help message&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
You can also set the time with the .NXTP command if you have WIFI setup and configured.&lt;br /&gt;
&lt;br /&gt;
If you use these without a RTC soldered to the board they will just give an error that no signature is found or No ACK received. You can however use the option TIME -d to get the contents of the chip which will be junk if the RTC is not fitted but, but may help to diagnose any problems getting it working.&lt;br /&gt;
&lt;br /&gt;
When the RTC is fitted, as long as it has been set the date and time automatically appear in the NextZXOS menus. The &amp;quot;.ls&amp;quot; command will print a file listing with dates, and &amp;quot;cat exp&amp;quot; will show times as well.&lt;br /&gt;
&lt;br /&gt;
You can get the contents of a dot command into a string using this NextBASIC:&lt;br /&gt;
&lt;br /&gt;
 DIM a$(100):OPEN #2,&amp;quot;v&amp;gt;a$&amp;quot;:.TIME:CLOSE #2:PRINT a$&lt;br /&gt;
&lt;br /&gt;
You can effectively &amp;quot;touch&amp;quot; a file in BASIC to update its timestamp with:&lt;br /&gt;
&lt;br /&gt;
 OPEN #4,&amp;quot;u&amp;gt;filename&amp;quot;:CLOSE #4&lt;br /&gt;
&lt;br /&gt;
The RTC is connected to the I2C bus. Also supplied is a DOT command called I2CSCAN - this will search the I2C bus for any devices found which can help in seeing what is connected. You should see at least one device at 0x68 if the RTC chip is connected. If you see others when you have nothing on J15 then make sure you have the latest TBU, any capacitor mod etc - if so and you still have others detected then please contribute to the RTC posts on Facebook or the [https://www.specnext.com/forum Forum].&lt;br /&gt;
&lt;br /&gt;
Further information, including ESXDOS support, can be found on the TBBlue Distribution in the file \docs\extra-hw\rtc\RTCI2CTIMEDATEreadme.txt&lt;/div&gt;</summary>
		<author><name>Timgilberts</name></author>
	</entry>
</feed>