Part Number: MSP432P401R
Tool/software: Code Composer Studio
Hi team,
I am using MSP‐EXP432P401R LaunchPad to develop SPI BSL application. The code to enter the BSL is as follows:
if (((input )& (BIT4)) == 0) { chkbsl = false; MAP_Interrupt_disableMaster(); NVIC->ICER[0] = 0xFFFF; NVIC->ICPR[0] = 0xFFFF; NVIC->ICER[1] = 0xFFFF; NVIC->ICPR[1] = 0xFFFF; P1->OUT |= BIT0; BSL_INVOKE(BSL_SPI_INTERFACE); // Call the BSL with given BSL parameters } //BSL_UART_INTERFACE//BSL_SPI_INTERFACE
BSL Version Command : 0x80 0x01 0x00 0x19 0xE8 0x62
SPI communication:
P1.4 STE Active Low
P1.5 CLK CKPH = 0 CKPL = 1
P1.6 MOSI MSB
P1.7 MISO Driven by Dummy 0xFF
Channel 1 : STE
Channel 2 : CLK
Channle 3 : MOSI
Channel 4 : MISO
BSL Version Command