ODAS-PSOC5

From blwiki
Jump to: navigation, search

Programmable System on a Chip on the Open Data Acquisition System

Tindie-larges-v2.png

ODAS-PSOC5-P682-X4-720px.jpg

Features

  • PSOC part CY8C5267AXI-LP051
    • Core: ARM Cortex M3
    • Data Bus Width: 32 bit
    • Maximum Clock Frequency: 67 MHz
    • Program Memory Size: 128 kB
    • Data RAM Size: 32 kB
    • ADC Resolution: 12 bit
    • Data RAM Type: SRAM
    • Interface Type: I2C, USB
    • Number of ADC Channels: 1
    • Number of I/Os: 72 I/O
    • Number of Timers/Counters: 4 Timer
    • Program Memory Type: Flash
  • 16 MHz External Crystal
  • Connectors
    • USB Connector
    • I/O Connector
    • I2C Connector
    • SPI Connector
  • Configuration EEPROM
  • LED (Pin.31)
  • Fuses on 3.3V and 5V power
  • 95x45mm Form Factor
  • (4) #6 mounting holes

16 MHz External Crystal

Connectors

H1 - Download Cable

  • Matches the pinout of the KitProg2 card
  • Do not connect the Vcc from the KitProg2 card
  1. GND
  2. RST*
  3. SWDCK
  4. SWDIO

H2 - EEPROM Write Enable Jumper

  • Installed = Allow writes to the EEPROM
  • Not installed = Do not allow writes to the EEPROM

H3 - I/O Pin Power Select (Voltage Zone 3)

  • 1-2 = +3.3V
  • 2-3 = +5V

H4 - I/O Pin Power Select - Voltage Zone 0

  • 1-2 = +3.3V
  • 2-3 = +5V

P1 - I/O Connector

  • 30 I/O lines
  • 2x20 pin connector
Pin Descr Pin Descr
1 GND 2 GND
3 VCC (Zone 0) 4 VCC (Zone 0)
5 Pin.85 6 Pin.84
7 Pin.83 8 Pin.82
9 Pin.81 10 Pin.80
11 Pin.79 12 Pin.78
13 Pin.77 14 Pin.76
15 Pin.74 16 Pin.73
17 Pin.72 18 Pin.71
19 Pin.70 20 Pin.69
21 Pin.68 22 Pin.67
23 Pin.56 24 Pin.55
25 Pin.54 26 Pin.53
27 Pin.52 28 Pin.51
29 Pin.49 30 Pin.48
31 Pin.47 32 Pin.46
33 Pin.45 34 Pin.44
35 VCC (Zone 3) 36 VCC (Zone 3)
37 GND 38 GND
39 N/C 40 N/C

P2 - I2C Connector

  1. GND
  2. VCC
  3. SDA (Pin.5)
  4. SCL (Pin.4)

P3 - I2C Terminator

  • Two jumpers for SCL, SDA termination

P4 - SPI Connector

These signals are 3.3V level

  1. GND
  2. VCC (3.3V)
  3. SPIEN (Pin.6)
  4. SPISCK (Pin.7)
  5. SPIMISO (Pin.8)
  6. SPIMOSI (Pin.9)

J1 - +9V Power

  • 2.1mm, 5.5mm
  • Center = +9V
  • Outer Ring = GND

J2 - Micro USB-B connector

  1. N/C
  2. DM
  3. DP
  4. N/C
  5. GND

Test

LED-TEST-2 TEST-P676-720px.jpg

  • Connect two LED-TEST-2 cards or LED-32 card with cables
  • Program card with LED Blink code
    • Program using modified RPPSOC as programmer or using a programmer
  • Result will be 30 LEDs blinking plus on-board LED

Recommended Programmer (KitProg)

CY8CKIT-059 PSoC® 5LP Prototyping Kit With Onboard Programmer and Debugger

Program using a Modified RPPSOC Card (Alternate Factory Programming Method)

RPPSOC-PROG-P678-720px.jpg

  • Modified RPPSOC Card has no PSOC part installed
    • Card has Download cable connector
    • Using HSSP Programmer code on Raspberry Pi to program ODAS-PSOC5
cd ~/RPPSOC/HSSP/HSSP_Programmer 
sudo ./progsoc
 
  • Result will be
Land Boards, LLC - Programming PSoC
HSSP Success
Exiting

Checkout Notes

Rev X4 Layout

  • Connected pin 4 of (2) AP1117 parts
  • Card works

Rev X3 Layout

  • The Rev X3 layout is deeper than the Rev X1 or Rev X2 cards
  • The Rev X3 layout matches the size of the DIGIO32-I2C and other cards
  • The SPI and SWD (download) cables are right angle and deeper
    • Legends are improved (more letters)
  • The LED is moved
  • The USB is still at the edge
  • (2) AP1117 parts still need to have pin 4 connected

ODAS-PSOC5-CAD-X3-layout-dim.PNG

Improvements in Rev X2

ODAS-PSOC5-CAD-X2-bw.PNG

  • Added pin numbers to silkscreen near P1
  • Added LED (Pin.31)

Issues with Rev X2

  • (2) AP1117 parts needs to have pin 4 connected

Issues with Rev X1

  • Missing DS1
  • U2 mark needs to be by pin 1
  • Mounting Holes are too small

Rev X1 Layout

ODAS-PSOC5-CAD-X1-Inv.PNG

External Pages

ODAS-PSOC5 Assembly Sheet