Hey I could make UART receive work,
and I found there is no RXD register for viewing during debug mode in Keil. anyone has idea on this?
Hey I could make UART receive work,
and I found there is no RXD register for viewing during debug mode in Keil. anyone has idea on this?
If you really want to read the RXD
Click View->Memory Windows->Memory 1
put the value of RXD register address there (0x40002518)
but debugging wont help this way because as soon as the memory window has showed you that RXD is being read, it will empty internal fifo and that byte is lost and not available for your application.
If you really want to read the RXD
Click View->Memory Windows->Memory 1
put the value of RXD register address there (0x40002518)
but debugging wont help this way because as soon as the memory window has showed you that RXD is being read, it will empty internal fifo and that byte is lost and not available for your application.