This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Trying to transmit with interrupt in XC164CS

Hi everybody,
I am learning to program with MCUs and now i have got the SK-XC164 board.I am trying to transmit via ASC0 a message. This message has 6 equal bytes and I must do it with transmit interrupt. Has anyone a simple program to practise??. The message I would like to see the message through Hyperterminal on PC. Thanks to everyone.

Parents
  • Hello,
    the Dave gives me the following information and I am not sure if this is the mistake:

    ASC0_TIC       =  0x0079;
    
      ///  Use PEC channel 1 for ASC0 Tx INT:
      ///  - normal interrupt
      ///  - pointers are not modified
      ///  - transfer a word
      ///  - service End of PEC interrrupt by a EOP interrupt node is disabled
      ///  - channel link mode is disabled
    

    Do you think wether it may be the problem?

Reply
  • Hello,
    the Dave gives me the following information and I am not sure if this is the mistake:

    ASC0_TIC       =  0x0079;
    
      ///  Use PEC channel 1 for ASC0 Tx INT:
      ///  - normal interrupt
      ///  - pointers are not modified
      ///  - transfer a word
      ///  - service End of PEC interrrupt by a EOP interrupt node is disabled
      ///  - channel link mode is disabled
    

    Do you think wether it may be the problem?

Children