I am new to codewarrior. To get an understanding of how to program registers to achieve functionality, I am starting with DUART. For this,I need a sample UART code for P2020 RDB-PCA for a bareboard/linux project in Codewarrior
Hi Hammad Nayeem,
Adrian has provided accurate answer to your question.
For new beginner to CodeWarrior, below document in CW installation directory may be useful:
CodeWarrior Development Studio for Power Architecture Processors Getting Started Guide
For how to program registers, there are also other example in NCSW:
NetComm Software Resources|Freescale
It's not for P2020 but I think it's similar. So it may be useful options.
Have a great day,
Lunmin
Please take a look on <CodeWarrior_install_folder>\PA\PA_Support\Serial\P2020RDB-PC_serial.
Adrian