This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
runtime_library:drivers:start [2020/12/10 19:33] – [Zynq7000] ursgraf | runtime_library:drivers:start [2020/12/10 19:43] – [Zynq7000] ursgraf | ||
---|---|---|---|
Line 16: | Line 16: | ||
flink is very powerful in that a specific configuration can be prepared with a set of subdevices while each subdevice can have a configurable number of channels. These channels can be mapped on any of the available MIO-pins of the Zynq7000. This offers unique flexibility. | flink is very powerful in that a specific configuration can be prepared with a set of subdevices while each subdevice can have a configurable number of channels. These channels can be mapped on any of the available MIO-pins of the Zynq7000. This offers unique flexibility. | ||
+ | ==== Universal Asynchronous Receiver/ | ||
+ | The Zynq7000 offers two independent UART interfaces. The UART0 is available on MIO14 (RX) and MIO15 (TX) with TTL levels. UART1 is routed to an FTDI-Chip and available on the USB connector on J2. | ||
+ | <code java> | ||
+ | // 1) Initialize UART1 (115200 Baudrate, 8N1) | ||
+ | UART uart = UART.getInstance(UART.pUART1); | ||
+ | uart.start(115200, | ||
+ | // 2) Use UART1 for stdout | ||
+ | System.out = new PrintStream(uart.out); | ||
+ | // 3) Redirect stderr to stdout (optional) | ||
+ | System.err = System.out; | ||
+ | </ | ||
+ | We offer a dedicated driver '' | ||
===== mpc555 ===== | ===== mpc555 ===== | ||
==== Digital I/O’s ==== | ==== Digital I/O’s ==== |