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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

Jump to solution
888 Views
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

0 Kudos
1 Solution
656 Views
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

View solution in original post

5 Replies
656 Views
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 Kudos
656 Views
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 Kudos
656 Views
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 Kudos
656 Views
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 Kudos
657 Views
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