| Contents | Index |
Embedded Coder/ Embedded Targets/ Processors/ Analog Devices Blackfin/ ADSP-BF537 EZ-KIT Lite
Configure UART transceiver on ADI BF537 based board to capture data stream from the UART port of BF537 board. Your model can only contain one configuration block per UART port.
If the memory allocation for this block fails, the software generates an error that guides you to increase heap size or reduce data length. To change the heap size, use the System heap size (MAUs) parameter, located in the model Configuration Parameters under Code Generation > IDE Link.

Select which UART port this block configures. UART0 uses processor pins PF0 (UART0 transmit) and PF1 (UART0 receive). UART1 uses processor pins PF2 (Push button SW13) and PF3 (Push button SW12). These pins have multiple GPIO functions that depend on the configuration of the processor. For more information, see the "Programmable Flags (PFs)" section of the ADSP-BF537 EZ-KIT Lite® Evaluation System Manual.
Configure the rate at which the UART transfers bits per second. The bits include the start bit, the data bits, the parity bit (if enabled), and the stop bits. Configure both the sending and receiving devices to the same baud rate.
Set the number of data bits per data frame to 5, 6, 7, or 8. The UART transmits the least significant bit sent first. Use the default value, 8 bits, unless your system requires a lower value. Configure both the sending and receiving devices to the same data bit value.
Set type of parity checking to be none, even, or odd. When you set Parity to none, the UART does not perform parity checking and does not transmit a parity bit. When you set Parity to even, the UART sets the parity bit to 1 to obtain an even number of ones in the data word. When you set Parity to odd, the UART sets the parity bit to 1 to obtain an odd number of ones in the data word. Parity checking can detect errors of 1 bit only. An error in 2 bits can cause the data to have a seemingly valid parity. Configure both the sending and receiving devices to the same parity value.
Set the number of bits used to indicate the end of a byte. When you set Stop bits to 1, the UART transmits 1 bit to signal the end of a transmission. When you set Stop bits to 1.5, the UART extends the length of time it transmits the 1-bit stop bit by half. Configure both the sending and receiving devices to the same stop bit value.
ADSP-BF537 EZ-KIT Lite® Evaluation System Manual, Part Number 82-000865-01, available from the Analog Devices Web site.
Blackfin537 bf537_uart_rx, Blackfin537 bf537_uart_tx

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |