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?
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:
After executing make_project.exe, configure your new project:
Then you can import this new project:
and you will be able to use KM drivers:
I hope this can help,
Regards,
Isaac Avila
Thanks Isaac, it's been very useful for me.
Regards,
David Martinez