FN
FROST-NORD Industrial Systems
FN-2400
—
2.6.12
3.2
—
—
LINK
← Documentation

FNmega128 Processor Datasheet

FN-DS-128 · Rev. 3 · 2014-09 · Download PDF

1. Architecture Overview

The FNmega128 is an 8-bit embedded control processor developed by Frost-Nord Industrial Systems for temperature-controlled equipment. It is used across several Frost-Nord product families, including refrigeration controllers, temperature-controlled cabinets and industrial ovens. Because the platform is shared across equipment with widely differing operating envelopes, the internal thermal data path supports temperatures well beyond the range of any single product.

  • 8-bit RISC-style control core
  • 32 general-purpose registers (R0–R31)
  • 16-bit data address bus (64 KiB linear data space)
  • Separate program memory and virtual EEPROM
  • Little-endian representation for multi-byte integers
  • Hardware watchdog, timers and peripheral register file

2. Functional Block Diagram

        +-------------------+      +------------------+
        |  Control Core     |<---->|  Register File   |
        |  (PC, SP, SREG)   |      |   R0 .. R31      |
        +---------+---------+      +------------------+
                  |
        +---------v------------------------------+
        |        16-bit Data Address Bus         |
        +--+------------+-----------+------------++
           |            |           |            |
     +-----v---+  +-----v----+ +----v-----+ +----v-----+
     | I/O Regs|  | Int SRAM | | Ext SRAM | | Reserved |
     +---------+  +----------+ +----------+ +----------+

3. Register Organization

The 32 general-purpose registers occupy data addresses 0x0000–0x001F. The I/O register file follows at 0x0020–0x00FF.

AddressRegisterDescription
0x0000–0x001FR0–R31General-purpose registers
0x003DSPLStack pointer, low byte
0x003ESPHStack pointer, high byte
0x003FSREGStatus register

4. Data Address Space

The FNmega128 presents a single linear 65,536-byte data address space. The region map below is common to all FN-2400 units; the exact placement of per-unit configuration and diagnostic records within their regions is assigned during provisioning.

RegionRangeContents
CPU registers0x0000–0x001FR0–R31
Peripheral registers0x0020–0x00FFI/O and sensor registers
Internal SRAM0x0100–0x0FFFRuntime counters, configuration records
External SRAM0x1000–0x3FFFEvent buffers, history, diagnostic records
Reserved0x4000–0xFFFFReserved / unused

5. Data Types and Byte Ordering

  • uint8 / int8: single byte
  • uint16 / int16: two bytes, little-endian (low byte at lower address)
  • uint32: four bytes, little-endian
  • FN-TEMP8: one-byte sign-magnitude temperature (see FN-TEMP8 spec)
All multi-byte integers are little-endian. For example, the 16-bit value 0x1234 is stored as bytes 34 12.

6. Status Register (SREG)

BitFlagMeaning
7IGlobal interrupt enable
6TBit copy storage
5HHalf carry
4SSign
3VTwo's complement overflow
2NNegative
1ZZero
0CCarry

7. Peripheral Register Summary

Selected documented peripheral and sensor registers. Sensor registers are refreshed by the control core each control cycle and are read-only in normal operation.

AddressRegisterDescription
0x0020PORTARelay output port (compressor/heater/fan bits)
0x0022COMPCompressor duty
0x0023HEATHeater duty
0x0024FANCirculation fan state
0x0027WDTWatchdog counter
0x0028TCNT0Timer0 counter (free running)
0x0030ADC_CHChamber temperature sensor (FN-TEMP8)
0x0031ADC_COREProduct core sensor (FN-TEMP8)
0x0032ADC_SURFProduct surface sensor (FN-TEMP8)
0x0033ADC_AMBAmbient sensor (FN-TEMP8)
0x0034SP_MIRActive setpoint mirror (FN-TEMP8, read-only)
0x0035MODE_MIRActive operating mode mirror (read-only)
Registers 0x0034 and 0x0035 are mirrors of the active configuration. They are refreshed from the configuration record every control cycle; values written directly to them are overwritten on the next cycle.

8. Debugging Facilities

Field debugging is performed through the FN-MONITOR service terminal, which provides inspection and modification of the data address space (PEEK, POKE, DUMP), register inspection (REGS) and snapshot/diff facilities. The service interface does not expose program-memory opcode execution; only the documented register and memory model is accessible.