msp432p401lp-cc256x: update for EM BoosterPacket with CC2564C module

This commit is contained in:
Matthias Ringwald 2020-11-16 23:22:16 +01:00
parent 9782e8840d
commit 5ad984f6b0
2 changed files with 16 additions and 2 deletions

View File

@ -118,7 +118,7 @@ uECC.c \
PORT_SOURCES = \
btstack_chipset_cc256x.o \
bluetooth_init_cc2564B_1.6_BT_Spec_4.1.o \
bluetooth_init_cc2564C_1.4.o \
hal_flash_bank_msp432.o \
main.o \
startup_msp432p401r_${COMPILER}.o \

View File

@ -205,6 +205,8 @@ Pin 36: BTRTS=GPIO-P6.6
Pin 37: BTCTS=GPIO-P5.6
*/
#if 0
// Unclear
#define BLUETOOTH_TX_PORT GPIO_PORT_P3
#define BLUETOOTH_TX_PIN GPIO_PIN2
#define BLUETOOTH_RX_PORT GPIO_PORT_P3
@ -215,7 +217,19 @@ Pin 37: BTCTS=GPIO-P5.6
#define BLUETOOTH_CTS_PIN GPIO_PIN6
#define BLUETOOTH_nSHUTDOWN_PORT GPIO_PORT_P2
#define BLUETOOTH_nSHUTDOWN_PIN GPIO_PIN5
#else
// EM Wireless BoosterPack with CC256x module
#define BLUETOOTH_TX_PORT GPIO_PORT_P3
#define BLUETOOTH_TX_PIN GPIO_PIN2
#define BLUETOOTH_RX_PORT GPIO_PORT_P3
#define BLUETOOTH_RX_PIN GPIO_PIN3
#define BLUETOOTH_RTS_PORT GPIO_PORT_P3
#define BLUETOOTH_RTS_PIN GPIO_PIN6
#define BLUETOOTH_CTS_PORT GPIO_PORT_P5
#define BLUETOOTH_CTS_PIN GPIO_PIN2
#define BLUETOOTH_nSHUTDOWN_PORT GPIO_PORT_P6
#define BLUETOOTH_nSHUTDOWN_PIN GPIO_PIN4
#endif
/* UART Configuration Parameter. These are the configuration parameters to
* make the eUSCI A UART module to operate with a 115200 baud rate. These