Who can give a SRP protocol on the XMOS implementation block diagram?
Thanks for any help!
Implementation block diagram of SRP protocol on XMOS
-
- Member
- Posts: 15
- Joined: Thu Jun 04, 2015 11:37 am
-
- Junior Member
- Posts: 5
- Joined: Mon Jul 01, 2013 2:13 pm
Have you taken a look at the AVB endpoint design guide? It doesn't include a block diagram but it does describes the API of the SRP task. https://www.xmos.com/published/avb-design-guide
-
- Respected Member
- Posts: 275
- Joined: Fri Mar 12, 2010 6:03 pm
I don't think there is a diagram. Your best source of information is the design guide as mentioned by Jacqui.
SRP is implemented as a task with two main events, a packet received and periodic processing. Packets are delivered after an Ethernet filter based of ethertype 0x22EA (SRP), ethertype 0x88F5 (MVRP) and MAC address 01:80:C2:00:00:0E/21 (SRP/MVRP). Periodic processing is 50ms. The task can run on its own (avb_srp_task) or combined with 1722.1 (avb_1722_1_maap_srp_task).
There is a thin layer of specialisation for SRP in avb_srp.xc and majority of the code is the implementatio of MRP in avb_mrp.c. The code is very closely aligned with 802.1Q (mainly sections 10 and 35). There is a registrar and applicant state machines with events controlled by join/leave request/indication primitives. Key data types are in avb_mrp_types.h.
SRP is implemented as a task with two main events, a packet received and periodic processing. Packets are delivered after an Ethernet filter based of ethertype 0x22EA (SRP), ethertype 0x88F5 (MVRP) and MAC address 01:80:C2:00:00:0E/21 (SRP/MVRP). Periodic processing is 50ms. The task can run on its own (avb_srp_task) or combined with 1722.1 (avb_1722_1_maap_srp_task).
There is a thin layer of specialisation for SRP in avb_srp.xc and majority of the code is the implementatio of MRP in avb_mrp.c. The code is very closely aligned with 802.1Q (mainly sections 10 and 35). There is a registrar and applicant state machines with events controlled by join/leave request/indication primitives. Key data types are in avb_mrp_types.h.