Keil Logo

Peripheral Simulation

For Infineon C517A-4R — Serial UART 1

Simulation support for this peripheral or feature is comprised of:

  • Dialog boxes which display and allow you to change peripheral configuration.

These simulation capabilities are described below.

Serial Channel-1 Dialog

Serial Channel-1

The Serial Channel 1 dialog displays and allows you to edit the configuration of the Serial Interface.

  • Mode displays and allows you to change the serial interface mode of operation (data length, synchronous or asynchronous).
  • S1CON (Serial Control Register 1) holds the control and setup information for programming serial port 1.
  • S1BUF (Serial Interface Buffer Register 1) contains the transmit data to be sent or received data.
  • SM21 (Enable Serial Port 1 Multiprocessor Communication In Modes 2 and 3) is set to suppress a receiver interrupt (RI1) if the received 9th data bit is 0.
  • TB81 (Serial Port 1 Transmitter Bit 9) is the 9th data bit to be transmitted for serial modes 2 and 3.
  • REN1 (Receiver Enable) is set to enable serial data input.
  • RB81 (Serial Port 1 Receiver Bit 9) is set for serial modes 2 and 3 when a 9th bit is received. In serial mode 1, this is the stop bit.

BaudRate

  • S1RELH (Baudrate Generator Reload High Value) contains the upper 2-bits of the 10-bit value that automatically reloads into the 10-bit timer that generates the baudrate.
  • S1RELL (Baudrate Generator Reload Low Value) contains the lower byte of the 10-bit value that automatically reloads into the 10-bit timer that generates the baudrate.
  • Baudrate is the actual baudrate for the serial channel. It can be derived from the oscillator frequency, or generated by Timer 1.

IRQ

  • TI1 (Transmitter Interrupt Flag) is set by hardware for each character frame transmitted. TI1 is cleared by software.
  • RI1 (Receiver Interrupt Flag) is set by hardware for each character frame received. RI1 is cleared by software.
Get more information about the
Peripheral Simulation Capabilities
of the µVision Debugger.
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.