This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TM4C123BE6PZ进行UART6串口通讯

 进行串口UART6通讯实验,使用keil软件仿真时,单步运行到GPIOPinTypeUART(GPIO_PORTD_BASE, GPIO_PIN_4|GPIO_PIN_5)进入GPIODirModeSet(uint32_t ui32Port, uint8_t ui8Pins, uint32_t ui32PinIO)函数后,在HWREG(ui32Port + GPIO_O_DIR) = ((ui32PinIO & 1) ?
                                   (HWREG(ui32Port + GPIO_O_DIR) | ui8Pins) :
                                   (HWREG(ui32Port + GPIO_O_DIR) & ~(ui8Pins)));卡死,进入HardFault_Handler。

附带自己写的程序,希望大神不吝赐教!

len_7 usart通讯.zip