Menu

#7 Hardware initialization

closed-fixed
None
5
2002-04-10
2000-11-04
Giuliano
No

In sh2-7045edk.c

- erase these lines:

/* set CMI0 and ADI0 irq priorities to 1 */
*SH2_704X_INTC_IPRG = 0x1010;
/* set DEI0 and DEI1 irq priorities to 1 */
*SH2_704X_INTC_IPRC = 0x1100;

- Only the SCI used must be initialized and the PFC configurate. Add a #define to select the lines to compile

- Between the BBR assignment and the SCR setting you must wait for at least the interval required to
transmit or receive one bit. See 7040 hardware manual rev 1.0 pag 491.

Giuliano

Discussion

  • Bill Gatliff

    Bill Gatliff - 2002-04-08
    • status: open --> open-fixed
     
  • Bill Gatliff

    Bill Gatliff - 2002-04-08
    • assigned_to: nobody --> bgat
     
  • Bill Gatliff

    Bill Gatliff - 2002-04-10
    • status: open-fixed --> closed-fixed
     

Log in to post a comment.