Skip to content

Commit

Permalink
Merge pull request #19 from Wiznet/v1.2.5
Browse files Browse the repository at this point in the history
Modify WIZ750SR-110 H/W Trigger pin
  • Loading branch information
WIZbecky authored Sep 20, 2019
2 parents fece85a + 053141e commit 2b5df7f
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 4 deletions.
25 changes: 21 additions & 4 deletions Projects/S2E_App/src/W7500x_board.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
//#define DEVICE_BOARD_NAME W7500P_S2E
#define DEVICE_BOARD_NAME WIZ750SR
//#define DEVICE_BOARD_NAME WIZ750SR_1xx
//#define DEVICE_BOARD_NAME_SUB WIZ750SR_110 //IF you use the WIWIZ750SR_110, this option activate.
//#define DEVICE_BOARD_NAME W7500_S2E

#ifdef DEVICE_BOARD_NAME
Expand Down Expand Up @@ -136,7 +137,7 @@
#define STATUS_PHYLINK_PORT GPIOA
#define STATUS_PHYLINK_PAD_AF PAD_AF1

#define STATUS_TCPCONNECT_PIN GPIO_Pin_9
#define STATUS_TCPCONNECT_PIN GPIO_Pin_7//GPIO_Pin_9 19.9.5 irina
#define STATUS_TCPCONNECT_PORT STATUS_PHYLINK_PORT
#define STATUS_TCPCONNECT_PAD_AF STATUS_PHYLINK_PAD_AF

Expand All @@ -150,7 +151,11 @@

// HW_TRIG - Command mode switch enable pin
// Direction: Input (Shared pin with TCP connection status pin)
#define HW_TRIG_PIN GPIO_Pin_7
#if (DEVICE_BOARD_NAME_SUB == WIZ750SR_110)
#define HW_TRIG_PIN GPIO_Pin_9
#else
#define HW_TRIG_PIN GPIO_Pin_7
#endif
#define HW_TRIG_PORT GPIOA
#define HW_TRIG_PAD_AF PAD_AF1

Expand Down Expand Up @@ -300,6 +305,12 @@
#define LED2_GPIO_PORT GPIOB
#define LED2_GPIO_PAD PAD_PB
#define LED2_GPIO_PAD_AF PAD_AF1
//add
#define LED3_PIN GPIO_Pin_8
#define LED3_GPIO_PORT GPIOC
#define LED3_GPIO_PAD PAD_PC

#define LED3_GPIO_PAD_AF PAD_AF1

#elif (DEVICE_BOARD_NAME == WIZ750SR_1xx) // ##20161031 WIZ750SR-1xx

Expand All @@ -312,6 +323,11 @@
#define LED2_GPIO_PORT GPIOC
#define LED2_GPIO_PAD PAD_PC
#define LED2_GPIO_PAD_AF PAD_AF1

#define LED3_PIN GPIO_Pin_7
#define LED3_GPIO_PORT GPIOA
#define LED3_GPIO_PAD PAD_PA
#define LED3_GPIO_PAD_AF PAD_AF1

#elif (DEVICE_BOARD_NAME == WIZwiki_W7500ECO)

Expand Down Expand Up @@ -366,11 +382,12 @@
#endif

// LED
#define LEDn 2
#define LEDn 3
typedef enum
{
LED1 = 0, // PHY link status
LED2 = 1 // TCP connection status
LED2 = 1, // blink
LED3 = 2 // TCP connection status
} Led_TypeDef;

extern volatile uint16_t phylink_check_time_msec;
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ These are Firmware projects (source code) based on Keil IDE for ARM (version 5)
v1.2.5 Stable
- Bug fixes:
- Modyfied the setSn_DHAR() Address offset.
- Modyfied the WIZ750SR-110 HW_Trigger pin.

- Improvements:
- If remote ip address is multicast address, enable multicating and set Sn_DHAR, Sn_DIPR, Sn_DPORTR before open socket
Expand Down

0 comments on commit 2b5df7f

Please sign in to comment.