test_rpdo_event (TC-PD-01) |
Receive PDOs 1 to 4 with types 254 and 255 and data that depend on every bit: Rpdo_Valid and the data one cycle after the event, data byte k - 1 at sub-index k, the data held until the next PDO of the same number, other PDOs unchanged |
PD-RX-01, PD-RX-03, PD-RX-07, PD-IF-01, PD-IF-06 |
test_rpdo_length (TC-PD-02) |
Receive PDOs with DLC 0 to 7: not processed, Err_RxLength of that PDO with the types 0, 1, 254, 255 and 245, the data at the port and the held data unchanged; DLC 8 to 15: processed with 8 bytes |
PD-RX-02, PD-IF-07 |
test_rpdo_sync (TC-PD-03) |
Types 0, 1 and 240: no pass at the reception, the data passed one cycle after the next SYNC with DLC 0 and with DLC 1, all held PDOs in the same cycle; several PDOs between two SYNCs: the last one; a type changed to 254 between the reception and the SYNC: still passed at the SYNC; a SYNC with DLC 2 to 15 passes nothing; a SYNC without held data passes nothing; a synchronous PDO in the cycle of a SYNC: passed at the next SYNC; an event-driven PDO in the cycle of a SYNC that passes held data of the same PDO: one event with its data |
PD-RX-04, PD-RX-06, PD-SY-01 |
test_rpdo_reserved (TC-PD-04) |
Every type from 241 to 253: no pass, no event |
PD-RX-05, PD-IF-03 |
test_sync (TC-PD-05) |
SYNCs with DLC 0 to 15 (the counter byte is not an input of ocan_pdo; the network bench sends SYNCs with DLC 1 and a counter byte): Sync_Valid one cycle after the SYNCs with DLC 0 and 1 only, also with Nmt_EnaPdo = '0' and in the cycle of a reset communication |
PD-SY-01, PD-SY-02 |
test_tpdo_cyclic (TC-PD-06) |
Types 1, 2, 3, 17 and 240: a request at every n-th SYNC, counted from the first SYNC after the hardware reset, a reset communication and a change of the type; a SYNC in the cycle of each of these events not counted; the data of the cycle of the SYNC event with data that change in every cycle; DLC 8, data byte k - 1 at sub-index k; the requests of the user logic without effect; the request held while TxTpdo_Ready is late (no window) |
PD-TX-01, PD-TX-02, PD-SY-03, PD-IF-02, PD-IF-06 |
test_tpdo_acyclic (TC-PD-07) |
Type 0: a request of the user logic, then a SYNC: one PDO with the data of the SYNC cycle; several requests: one PDO; a request in the cycle of a SYNC: the PDO at the next SYNC; no request: no PDO; a change of the type while a request waits: discarded; a request in the cycle of a change to type 0: the PDO at the next SYNC; a request in the cycle of a change to type 254 and to 255: requested at once |
PD-TX-03, PD-TX-04 |
test_tpdo_event (TC-PD-08) |
Types 254 and 255: a PDO one cycle after each request with the data of the request cycle; SYNCs without effect; every type from 241 to 253: no PDO at requests and SYNCs, type 241 also over 241 SYNCs; no PDO without a trigger over 2000 ticks (no event timer) |
PD-TX-04, PD-TX-05, PD-TX-06, PD-IF-03 |
test_tpdo_busy (TC-PD-09) |
Requests and due SYNCs while a request is offered and while it is taken: not requested, Err_TxBusy; a request and a due SYNC in the cycle of TxTpdo_Done, of TxTpdo_Aborted and of the reject path: requested with the new data; TxTpdo_Valid and the data unchanged while TxTpdo_Ready is held off for 1000 cycles |
PD-TX-07, PD-IF-07 |
test_tpdo_handshake (TC-PD-10) |
Delays of TxTpdo_Ready, the reject path, TxTpdo_Aborted after the take, TxTpdo_Done: Evt_TpdoSent and Evt_TpdoAborted, no repetition; no completion: Err_TxTimeout 256 ticks after the take, twice, no repetition, the next request served, the other PDOs unaffected; completions while no request waits (idle, offered without TxTpdo_Ready, late after the time-out): ignored |
PD-TX-08, PD-TX-09, PD-IF-05, PD-IF-07 |
test_nmt (TC-PD-11) |
Stat_PdoEnabled equal to Nmt_EnaPdo in every cycle; Nmt_EnaPdo = '0': receive PDOs not processed, due PDOs not requested without an event, requests without effect, the SYNC counts continue (the phase after Nmt_EnaPdo = '1' again); the exit from Operational with held synchronous data of every PDO: not passed at the next SYNC, also when the SYNC comes in the cycle of the exit; with a request of type 0 waiting: no PDO at the next SYNC and none after the return to Operational; a request offered and taken at the exit: completes as the responder reports it |
PD-RS-01, PD-RS-02, PD-IF-04, PD-IF-07 |
test_reset_comm (TC-PD-12) |
Nmt_ResetComm with held data, a waiting request of type 0 and counts in progress: the counts restart, the held data and the request discarded; a receive PDO and a SYNC in the cycle of the event: not processed, not counted; the data at the port kept; an offered and a taken request complete as the responder reports it; with Nmt_EnaPdo = '1' in the cycle of the event, a request of type 0 in that cycle waits for the next SYNC and a request of type 254 is requested |
PD-RS-03, PD-TX-03, PD-IF-04 |
test_reset (TC-PD-13) |
Rst with held data, pending requests and counts in progress: no request pending, the data at the port 0, the counts from the start |
PD-RS-04 |
test_back_to_back (TC-PD-14) |
SYNC and receive PDO events 46 bit times apart at 1 Mbit/s and in consecutive cycles; all four transmit PDOs due at the same SYNC: four requests in the same cycle; all four held receive PDOs passed in the same cycle |
PD-IF-08, PD-RX-04, PD-TX-02 |
test_random (TC-PD-15) |
20000 cycles of random SYNCs (every DLC), receive PDOs (every number and DLC), requests, types (all 256 values applied, also in the cycle of an event), handshake results, ticks and NMT events, compared with the reference in every cycle; every completion and error event of every present PDO occurs |
PD-RX-02 to PD-RX-06, PD-TX-02 to PD-TX-09, PD-RS-01 to PD-RS-03, PD-SY-01 |
test_net_pdo (TC-PD-16) |
Bench network, on bus A and on bus B: M1 starts the node; RPDOs 1 to 4 with type 254 and with type 1 (passed at the next SYNC); TPDOs 1 to 4 with types 254, 1, 3 and 0 on the bus with the identifiers 180h + NODE-ID to 480h + NODE-ID, DLC 8 and the bytes of the user logic; the TPDO of type 3 at the same SYNCs as the Local Time PDO of type 3, and at a SYNC where the TPDOs and the Local Time PDO are due each frame once, in the round-robin order of DS-TX-01 computed from the source of the last frame before the SYNC (the Local Time PDO before the TPDO of type 1 that was the last frame); M1 sets Pre-operational after an RPDO of type 1 and after a request of type 0, before the SYNC: no data passed, no TPDO, also after the next start; in Pre-operational no PDO |
PD-IF-01, PD-IF-02, PD-RX-01, PD-TX-01, PD-TX-02, PD-SY-01, PD-RS-01, PD-RS-02 |
test_net_minimal (TC-PD-17) |
Bench net_minimal, on bus A: the node in Operational by local control; an RPDO of M1 (telemetry request) passed at once and the TPDO that the model of the user logic requests in reply on the bus; a TPDO that the model requests at every Sync_Valid on the bus after every SYNC (clause 9.4.3b) |
PD-SY-02, PD-RX-03, PD-TX-04 |
test_absent (TC-PD-18) |
Configurations default, n00, n13, n22 and n31: receive PDO events with the numbers of absent PDOs not processed, the outputs of absent PDOs 0, their requests and TxTpdo_Ready, TxTpdo_Done and TxTpdo_Aborted inputs without effect |
PD-IF-01, PD-IF-02 |