This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F28335: F28335 Configuring XINTF Address Lines

Part Number: TMS320F28335

First, this is what I would like to do:

I would like to connect external memory to the MCU using the XINTF.  A 1Mb (64k x 16) ASRAM chip requires 16 address lines and 16 data lines.  The F28335 XINTF has 20 address lines (XA0-XA19) and 32 data lines (XD0-XD31).  So I was going to interface with the memory chip using XZCS7n, XWE0n, XRDn, XD0-XD15 and XA0-XA15. 

Here is my problem: Four of these lines XA12, 13, 14 & 15 share the same pins as GPIO84, 85, 86 & 87, which are used to select the Bootloader Boot Mode.

Using the F28335 Development Kit Control Card as an example, the boot mode is chosen using switches to set these GPIO pins either high or low.  However, if these pins are tied either high or low based on the mode selected, how can these same pins be used as XINTF address lines?

If these pins can be configured as either a GPIO or an XA, then does this mean that the Bootloader and XINTF cannot both be used?

Or are the XINTF address line numbers arbitrary and any XA lines can be used, as in they do not need to follow their designated sequence?

Can I skip XA12-XA15 and use only XA0-XA11 and XA16-XA19 to get my 16 required address lines?

  • Hi,

    Using the F28335 Development Kit Control Card as an example, the boot mode is chosen using switches to set these GPIO pins either high or low.  However, if these pins are tied either high or low based on the mode selected, how can these same pins be used as XINTF address lines?

    These GPIO pins are used for BOOTMODE selection after reset. Once application code start running, these pins are not used for BOOTMODE selection hence can be used for XINTF address pins. Also to drive high/low on these pins for BOOTMODE selection, user need to have weak pull-up/pull-down only which will be overdriven by device when used as XINTF pins.

    Can I skip XA12-XA15 and use only XA0-XA11 and XA16-XA19 to get my 16 required address lines?

    No, that'll leave memory holes.

    Regards,

    Vivek Singh

  • For what it's worth there is an archived workshop for the F28335 ( processors.wiki.ti.com/.../C2000_Archived_Workshops archived workshops&tisearch=Search-EN-Everything ) - there is a write-up on setting up EMIF in the student manual.