Hi
I am working on a bluetooth project using MSP430F5437A instead of a MSP430F5438A. I am using CCS6.0
I have modified the required files (HRDWCFG.C and HAL.C) as explained in the "hardware porting guidelines". I made changes to use port 0 instead of port 2 for the bluetooth HCI. Here are my changes:
#define BT_UART_MODULE_BASE ((unsigned int)&UCA0CTLW0)
#define BT_UART_IV (USCI_A0_VECTOR)
#define BT_UART_IVR (UCA0IV) // The 5437A has only 2 uarts, so use UART0 instead of UART2
#define BT_UART_PIN_PORT_BASE ((unsigned int)&P3IN)
/* The UART Module's Tx Pin Mask. */
#define BT_UART_PIN_TX (BIT4)
/* The UART Module's Rx Pin Mask. */
#define BT_UART_PIN_RX (BIT5)
#define BT_UART_CTS_INT_NUM (P1IV_P1IFG7) // using P1.7 for CTS
#define BT_DEVICE_RESET_PORT_BASE ((unsigned int)&P1IN)
#define BT_DEVICE_RESET_PORT_PIN (BIT1) // using P1.1 for reset (nSHUTD)
#define BT_SLOW_CLOCK_PORT_BASE ((unsigned int)&P1IN)
#define BT_SLOW_CLOCK_PORT_PIN (BIT0) // using P1.0 for slow clock (works fine)
The bluetooth is not responding. The hardware has been checked several times now, so it looks like the change in software from 38A to 37A needs more attention. I even purchased a PAN1323 module and wired it to the 5437A
Here is the main symptom:
Without any BT (chip or module) attached, the two leds blink after about 5 secs from reset.
with the BT module attached, the two leds blink after less then 1 sec from reset.
Am I still missing something, especially in the porting procedure? . Any help is appreciated.
thanks,
Sami