From c5e00a560584127a1e0efee2dba28cebdac6c52c Mon Sep 17 00:00:00 2001 From: bigfoot547 Date: Thu, 4 Jun 2026 21:47:40 -0500 Subject: v1 prototype --- newnewexi.pld | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'newnewexi.pld') diff --git a/newnewexi.pld b/newnewexi.pld index 590be55..5f58bec 100644 --- a/newnewexi.pld +++ b/newnewexi.pld @@ -22,8 +22,8 @@ Device F1504ISPTQFP44; Pin 37 = EXI_CLK; /* IN: EXI bit clock (act on rising edge) */ Pin 34 = !EXI_CS; /* IN: EXI chip select (active-low) - device in standby when FALSE */ -Pin 43 = EXI_DO; /* OUT: EXI data (slave out) */ -Pin 42 = EXI_DI; /* IN: EXI data (slave in) */ +Pin 43 = EXI_DI; /* OUT: EXI data (slave out) */ +Pin 42 = EXI_DO; /* IN: EXI data (slave in) */ Pin 44 = EXI_INT; /* OUT: EXI interrupt (not used) */ /** USB-side pins **/ @@ -60,6 +60,8 @@ Field EXI_State = [EXI_SEQ3..0]; /* Clock state */ Enable = EXI_CS & USB_PWREN; LED = LED_STATE # !USB_PWREN; /* LED should be on if USB isn't set up yet, or if requested by EXI */ +EXI_DO.OE = Enable; + $Repeat i = [0..3] /* EXI_SEQ state machine clocked by EXI (assuming we're selected) */ EXI_SEQ{i}.CKMUX = EXI_CLK; -- cgit v1.2.3-70-g09d2