![Forenex E2S-RF/RI Reference Manual Download Page 25](http://html1.mh-extra.com/html/forenex/e2s-rf-ri/e2s-rf-ri_reference-manual_2318965025.webp)
www.forenex.com.tw
- 25 -
Appendix B. Communication with SPI device over Ethernet
IMPORTANT:
1. The description of Appendix B. is only available for
E2S-PF/PI
(SPI) model.
2. The
“
Flow Control Packet
” and “
UDP Protocol Link
” do not support.
3. To establish a TCP connection before any data transmission.
4. The E2S will passively wait for the Host (
Remote Equipment
) to send packet
and doesn't send any data to Host actively.
5. While E2S is processing a received packet, the Host is not allowed to send
new packet, except for a resulted packet is returned from E2S.
A-1. Write data to SPI Slave device.
(1) Packet format shall refer to protocol of SPI Slave Device.
(2) When E2S received any packet form Ethernet. The E2S will assert a
completed SPI transition cycle that base on the protocol of SPI Slave Device.
And bypass entire packet to SPI Slave device without change.
(3) When Host received a return packet from E2S that means the previous
packet has been performed completely. No matter the content of packet is
invalid or not. The Host is allowed to send next new packet
E.g. If you want to write 4 Bytes data to the AMIC A25LQ64,
The packet form Host should be “1 Byte C 3 Bytes A 4 Bytes Data”.
When single packet processing is completed, the E2S will be returned 8 Bytes data to Host.