4/20/21
Prototyping board V0.1 user
manual (Doc0)
4/20/2021
1
4/20/21
Revision history
Date Version Revision note Author
01/11/2021 0.1 Initial release
03/04/2021 0.2 Revised
4/20/2021
2
4/20/21
Contents
I. Introduction ................................................................................................................................... 4
1. Hardware description ...................................................................................................................... 4
II. Programming interfaces ........................................................................................................... 7
1. ICSP interface ................................................................................................................................ 7
2. USB – UART serial programming interface .................................................................................. 7
III. Pin connections and GPIO mappings...................................................................................... 8
4/20/2021
3
4/20/21
I. Introduction
The FD board is a piece of modular hardware, designed by Firmware Designer at SSH
Engineering, for prototyping, testing and learning purposes.
It is based on a Microchip PIC 18F4520 MCU and has the following features:
PIC 18F4520 based core board with 16MHZ modular external crystal oscillator
circuitry
Power supply module with voltage source selection
RS232 interface module
ICSP Programming/debugging interface
Serial programming interface via UART (For bootloader applications for ex.)
SPI/I2C interfaces
Modular structure
1. Hardware description
Power UART serial ICSP RS232
supply programming interface interface
module interface module
interface
GPIO
SPI
interface
MCU board
GPIO GPIO
interface interface
I2C
interface
interface
GPIO
4/20/2021
Figure 1: architectural overview
4
4/20/21
1 B 5 4 7
3
9 A 2 6
4/20/2021
5
4/20/21
Figure 2: Hardware description
Location Description
1 Power supply module V0.1
Note1: A switch is used to select between USB (100mA max) or VREG (1A
max) power sources
2 MCU board module V0.1
3 16MHZ oscillator circuit module V0.1
4 ICSP interface
5 UART – USB interface module V0.1
6 GPIO interface
7 UART – RS232 interface module V0.1
8 SPI interface
9 I2C interface
A Jumper connector to connect/disconnect MCU UART to UART – USB
interface module
B +3.3V supply from USB – UART module
Note2: These two pins are used to supply +3.3V powered devices with 100mA
maximum source current capability.
Warning: Never connect a jumper between the two pins, it will cause a short
circuit and prevent the system from working or causing damages to the board.
C Jumper connector to connect/disconnect MCU UART to the RS232 interface
module.
Note3: Do not connect jumpers on locations A and C at the same time.
D Reset button
Table 1: Board locations description
Note4: The USB – UART interface module can be used to interface with RS232 devices,
without involving the MCU, by connecting and disconnecting the locations C and A jumpers
respectively.
Note5: The MCU board can be replaced by any other PIC device based board, as long as the
4/20/2021
4x10 pins header structure remains the same, especially for the programming interfaces.
6
4/20/21
II. Programming interfaces
1. ICSP interface
The ICSP (In Circuit Serial Programming) is a serial programming interface, implemented
on every Microchip PIC devices for accessing the device memories (Flash, EEPROM).
The board provides a right-angle header connector for connecting a PICKit 3
programmer/debugger (JP1 connector on figure 3).
Note6: Refer to PICKit 3 user manual for proper connections of the programmer (Link
below).
https://ww1.microchip.com/downloads/en/DeviceDoc/51795B.pdf
This interface is the only one in which you can program and debug the MCU from within the
Microchip Integrated Development Environment (MPLAB or MPLAB X IDE).
2. USB – UART serial programming interface
This interface is based on the Future Technology Device International (FTDI) chip FT232R.
It can be used to interface the board with a USB host (PC, tablet, smartphone) or with
bootloader client applications.
It can also be used to interface USB hosts with RS232 devices, without involving the MCU,
just by making proper jumper connections.
Note6: The MCU reset pin is connected to the DTR pin of the FT232R IC.
4/20/2021
7
4/20/21
III. Pin connections and GPIO mappings
1
2
1 2 3 4 5 6 7
1 2 3 4 4
Figure 3: GPIO mappings
Pin number Location 7 Location 8 +3.3V power
1 MCU RB0 pin VCC GND
2 MCU RC3 pin RC4 +3.3V max 100mA
3 MCU RC4 pin RC3 -
4 MCU RC5 pin GND -
5 MCU RD0 pin - -
6 GND - -
7 VCC - -
4/20/2021
Table 2: Pin connections
8
4/20/21
Figure 4: board dimensions
4/20/2021
9
4/20/21
Contacts:
Address: Pépinière Soft Tech-Cité Riadh 4023 Sousse, Sousse, 4000, Tunisia
Emails: [email protected], [email protected].
Tel: +216 50 951 208, +216 56 091 656.
4/20/2021
10