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!
-----------------------------------------------------------------------------------------------------------------------