b68k-io

Public

@lougous

Download board files

Files for version 1. Pick what you came for.

Share b68k-io

Check access before sharing the link.

Who can open this board

Anyone can open this board. No sign-in is required.

This link opens the latest version. Copying it does not grant additional access.

Loading 3D model… large boards can take a moment.

README

b68k-io

IO extension board for b68k computer.

Features

  • local bus peripheral to b68k-cpu computer
  • a UART with DB9 connector (RS232, no hardware flow control)
  • an I2C bus with onboard RTC chip (DS1307+) with crystal and backup battery, and 4-pins pin header extension connector
  • a SPI bus with 7 chip select lines: 2x SD cards slots, 1x through an 8-pins pin header extension connector, 4x through DB15 connector for external equipements (external SPI slaves are electrically isolated from internal slaves)

Board fonctions are implemented with a PIC18F27K42 microcontroller.

The board has only two memory locations accessible through the expansion bus: one to set the actual register to access, the other to read or write data from/to the register.

registeraddressdescription
DATAXX0000hregister data
ADDRESSXX0001hregister index

Register set

registerindexdescription
SPI_SEL0[5..3] : enabled SPI chip select line
0: external #0
1: external #1
2: external #2
3: external #3
4: SD card A
5: SD card B
6: internal pin header
7: none (reset)
SPI_CTRL1bit 7: BUSY r
bit 2: CLRBF s
bit 1: TXR rw
bit 0: RXR rw
SPI_DATA2SPI data in/out
UART_STS4UART status
bit 7: TX ready
bit 1: RX FIFO overflow
bit 0: RX FIFO underflow
UART_DATA5UART data in/out
I2C_CTRL6bit 7: RXIF
bit 5: TXBE
bit 2: reset
bit 1: start
bit 0: RXBF
I2C_CNT7
I2C_DATA8
I2C_CMD9bit 7..1: address
bit 0: RWn
IRQCFG14interrupt controller configuration
bit 0: enable UART RX interrupt
IRQSTS15interrupt controller status
bit 0: UART RX interrupt pending
Comments

No comments yet. Be the first to ask about this board.

Ask about this board

Sign in to BoardRepo

New here? Signing in creates your account; there is no separate sign-up.