Hello, I am using tm4c123g microcontroller(cortex m4) and successfully programmed led blink, created 16x2 and 128x64 library files using CMSIS standard. But when I try to write any value in UART register, it causes the cpu to jump into hard fault. Example UART0->CTL&=~1; triggers the hard fault handler. I am facing this problem with all other UART registers like baud registers.
BTW I am able to do it with direct memory addressing. But I want to use UART funcions in CMSIS. I don't know what's going wrong please help.
Now that is something that you should be reporting to TI!!
It would also be helpful if you would post here exactly what is wrong, and exactly how to correct it - for the benefit of others who may run into the same problem
This could be the result of the UART peripheral not being powered.
Should, of course, say:
"you should be reporting to the author of the file" - which may or may not be TI...