|
|
Line 1: |
Line 1: |
− | [[File:tindie-mediums.png|link=https://www.tindie.com/products/land_boards/programmable-system-on-a-chip-odas-psoc5/]] | + | [[file:AudioAmp380-Mechs_Rev2.png]] |
| | | |
− | | + | == Parts List == |
− | [[file:ODAS-PSOC5-P682-X4-720px.jpg]]
| |
− | | |
− | <video type="youtube">DijfV5AAAg4</video>
| |
− | | |
− | == Features ==
| |
− | | |
− | * PSOC5 Programmable System on a Chip
| |
− | ** Part number: 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 Timers
| |
− | ** Program Memory Type: Flash
| |
− | * 16 MHz External Crystal
| |
− | * Connectors
| |
− | ** USB Connector (USB-B Mini)
| |
− | ** I/O Connector (30 I/O lines which can be analog or digital connections)
| |
− | ** I2C Connector (4-pin header)
| |
− | ** SPI Connector (6-pin header)
| |
− | * Configuration EEPROM
| |
− | * 9V power input
| |
− | ** Fuses on 3.3V and 5V power
| |
− | *95x45mm Form Factor
| |
− | * Compatible with Land Boards [[Open Data Acquisition System]] (ODAS) Cards
| |
− | * (4) #6 screw holes for solid mounting
| |
− | | |
− | === PSoC Architecture ===
| |
− | | |
− | [[file:PSoC_ArchitecturePic.PNG]]
| |
− | | |
− | == Headers ==
| |
− | | |
− | === H1 - PSOC Programming Header===
| |
− | | |
− | # SWDIO
| |
− | # SWDCLK
| |
− | # RESET
| |
− | # GND
| |
− | | |
− | === H2 - EEPROM Write Enable ===
| |
− | | |
− | * Install to enable EEPROM writes
| |
− | | |
− | === H3 - I/O Voltage Zone 3 (VZ3) ===
| |
− | | |
− | * 1-2 = 3.3V
| |
− | * 2-3 = 5V
| |
− | * Connects to J1 VZ3 pins
| |
− | | |
− | === H4 - I/O Voltage Zone 0 (VZ0) ===
| |
− | | |
− | * 1-2 = 3.3V
| |
− | * 2-3 = 5V
| |
− | * Connects to J1 VZ0 pins
| |
− | | |
− | == Connectors ==
| |
− | | |
− | === J1 - Power ===
| |
− | | |
− | * 7-12V in
| |
− | * Regulator provides 5V to card
| |
− | * Fuse protected 5V and 3.3V power distribution
| |
− | | |
− | === J2 - USB Micro B ===
| |
− | | |
− | * Power not connected through this connector
| |
− | * USB-Serial connection
| |
− | | |
− | === P1 ===
| |
| | | |
| {| class="wikitable" | | {| class="wikitable" |
− | ! Pin | + | ! Qty |
− | ! Descr | + | ! Value |
| + | ! Ref Des |
| ! | | ! |
− | ! Pin | + | ! Qty |
− | ! Descr | + | ! Value |
| + | ! Ref Des |
| |- | | |- |
| | 1 | | | 1 |
− | | GND | + | | [https://www.mouser.com/ProductDetail/810-FG18X7R1H474KRT6 0.47uF, 50V] |
| + | | C7 |
| | | | | |
− | | 2 | + | | 1 |
− | | GND | + | | [https://www.mouser.com/ProductDetail/926-LM380N-NOPB IC, LM380N] |
| + | | U2 |
| |- | | |- |
| | 3 | | | 3 |
− | | VCC (Zone 0) | + | | 100nF, 50V |
| + | | C1,C3,C8 |
| | | | | |
− | | 4 | + | | 1 |
− | | VCC (Zone 0) | + | | [https://www.mouser.com/ProductDetail/595-NE5534AP IC, NE5534AP] |
| + | | U1 |
| |- | | |- |
− | | 5 | + | | 2 |
− | | Pin.85 | + | | [https://www.mouser.com/ProductDetail/710-860020573008 100uF, 35V] |
| + | | C5,C9 |
| | | | | |
− | | 6 | + | | 1 |
− | | Pin.84 | + | | RES, TRIMMER, 500 |
| + | | RV2 |
| |- | | |- |
− | | 7 | + | | 2 |
− | | Pin.83 | + | | 10uF, 35V |
| + | | C2,C6 |
| | | | | |
− | | 8 | + | | 1 |
− | | Pin.82 | + | | CONN, 1X5, 10K POT |
| + | | RV1 |
| |- | | |- |
− | | 9 | + | | 1 |
− | | Pin.81 | + | | 470uF, 35V |
| + | | C4 |
| | | | | |
− | | 10 | + | | 2 |
− | | Pin.80 | + | | [https://www.mouser.com/ProductDetail/568-NYS354 RCA-JACK, NYS354] |
| + | | J1,J2 |
| |- | | |- |
− | | 11 | + | | 1 |
− | | Pin.79 | + | | 51, 1/4W |
| + | | R1 |
| | | | | |
− | | 12 | + | | 1 |
− | | Pin.78 | + | | DCJ0202 |
| + | | J3 |
| |- | | |- |
− | | 13 | + | | 1 |
− | | Pin.77 | + | | 10, 1/4W |
| + | | R2 |
| | | | | |
− | | 14
| |
− | | Pin.76
| |
− | |-
| |
− | | 15
| |
− | | Pin.74
| |
| | | | | |
− | | 16
| |
− | | Pin.73
| |
− | |-
| |
− | | 17
| |
− | | Pin.72
| |
| | | | | |
− | | 18
| |
− | | Pin.71
| |
− | |-
| |
− | | 19
| |
− | | Pin.70
| |
| | | | | |
− | | 20
| |
− | | Pin.69
| |
| |- | | |- |
− | | 21 | + | | 2 |
− | | Pin.68 | + | | 10K, 1/4W |
| + | | R3,R4 |
| | | | | |
− | | 22
| |
− | | Pin.67
| |
− | |-
| |
− | | 23
| |
− | | Pin.56
| |
| | | | | |
− | | 24
| |
− | | Pin.55
| |
− | |-
| |
− | | 25
| |
− | | Pin.54
| |
| | | | | |
− | | 26
| |
− | | Pin.53
| |
− | |-
| |
− | | 27
| |
− | | Pin.52
| |
| | | | | |
− | | 28
| |
− | | Pin.51
| |
| |- | | |- |
− | | 29 | + | | 1 |
− | | Pin.49 | + | | 2.7, 1/4W |
− | | | + | | R5 |
− | | 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 Master (or Slave) ===
| |
− |
| |
− | # GND
| |
− | # 3.3V
| |
− | # SDA
| |
− | # SCL
| |
− |
| |
− | === P3 - I2C Terminator ===
| |
− |
| |
− | * Install headers to enable terminators
| |
− | * 1-2 SDA 3.3K Terminator
| |
− | * 3-4 SCL 3.3K Terminator
| |
− |
| |
− | === P4 - SPI ===
| |
− |
| |
− | # SPI_MOSI
| |
− | # SPI_MISO
| |
− | # SPI_CK
| |
− | # SPI_CE0
| |
− | # +3.3V
| |
− | # GND
| |
− |
| |
− | == Programming ==
| |
− |
| |
− | * [https://www.infineon.com/cms/en/product/evaluation-boards/cy8ckit-059/ KitProg is a part of CY8CKIT-059]
| |
− | ** Fitted with 1x4 right angle header
| |
− | * Programming cable
| |
− | ** 4 pin 1:1 Dupont cable
| |
− | ** USB A Male to female cable
| |
− | * Has a CY8C5868LTI-LP039 used as the programmer
| |
− | * [https://www.infineon.com/dgdl/Infineon-CY8CKIT-059_PSoC_5LP_Prototyping_Kit_Guide-UserManual-v01_00-EN.pdf CY8CKIT-059 Guide]
| |
− | * [https://www.infineon.com/dgdl/Infineon-KitProg_User_Guide-UserManual-v01_00-EN.pdf?fileId=8ac78c8c7d0d8da4017d0eee99837dd9 KitProg User Manual]
| |
− |
| |
− | [[file:LitProgPlusCable_6159.jpg]]
| |
− |
| |
− | * Program using [https://www.infineon.com/cms/en/design-support/tools/sdk/psoc-software/psoc-creator/ PSOC Creator]
| |
− | * Select Debug, Program
| |
− |
| |
− | [[file:PSoC_Prog.PNG]]
| |
− |
| |
− | * Select Device/connect
| |
− |
| |
− | [[file:Sel_PSoC_Target.PNG]]
| |
− |
| |
− | == CAD - Rev X4 ==
| |
− |
| |
− | [[file:ODAS-PSOC5-CAD-X4-BW.PNG]]
| |
− |
| |
− | == Test Setup ==
| |
− |
| |
− | * [[Arduino Based Test Station]]
| |
− | ** [[LED-32]]
| |
− |
| |
− | === LED-32 ===
| |
− |
| |
− | [[FILE:LED-32-P426-720px.jpg]]
| |
− |
| |
− | * Lights
| |
− | ** D0 through D14, LED on card, then D30 through D17
| |
− | ** D16 = power (always on)
| |
− | ** D15, D31 are not used
| |
− |
| |
− | === Test Setup - Previous Version ===
| |
− |
| |
− | * (2) [[LED-TEST-2]] cards
| |
− | * [[POWER-49MM]] card
| |
− | * [https://github.com/land-boards/ODAS/tree/master/ODAS-PSOC5/Projects/ODAS-PSOC5-LEDS-01.cydsn LED-01 code]
| |
− | ** Bounces a bit across the LEDs
| |
− |
| |
− | [[file:ODAS-PSOC5_P1002_720px.jpg]]
| |
− |
| |
− | == Software ==
| |
− |
| |
− | * [https://github.com/land-boards/ODAS/tree/master/ODAS-PSOC5/Projects GitHub Repository]
| |