Hi,
I'm using the MXP-EXP432E401Y launchpad kit to learn how to program the MSP432E401Y so we can use it in our products. We use assembly code so the first thing I want to do is to learn how to read serial data coming into the MSP432E401Y using assembly instructions. I've been using the out-of-box example which I am running using Code Composer Studio to do my testing. I've been able to learn a few things using the debug feature of CCS but still have a lot more to learn.
Serial data to the board comes in via a USB connector but looking at the USB parameters starting at 0x40050000 it looks like they haven't even been initialized. It does look like the UART0 port has been initialized and I can successfully change the baud rate of the serial data by changing the baud rate of UART0 so it looks like that is where serial I/O is functional.
By experimenting I can see that a flag is set at 0x20029A08 whenever a byte comes in, but I haven't been able to figure out where I can get the byte itself. If I use the debugger it gets stuck going in a circle. If I release the debugger the byte eventually gets loaded into 0x200297BC but I don't know where the code is that loads it there so I can't figure out how to get the byte of data myself.
I also don't see any flags or data coming into the UART0 block that starts at 0x4000C000.
Thank you so much to anyone who can help me understand how to use assembly code to read serial data coming into the MSP432E401Y.
Regards,
Brad McMillan