2006-07-11 10:39 PM
2006-07-10 11:53 PM
Hello,
We are using ST72F561R9. We have already tested SCI-1 features, 1] Receive with interrupt, 2] Transmit with Polling. Now we want to test SCI-2, So we Modified the functions written for SCI-1, to SCI-2, Just by changing the Register names as follows, 1] SCISR => SCI2SR, 2] SCIDR => SCI2DR 3] & more... But the functions for SCI-2 are not working & there is no Transmition or reception happening on SCI-2 Port. Q1] We disabled the SCI-2 Receive interrupt & only tested it for Polling Transmition. But it also did not work. That means the SCI-2 PORT itself is not acting as a serial port. Is it the case that the serial port itself is not activated? Q2] Is there any extra care to be taken to enable SCI-2 than SCI-1? Regards, Yogesh/Amit2006-07-11 10:39 PM
Hi Yogesh,
please note, that you can/must select the suitable configuration with the option byte 1. For details please see chapter 14.1 Flash Option Bytes of the manual. Regards WoRo