Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen RevisionVorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
embedded_systems:imx6:cb [2020-06-03 14:16] grafembedded_systems:imx6:cb [2023-06-28 13:32] (aktuell) Urs Graf
Zeile 25: Zeile 25:
   * 1 x Konsole, 1 x UART   * 1 x Konsole, 1 x UART
   * 24 DIO   * 24 DIO
-  * 8 Analog Out+  * 8 Analog Out (+/-10V)
 </box> </box>
 The board has a EP4CE22F17C8 FPGA from Altera which is connected over the EIM bus to the Colibri module. The board has a EP4CE22F17C8 FPGA from Altera which is connected over the EIM bus to the Colibri module.
  
-  * {{:embedded_systems:imx6:cb20schematic.pdf|Schema}} +  * {{:embedded_systems:imx6:cb20schematic.pdf|Schematics}} 
-  * github repository with Altium files, FPGA designs, and test application https://github.com/ntb-ch/cb20+  * github repository with Altium files, FPGA designs, and test application https://gitlab.ost.ch/tech/inf/public/cb20
   * [[#Known Errors]]   * [[#Known Errors]]
-  * [[software:linux:toradex:start|Linux on Toradex Colibri i.MX6]] +  * [[software:linux:yocto:cb20|Linux on Toradex Colibri i.MX6]] 
-  * Hardware configuration file for EEROS [[https://github.com/ntb-ch/cb20/blob/master/Software/cb20test/HwConfigCb20.json]]+  * Hardware configuration file for EEROS [[https://gitlab.ost.ch/tech/inf/public/cb20/blob/master/Software/cb20test/HwConfigCb20.json]]
  
 The FPGA configuration for the cb20 is made with [[https://www.flink-project.ch|flink]]. The available blocks for flink can be found on [[http://www.flink-project.ch/subdevices|flink-Wiki]].   The FPGA configuration for the cb20 is made with [[https://www.flink-project.ch|flink]]. The available blocks for flink can be found on [[http://www.flink-project.ch/subdevices|flink-Wiki]].  
Zeile 64: Zeile 64:
  
 === Test Program === === Test Program ===
-Unter https://github.com/ntb-ch/cb20 befindet sich auch ein EEROS Testprogramm für diese KonfigurationMit Hilfe der Skripte werden zuerst die notwendigen Repositories geholt (//clone.sh//)Achtungim File //config.sh.in// muss für eine Crossentwicklung das notwendige Toolchainfile angegeben werden. Dann kann mit //make.sh// alles übersetzt werden. Anschliessend muss auf das cb20 copiert werden. \\ +There is a test program using [[http://eeros.org|EEROS]] under  [[https://gitlab.ost.ch/tech/inf/public/cb20]] for the above standard configurationUse the steps described in [[https://wiki.eeros.org/getting_started/install/use_with_cb20]] to fetch all necessary repositories and build the applicationThe application reads the suitable hardware configuration file //HwConfigCb20.json// and configures all pinsThe analog and digital and PWM outputs are drivenThe encoder inputs are periodically logged\\ 
-Das Testprogramm liest eine passende Hardware-Konfiguration ein. +There is a second application //cb11Test// which uses //HwConfigDb11.json//. It only has 4 encoder inputstogether with analog ouputs, ready and enable signalsThis test is used to check all the necessary functions for the later use of the cb20 with the drive board [[embedded_systems:imx6:db|Drive Board der NTB]].
-  * HwConfigCb20.json: alle Pins werden konfiguriertAuf den analogen Ausgängen, den digitalen Ausgängen und den PWM-Ausgängen werden Werte ausgegebenDie Encoder-Eingänge werden geloggt+
-  HwConfigDb11.json: nur je vier Encoder-Eingängeanaloge Ausgänge, ready-Signale und das Enable-Signal werden konfiguriertZu dieser Hardware-Konfiguration gibt es ein spezielles Testprogramm (cb11Test).+
  
 ==== FPGA Design with Watchdog and PPWA ==== ==== FPGA Design with Watchdog and PPWA ====
 ^ flink component ^ unique id ^ id ^ nof channels ^ description ^ ^ flink component ^ unique id ^ id ^ nof channels ^ description ^
-| PWM | 0x1270C001 | 0 | | | +| PWM | 0x1270C001 | 0 | | | 
-FQD | 0x12706001 | 1 | 8 | | +PPWA| 0x12706001 | 1 | 2 | | 
-| Analog Out | 0x12702001 | | 8 | | +| Watchdog| 0x12710001 | 2 | 1 | | 
-| Info Device | 0x12700001 | | | cb20 with wdt, 28.5.2020| +| FQD | 0x12706001 | 3 | 8 | | 
-| Dig I/O | 0x12705002 | | 8 | | +| Analog Out | 0x12702001 | | 8 | | 
-| Dig I/O (Enable/Ready) | 0x12705001 | | 9 | |+| Info Device | 0x12700001 | | | cb20 with wdt, 28.5.2020| 
 +| Dig I/O | 0x12705002 | | 8 | | 
 +| Dig I/O (Enable/Ready) | 0x12705001 | | 9 | | 
 +The pins are assigned as with the standard configuration with the following exceptions: P11 has 4 PWM channels (pin 1 to 4), PPWA is on pin 5 and 6, Watchdog is on pin 7 (granted) and 8 (pwm).
  
 ==== FPGA Design with MPU9250 ==== ==== FPGA Design with MPU9250 ====
-This design incorporates a SPI Connection to a MPU9250 sensor. The SPI occupies 4 pins on the PWM connector. +This design incorporates a SPI connection to a MPU9250 sensor. The SPI occupies 4 pins on the PWM connector. 
 ^ flink component ^ unique id ^ id ^ nof channels ^ description ^ ^ flink component ^ unique id ^ id ^ nof channels ^ description ^
 | PWM | 0x1270C001 | 0 | 4 | | | PWM | 0x1270C001 | 0 | 4 | |
Zeile 89: Zeile 90:
 | Dig I/O (Enable/Ready) | 0x12705001 | 6 | 9 | | | Dig I/O (Enable/Ready) | 0x12705001 | 6 | 9 | |
  
-[{{:embedded_systems:imx6:cb20spi.jpg?500|SPI Schnittstelle MPU-9250}}]+[{{:embedded_systems:imx6:cb20spi.jpg?500|SPI Interface to MPU-9250}}]
  
 ==== Known Errors ==== ==== Known Errors ====
-Falls CAN zur Ansteuerung eines Drives mit hoher Leistung verwendet wirdmuss CAN GND zusätzlich angeschlossen werdenDies ist auf dem Controller Board Versionen 11 und 20 jedoch nicht angeschlossenDann muss mit einem Kabelstück auf der Leiterplatte GND_ISO mit Pin4 der CAN-Stecker verbunden werdenDie hervorgehobenen Leiterbahnen sind GND_ISO bzw. CAN-GND. +If CAN is used to connect to a drive with high power, CAN GND must be connectedThis connection is missing on the board version 11 and 20. You have to connect GND_ISO with pin4 of the CAN connectorThe highlighted lines are GND_ISO and CAN GND. 
-[{{:embedded_systems:imx6:canfixcb11.png?500|Fix für CAN-GND auf CB11 Board}}]+[{{:embedded_systems:imx6:canfixcb11.png?500|Fix for CAN-GND on CB11 Board}}]
  
-[{{:embedded_systems:imx6:canfixcb20.png?500|Fix für CAN-GND auf CB20 Board}}]+[{{:embedded_systems:imx6:canfixcb20.png?500|Fix for CAN-GND on CB20 board}}]