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
解決済! 解決策の投稿を見る。
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.
Best Regards,
Diana
Hi Aaron,
Could you try to use settings below?
I hope it helps.
Best Regards,
Diana
Hi Diana,
What version is your CodeWarrier?
We are using S12ZVCA & CodeWarrier 11.0.1
Best Regards,
Aaron
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
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
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.
Best Regards,
Diana