Hi,
From the reference manual,KEA64 support S9KEAZN64.

And internal clocking sources is from 31.25-39.0625khz. Which clock do you need to be 40khz.


Refer this demo , 
change the internal clock to 31.25 by config ICS_C3,core clock is 40mhz, bus clock is20Mhz.
change uart2 to uart0. and change BDL to 11. The baud rate as shows in follow pic .

Please have a try.
Jianyu:
Have a great day,
TIC
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------