[PATCH] LM3S3749 BSP

Eugeniy Meshcheryakov eugen at debian.org
Sun Apr 21 15:42:00 UTC 2013


Hello,

The following patch adds support for TI LM3S3749 MCU (ARM Cortex-M3
based). This patch is based on lm3s69xx BSP. Unlike lm3s69xx BSP this
one works on real hardware, but does not work in qemu (because of
PLL initialization code).

This patch assumes that an external crystal or oscillator is connected
to the MCU. By default it is assumed that crystal/oscillator has
frequency 10 MHz, the MCU's main PLL is used to provide system clock
@50 MHz. Both external oscillator frequency and system clock
frequencies are configurable.

UART and SPI support is provided, for now in polled mode only.
Operating modes and speeds are hardcoded for now.

I tested this code on a self-made board, but it should be useful for
any board with this MCU that uses an external oscillator as system clock
source. The following test programs worked fine: base_sp, hello, nsecs,
ticker, unlimited (only 4 tasks). There was no output from capture and
fileio samples, paranoia sample complained about lack of memory. I also
used my own programs to test SPI and interrupts.

Regards,
Eugeniy Meshcheryakov
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rtems-lm3s3749-bsp.diff
Type: text/x-diff
Size: 57881 bytes
Desc: not available
URL: <http://lists.rtems.org/pipermail/devel/attachments/20130421/f4e026d4/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.rtems.org/pipermail/devel/attachments/20130421/f4e026d4/attachment-0001.bin>


More information about the devel mailing list