There are 2 SCI in 12ZVC(48pin). I assign RXD0/TXD0 but can not assign another RXD1/TXD1.
Hi,
Why does my manual only 1 SCI on S12ZVCA(48-pin)?
Best Regards,
Aaron
Hi Aaron,
You are referring to an outdated version of the RM.
Regards,
Daniel
Hi Daniel,
It's a good news. Thank you.
Best Regards,
Aaron
Hi,
Did you routed SCI1 to the port (SCI1RR)?
Regards,
Daniel
Daniel ,
I mean I can't assign the SCI1 via CodeWarrior Development Studio. There is no SCI1 can be selected.
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
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!
-----------------------------------------------------------------------------------------------------------------------