Difference between pages "Arduino Based Test Station" and "ODAS-PSOC5"

From Land Boards Wiki
(Difference between pages)
Jump to navigation Jump to search
 
 
Line 1: Line 1:
[[file:DIGIO32-I2C_P1994_720px.jpg]]
+
[[file:ODAS-PSOC5-P682-X4-720px.jpg]]
  
== Hardware ==
+
== Features ==
  
* [[BLACK-PILL-HUB]] - Preferred choice due to nearly unlimited resources
+
* PSOC part CY8C5267AXI-LP051
** Previous CPU choices
+
** Core: ARM Cortex M3
*** [[BLUE-PILL-HUB]]
+
** Data Bus Width: 32 bit
**** FTDI card
+
** Maximum Clock Frequency: 67 MHz
*** [[NANO-BKOUT]]
+
** Program Memory Size: 128 kB
* [[DIGIO32-I2C]]
+
** Data RAM Size: 32 kB
* [[LED-32]]
+
** ADC Resolution: 12 bit
* PC running PuTTY
+
** Data RAM Type: SRAM
** 9600 baud
+
** Interface Type: I2C, USB
 
+
** Number of ADC Channels: 1
=== BLACK-PILL-HUB ===
+
** Number of I/Os: 72 I/O
 
+
** Number of Timers/Counters: 4 Timer
[[FILE:Black-Pill-Hub_P1383-720px.jpg]]
+
** Program Memory Type: Flash
 
 
=== LED-32 ===
 
 
 
[[FILE:LED-32-P426-720px.jpg]]
 
 
 
=== DIGIO32-I2C ===
 
 
 
[[FILE:DIGIO32-I2C-P232-720px.jpg]]
 
 
 
== Personality EEPROM ==
 
 
 
* Tests cards without personality EEPROM
 
* Tests cards with personality EEPROM
 
** Personality EEPROM follows Raspberry Pi Hat EEPROM format
 
** Test station writes EEPROM
 
** Test station uses EEPROM contents (if present) to determine which test to run
 
 
 
=== Example Personality EEPROM - DIGIO-128 ===
 
<pre>
 
Reading EEPROM
 
Family=ODAS
 
Company=land-boards.com
 
Product=DIGIO-128
 
</pre>
 
 
 
== Black Pill Setup ==
 
 
 
=== Resources ===
 
 
 
* Plenty of resources
 
 
 
<pre>
 
Sketch uses 48724 bytes (9%) of program storage space. Maximum is 524288 bytes.
 
Global variables use 3828 bytes (2%) of dynamic memory, leaving 127244 bytes for local variables. Maximum is 131072 bytes.
 
</pre>
 
 
 
== Programming ==
 
 
 
=== DFU Programming ===
 
 
 
[[file:BlackPillBoard-720px.png]]
 
 
 
* Steps from [https://www.sgbotic.com/index.php?dispatch=pages.view&page_id=49 Programming|Program STM32 Black Pill (STM32F401 / F411) with Arduino IDE (Windows OS)]
 
** Add the URL to Additional Board Manager URLs text box:  
 
*** https://github.com/stm32duino/BoardManagerFiles/raw/master/STM32/package_stm_index.json
 
** Go to Tools > Board > Boards Manager
 
** Search for STM32, select latest version and click Install.
 
** Download and install STM32CubeProg from ST.com: [https://www.st.com/en/development-tools/stm32cubeprog.html]
 
** Start the STM32CubeProg
 
** From the Tools > Board > STM32 Board, select Generic STM32F4 series
 
** Select Tools > Board Part Number > BlackPill F411CE
 
** Under USB Support, select CDC (generic "Serial" supersede U(S)ART)
 
** Under Upload method, select SMT32CubeProgrammer(DFU)
 
** Use the onboard BOOT0 and NRST button to put the board into bootloader mode:
 
*** press and hold the BOOT0 button
 
*** press and release NRST (reset) button to power cycle the processor
 
*** release BOOT0 button
 
*** Sometimes removing the USB cable and plugging it back in while pressing BOOT0 button works better
 
** Upload sketch
 
 
 
[[file:BlackPill_Config.png]]
 
 
 
* Displays in IDE
 
 
 
<pre>
 
USB speed  : Full Speed (12MBit/s)
 
Manuf. ID  : STMicroelectronics
 
Product ID  : STM32  BOOTLOADER
 
SN          : 348C35983539
 
FW version  : 0x011a
 
Device ID  : 0x0431
 
Device name : STM32F411xC/E
 
Flash size  : 512 KBytes (default)
 
Device type : MCU
 
Device CPU  : Cortex-M4
 
 
 
 
 
 
 
Memory Programming ...
 
Opening and parsing file: ODASTESTER.ino.bin
 
  File          : ODASTESTER.ino.bin
 
  Size          : 49132 Bytes
 
  Address      : 0x08000000
 
 
 
 
 
Erasing memory corresponding to segment 0:
 
Erasing internal memory sectors [0 2]
 
erasing sector 0000 @: 0x08000000 done
 
erasing sector 0001 @: 0x08004000 done
 
erasing sector 0002 @: 0x08008000 done
 
Download in Progress:
 
 
 
 
 
File download complete
 
Time elapsed during download operation: 00:00:02.263
 
 
 
RUNNING Program ...
 
  Address:      : 0x8000000
 
Start operation achieved successfully
 
</pre>
 
 
 
=== Other Programming ===
 
 
 
* ST-LINK V2
 
* [https://www.st.com/en/development-tools/flasher-stm32.html FLASHER-STM32] - STM32 Flash loader demonstrator (UM0462)
 
* From [https://www.st.com/content/ccc/resource/technical/document/application_note/51/5f/03/1e/bd/9b/45/be/CD00264342.pdf/files/CD00264342.pdf/jcr:content/translations/en.CD00264342.pdf AN3155]
 
[[File:SerialPropogramming (AN3155).PNG]]
 
 
 
== Cards Supported ==
 
 
 
Goal is to test as many cards as possible
 
 
 
* [[DigIO16-I2C]] board
 
* [[DIGIO-128]] board
 
* [[OptoIn8-I2C]] board
 
* [[OptoOut8-I2C]] board
 
* [[DIGIO32-I2C]] board
 
* [[PROTO16-I2C]] board
 
* [[ODAS-PSOC5]] board
 
* [[ODAS-RELAY16]] board
 
* [[DIGIO-128]]/64 board
 
* [[I2CIO8]] board
 
* [[I2CIO8X]] board
 
* [[SWLEDX8-I2C]] board
 
* [[OPTOFAST-2]]/[[OPTOSMALL]] Non-Inverting board
 
* [[OPTOFAST-2]]/[[OPTOSMALL]] Inverting board
 
* [[I2C-RPT-01]] board
 
* [[I2C-RPT-08]] board
 
* [[OptoFastBi]] board
 
 
 
=== Menu Options ===
 
 
 
<pre>
 
Select the board type
 
1 - DIGIO16-I2C board
 
2 - DIGIO-128 board
 
3 - OptoIn8-I2C board
 
4 - OptoOut8-I2C board
 
5 - DIGIO32-I2C board
 
6 - PROTO16-I2C board
 
7 - ODAS-PSOC5 board
 
8 - ODAS-RELAY16 board
 
A - DIGIO-128/64 board
 
9 - TBD board
 
X - Boards without EEPROMs
 
Select board > X
 
Select the board type
 
1 - I2CIO8 board
 
2 - I2CIO8X board
 
3 - SWLEDX8-I2C board
 
4 - OPTOFast/Small Non-Inverting board
 
5 - OPTOFast/Small Inverting board
 
6 - I2C-RPT-01 board
 
7 - I2C-RPT-08 board
 
8 - OptoFastBi board
 
</pre>
 
 
 
== Cable Sets ==
 
 
 
* Particular cable sets for cards
 
 
 
== Software ==
 
 
 
* [https://github.com/land-boards/lb-Arduino-Code/tree/master/LBCards/ODAS/ODASTESTER ODAS Test Software Github Repo]
 
* Bounce LEDs and loop test to [[DIGIO32-I2C]]
 

Revision as of 12:56, 15 March 2022

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