Skip to content

Commit da358a7

Browse files
author
DESKTOP-M9CCUTI\ian
committed
fix logic analyzer on BP5 hardware by changing to pio0 sm0.
1 parent 72b299b commit da358a7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

binmode/logicanalyzer.pio

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
;
55
; SPDX-License-Identifier: BSD-3-Clause
66
;
7-
7+
.pio_version 0 // only requires PIO version 0
88
.program logicanalyzer_no_trigger
99
; get post trigger sample count
1010
out x, 32

pirate.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,11 +88,11 @@ void spi_busy_wait(bool enable);
8888
#define PIO_RGB_LED_SM 0
8989
#else
9090
#define PIO_RGB_LED_PIO pio0
91-
#define PIO_RGB_LED_SM 0
91+
#define PIO_RGB_LED_SM 1
9292
#endif
9393

9494
#define PIO_LOGIC_ANALYZER_PIO pio0
95-
#define PIO_LOGIC_ANALYZER_SM 1
95+
#define PIO_LOGIC_ANALYZER_SM 0
9696

9797
#define PIO_MODE_PIO pio1
9898
// all SM reserved for mode

0 commit comments

Comments
 (0)