-- MarekPalka - 02 Nov 2006
Port C7 - 0 is used as an output of Etrax and port C15-8 is used as input. With first trigger etrax sends what kind of action(M) it would like to do:
PC 7 6 PC 5 - 0
R/~W reserved device number

Device number:
  • FPGA : 0
  • DSP : 1
  • MDC add on board :2
  • ...

In second trigger higher part of address(A3) is sent,in fifth lower part(A0).
If this is write mode then etrax is sending values (D3 ... D0) which has to be write to device.
At the end FPGA is sending valid(with data in read mode).
Comunication can be at any point reseted.
To read value from device: ./rwv2 r 0 1 # 0 - device, 1 - address.
To write value to device: ./rwv2 w 0 1 a # 0 - device, 1 - adress ,a - value.

Topic attachments
I Attachment Action Size Date Who Comment
protocol_final.jpgjpg protocol_final.jpg manage 91.7 K 09 Feb 2007 - 13:28 MarekPalka comunication protocol
Topic revision: r7 - 09 Feb 2007, MarekPalka
 
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Hades Wiki? Send feedback
Imprint (in German)
Privacy Policy (in German)