(Processor Expert)How to set pull-high/low for SCI in S12ZCA?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

(Processor Expert)How to set pull-high/low for SCI in S12ZCA?

ソリューションへジャンプ
1,244件の閲覧回数
aaronlee
Contributor V

Hi,

We are using S12ZVCA & CodeWarrier 11.0.1

How to set pull-high/low for SCI?

PERT=0x03;       // SCI1(PT0, PT1) Enable Pull Resistor
PPST=0;             // SCI1(PT0, PT1) Pull High

Best Regard,

Aaron

タグ(3)
0 件の賞賛
返信
1 解決策
1,012件の閲覧回数
dianabatrlova
NXP TechSupport
NXP TechSupport

Hi Aaron,

Yes, that is what I mean (add that code by yourself).

The setting from my screenshot is available only in the init_SCI component.

pastedImage_1.png

Best Regards,

Diana

元の投稿で解決策を見る

5 返答(返信)
1,012件の閲覧回数
dianabatrlova
NXP TechSupport
NXP TechSupport

Hi Aaron,

Could you try to use settings below?

pastedImage_1.png

I hope it helps.

Best Regards,

Diana

0 件の賞賛
返信
1,012件の閲覧回数
aaronlee
Contributor V

Hi Diana,

What version is your CodeWarrier?

We are using S12ZVCA & CodeWarrier 11.0.1

pastedImage_1.png

Best Regards,

Aaron

0 件の賞賛
返信
1,012件の閲覧回数
dianabatrlova
NXP TechSupport
NXP TechSupport

Hello Aaron,

I would like to apologize for the delay.

I have used the same version of CW, but a different component.

However, if the SCI transmitter feature is enabled the effect on enabled pull device is forced off.

Only the SCI receiver can be controlled by PER/PPS.

But the pull-up functionality is not available in the AS1 component. So, you can set it in the user code section.

Best Regards,

Diana

0 件の賞賛
返信
1,012件の閲覧回数
aaronlee
Contributor V

Hi Diana,

Thanks for your reply.

Do you mean I need to add the following code by myself?

main(){

   .....

   PERT=0x03;

   PPST=0;

   .....

}

I have been try to install CodeWarrior v11.1, but the result same as v11.0.

Then, I try to use AsynchroMaster and AsynchroSlave, the result same as AsynchroSerial.

I could not find PULL RESISTOR as your screenshot.

Best Regards,

Aaron

0 件の賞賛
返信
1,013件の閲覧回数
dianabatrlova
NXP TechSupport
NXP TechSupport

Hi Aaron,

Yes, that is what I mean (add that code by yourself).

The setting from my screenshot is available only in the init_SCI component.

pastedImage_1.png

Best Regards,

Diana