Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen RevisionVorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
software:flink:flink_example_1 [2015-02-05 09:44] grafsoftware:flink:flink_example_1 [Unbekanntes Datum] (aktuell) – gelöscht - Externe Bearbeitung (Unbekanntes Datum) 127.0.0.1
Zeile 1: Zeile 1:
-====== flink on Phytec PCM032 Board (mpc5200) ====== 
-flink was tested with the FPGA on the mpc5200io module as well as with an external FPGA connected through a SPI interface. 
  
-===== Onboard FPGA connected through Local Plus Bus ===== 
-The following example describes in detail how a Phytec PCM032 Board containing a mpc5200 and a FPGA is configured to be used with flink. The FPGA will contain a single channel PWM module and a single channel GPIO modul. 
- 
-==== Setup ==== 
-  * Configure the board with a working Linux kernel and root file system or use the system described in [[software:linux:emdebian:phycore-mpc5200b|Installation von Emdebian Grip auf den Phytec phyCORE-MPC5200B]]   
-  * Make sure that the device tree blob is up-to-date. It must contain a node for the FPGA sitting on the local plus bus. 
-  * Get necessary sources for the flink project.<code>git clone https://github.com/flink-project/flinkvhdl.git 
-git clone https://github.com/flink-project/flinklinux.git 
-git clone https://github.com/flink-project/flinklib.git</code> 
- 
-==== Configure the FPGA ==== 
-Proceed as described in [[software:flink:flink_vhdl|VHDL]].  
-  * In 5: add a block //gpio// and a block //pwm// to the system. Also add a //lpb_mpc5200b_to_avalon// module. Leave the standard values as they are except for the PWM module, whose base clock should be 33000000. [{{ :software:flink:lpb_mpc5200b_to_avalon.png?500 | //Adding an interface block// }}] 
-  * After 9: the System should now look like: [{{ :software:flink:lpb_mpc5200io_qsys_sys.png?700 | //Complete system// }}] 
-  * In 14: choose the pins as follows: 
- 
-^signal^dir^pin^ 
-|clk_clk|in|PIN_H2| 
-|lpb_ack_n|out|PIN_T11| 
-|lpb_ad[31]|bidir|PIN_T6| 
-|lpb_ad[30]|bidir|PIN_N8| 
-|lpb_ad[29]|bidir|PIN_R9| 
-|lpb_ad[28]|bidir|PIN_T9| 
-|lpb_ad[27]|bidir|PIN_R8| 
-|lpb_ad[26]|bidir|PIN_T8| 
-|lpb_ad[25]|bidir|PIN_L8| 
-|lpb_ad[24]|bidir|PIN_L7| 
-|lpb_ad[23]|bidir|PIN_R7| 
-|lpb_ad[22]|bidir|PIN_T7| 
-|lpb_ad[21]|bidir|PIN_R5| 
-|lpb_ad[20]|bidir|PIN_T5| 
-|lpb_ad[19]|bidir|PIN_R4| 
-|lpb_ad[18]|bidir|PIN_T4| 
-|lpb_ad[17]|bidir|PIN_P4| 
-|lpb_ad[16]|bidir|PIN_P5| 
-|lpb_ad[15]|bidir|PIN_R3| 
-|lpb_ad[14]|bidir|PIN_T3| 
-|lpb_ad[13]|bidir|PIN_P11| 
-|lpb_ad[12]|bidir|PIN_N11| 
-|lpb_ad[11]|bidir|PIN_L11| 
-|lpb_ad[10]|bidir|PIN_M11| 
-|lpb_ad[9]|bidir|PIN_R14| 
-|lpb_ad[8]|bidir|PIN_T14| 
-|lpb_ad[7]|bidir|PIN_R13| 
-|lpb_ad[6]|bidir|PIN_T13| 
-|lpb_ad[5]|bidir|PIN_R12| 
-|lpb_ad[4]|bidir|PIN_T12| 
-|lpb_ad[3]|bidir|PIN_P13| 
-|lpb_ad[2]|bidir|PIN_P12| 
-|lpb_ad[1]|bidir|PIN_K10| 
-|lpb_ad[0]|bidir|PIN_K11| 
-|lpb_ale_n|in|PIN_R11| 
-|lpb_cs_n[0]|in|PIN_N10| 
-|lpb_int|out|PIN_R6| 
-|lpb_oe_n|in|PIN_L9| 
-|lpb_rdwr_n|in|PIN_L10| 
-|lpb_ts_n|in|PIN_T10| 
-|reset_reset_n|in|PIN_N9| 
- 
-The pins for the PWM output and the GPIO have to be assigned according to your hardware.