deep

a Cross Development Platform for Java

User Tools

Site Tools


runtime_library:drivers:start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
runtime_library:drivers:start [2015/04/20 16:20] – [mpc5200] ursgrafruntime_library:drivers:start [2020/12/10 19:29] – [mpc555] ursgraf
Line 1: Line 1:
 ====== Device Drivers ====== ====== Device Drivers ======
-Currently we support the mpc555 and mpc5200 PowerPC processors. They differ in their core features as well as in their built-in peripherals. Both are rich in built-in peripheral modules. In order to facilitate the use of those modules the runtime system offers a lot of software drivers. In the following sections there are short descriptions of drivers available. Details about a specific driver and its use can be found [[http://api.deepjava.org/runtime-library/|API of the Runtime Library]].+Currently we support the mpc555 and mpc5200 PowerPC processors as well as the Zynq7000 ARM processor. They differ in their core features as well as in their built-in peripherals. Both are rich in built-in peripheral modules. In order to facilitate the use of those modules the runtime system offers a lot of software drivers. In the following sections there are short descriptions of drivers available. Details about a specific driver and its use can be found [[http://api.deepjava.org/runtime-library/|API of the Runtime Library]]. 
 + 
 +===== Zynq7000 ===== 
 +==== flink Devices ==== 
 +The Zynq7000 incorporates a configurable programmable logic (PL) block, which is an FPGA. We support the configuration of the PL with [[https://flink-project.ch/]]. flink offers useful blocks for  
 +  * GPIO (general purpose input / output) 
 +  * PWM generation (pulse width modulation) 
 +  * Counter (e.g. for fast quadrature decoding for encoder signals) 
 +  * PPWA measurement (period and pulse width measurement) 
 +  * DAC (digital to analog converter) 
 +  * ADC (analog to digital converter) 
 +  * Watchdog  
  
 ===== mpc555 ===== ===== mpc555 =====
Line 16: Line 27:
 <code java> <code java>
   // 1) Initialize SCI2 (9600 Bd, 8N1)   // 1) Initialize SCI2 (9600 Bd, 8N1)
-  SCI2.start(9600, SCI2.NO_PARITY, (short)8);+  SCI sci2 = SCI.getInstance(SCI.pSCI2); 
 +  sci2.start(9600, SCI.NO_PARITY, (short)8);
   // 2) Use SCI2 for stdout   // 2) Use SCI2 for stdout
-  System.out = new PrintStream(SCI2.out);+  System.out = new PrintStream(sci2.out);
   // 3) Redirect stderr to stdout (optional)   // 3) Redirect stderr to stdout (optional)
   System.err = System.out;   System.err = System.out;
Line 47: Line 59:
 The mpc555 offers to indepedent CAN controllers. On the headerboard the necessary physical driver is already included (but no 120Ω termination resistor). An basic driver for CAN and CANopen exists. Please ask for assistance. The mpc555 offers to indepedent CAN controllers. On the headerboard the necessary physical driver is already included (but no 120Ω termination resistor). An basic driver for CAN and CANopen exists. Please ask for assistance.
    
-==== Support for NTB Hardware ====+==== Support for In-House Hardware ====
 Several dedicated drivers exist for in-house hardware like our control board (''RTBoard'') or our two-wheel robot (''Robi2''). Several dedicated drivers exist for in-house hardware like our control board (''RTBoard'') or our two-wheel robot (''Robi2'').
  
Line 54: Line 66:
  
 ===== mpc5200 ===== ===== mpc5200 =====
-Please check the API for available drivers. +Please check the [[http://api.deepjava.org/runtime-library/|API of the Runtime Library]] for available drivers. 
runtime_library/drivers/start.txt · Last modified: 2023/03/23 09:50 by ursgraf