Commit 679a735
committed
samples: peripherals: radio_test: Fix PPI endpoint clear and coded PHY RX
Fix endpoints_clear() to also clear NRF_TIMER_EVENT_COMPARE1 when
ENDPOINT_TIMER_RADIO_TX is set. Without this,
start_duty_cycle_modulated_tx did not work on retriggers
because radio_ppi_tx_reconfigure() attaches
COMPARE1 but endpoints_clear() only cleared COMPARE0.
Route coded PHY (BLE LR125/LR500) RX through DISABLED state using
END->DISABLE and DISABLED->RXEN shorts instead of END->START. This
ensures the receiver meets expected packet-loss behavior for Long
Range modes. Add a shell warning when start_rx is used with coded PHY.
Ported from sdk-nrf commits 7f07170da0 and 9145ec2458.
Signed-off-by: Ivan Iushkov <ivan.iushkov@nordicsemi.no>1 parent 9f592f3 commit 679a735
2 files changed
Lines changed: 23 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
600 | 600 | | |
601 | 601 | | |
602 | 602 | | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
| 608 | + | |
| 609 | + | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
603 | 616 | | |
604 | 617 | | |
605 | 618 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
323 | 323 | | |
324 | 324 | | |
325 | 325 | | |
| 326 | + | |
| 327 | + | |
326 | 328 | | |
327 | 329 | | |
328 | 330 | | |
| |||
695 | 697 | | |
696 | 698 | | |
697 | 699 | | |
698 | | - | |
699 | | - | |
700 | | - | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
| 705 | + | |
| 706 | + | |
| 707 | + | |
701 | 708 | | |
702 | 709 | | |
703 | 710 | | |
| |||
0 commit comments