SCI0 initialization on mc9s12g

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

SCI0 initialization on mc9s12g

787 次查看
andreacavazzoni
Contributor II

Hi everybody,

I need to implement SCI0 on MC9S12G240 and MC9S12G128. I create files header and C following AN2485 (not the same file, but more function are the same). To test my project I used TWR-S12G240 demoboard. I connect some test point on PS0 and PS1, but when I launch my program I don't see anything. I debug my program with my Codewarrior IDE and I see that interrupt is working (I put a breakpoint in the interrupt function and I see that the program enter in it until it ends the buffer transmission).

My question is: how can I set the PS0 and PS1 bit to have 2nd function (TxD and RxD).

many thanks and BR,

Andrea Cavazzoni

标记 (3)
0 项奖励
回复
1 回复

624 次查看
andreacavazzoni
Contributor II

Hi everybody, I solved my trouble.

0 项奖励
回复