Serial port using the drivers of KMSWDRVAPIRM_SW

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Serial port using the drivers of KMSWDRVAPIRM_SW

579 Views
davidmartínezag
Contributor I

hello, i am trying initialize the serial port using the drivers that contains the file KMSWDRVAPIRM_SW, in theory which should be used with the microcontroller KM34Z128CLL5. To try the serial port, this file has a test_uart which I have used with the same peripherals that the configuration of the test program but it doesn't work. Any idea?

0 Kudos
2 Replies

479 Views
isaacavila
NXP Employee
NXP Employee

Hello David,

Did you create a new project and you are trying to use the drivers as uart_test project does? If so, you have to make sure to included all necessay files such as common.h, sim.h, start.h, etc. needed to configure clock and other MCU settings.

You can use make_project.exe to create a new project that is linked to these files, it is located at C:\Freescale\KM128SWDRV_R4_0_0\template:

pastedImage_58.png

After executing make_project.exe, configure your new project:

pastedImage_63.png

Then you can import this new project:

pastedImage_68.png

and you will be able to use KM drivers:

Download KMSWDRVAPIRM_SW.jpg

I hope this can help,

Regards,

Isaac Avila

0 Kudos

479 Views
davidmartínezag
Contributor I

Thanks Isaac, it's been very useful for me.

Regards,

David Martinez

0 Kudos