S12ZVC SCI

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

S12ZVC SCI

1,066 次查看
marslin
Contributor I

There are 2 SCI in 12ZVC(48pin). I assign RXD0/TXD0 but can not assign another RXD1/TXD1.

圖片1.png

标签 (1)
标记 (1)
7 回复数

655 次查看
aaronlee
Contributor V

Hi,

Why does my manual only 1 SCI on S12ZVCA(48-pin)?

pastedImage_2.png

Best Regards,

Aaron

0 项奖励

655 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hi Aaron,

You are referring to an outdated version of the RM.

pastedImage_1.png

Regards,

Daniel

655 次查看
aaronlee
Contributor V

Hi Daniel,

It's a good news. Thank you.

Best Regards,

Aaron

0 项奖励

655 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hi,

Did you routed SCI1 to the port (SCI1RR)?

Regards,

Daniel

0 项奖励

655 次查看
marslin
Contributor I

Daniel ,

I mean I can't  assign the SCI1 via CodeWarrior Development Studio. There is no SCI1 can be selected.

456.png

0 项奖励

655 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hi,

I had to edit this answer, because I cannot asign the SCI1 either on S12ZVC 48-pin package.

The problem has been reported, it should be fixed.

I must have checked 64-pin version instead.

Sorry for the misleading information.

Regards,

Daniel

0 项奖励

655 次查看
RadekS
NXP Employee
NXP Employee

Hi Mars,

The SCI1 at PT0, PT1 pins have the highest priority. So, there should not be any problem with different functions assigned to these pins.

 

I suppose that issue may be in the code for writing to the MODRR0 register.

This register may be written just once in normal mode. Therefore, you must write complete configuration in a single command.

Correct approach:

MODRR0 = 0x30;

Wrong approach:

MODRR0_SCI0 = 1;
MODRR0_SCI1 = 1;
//…

I hope it helps you.

Have a great day,
Radek

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------