Sign in

username:

password:



Not a member?

Search c6x



Search tips

Subscribe to c6x



c6x by Keywords

AD535 | BIOS | Booting | Bootloader | C621 | C6211 | C6415 | C671 | C6711 | C6711DSK | C6713 | CCS | Chassaing | COFF | DAT | DM64 | DM642 | DMA | DSK671 | DSK6711 | EDM | EDMA | EMIF | Emulator | EVM | EVM620 | FFT | FIR | GPIO | Halting | HPI | HWI | IDK | JTAG | LDB | LDH | LDW | Linker | LMS | LOG_printf | Matlab | McBSP | MEM_alloc | MIPS | PCI | PCM3003 | Pipeline | Profiling | QDM | Reset | ROM | RTDX | Sampling | SDRAM | Stack | TEB | THS1206 | TMS320C621 | TMS320C6416 | TMS320C6711 | TMS320C6713 | UART | Vector Table | XBUS | XDS560

Sponsor

Industry's highest performing at the lowest power DSPs now as low as $5.00*
Start development today!
*volume pricing for 10ku

Discussion Groups

See Also

Embedded SystemsFPGAElectronics

Discussion Groups | TMS320C6x | c6211 DSK Daughter Boards

Technical discussions about the TI C6000 DSPs (including the c62x, c64x and c67x DSPs).

  

Post a new Thread

c6211 DSK Daughter Boards - Sidney Jung - Sep 4 5:20:00 2001

Hi,
I was wondering if anyone out there could help me get my DSK's Daugterboard EMIF
working
for asynchronous memory elements? I can't seem to get the CE2 signal happening
at all. I
was wondering what you would have to change in the registers etc. and if there
is any tricks
to accessing it?
Any help would be greatly appreciated.



______________________________
Start your Android Ice Cream Sandwich development on TI's AM35x Sitara ARM Cortex-A8 processor today.



(You need to be a member of c6x -- send a blank email to c6x-subscribe@yahoogroups.com )

RE: c6211 DSK Daughter Boards - Mikhail Fridberg - Sep 4 14:23:00 2001

RE: [c6x] c6211 DSK Daughter Boards

This is how I did it:

#define         EXT_MEM_CE2             REG16(0xA0000000) //use REG32(xxxxxxx) for 32 bit access

Uint16  var;

EXT_MEM_CE2=0x0ABC; //to write
var=EXT_MEM_CE2; //to read

You can use default wait states or change them as you wish. You can also use DMA or QDMA access.
As far as I know there are no special tricks required for access to CE2 space. Example program to initialize EMIF is here:

(using CCS1.2 with CSL read manual on CSL for 6x)
        myEMIFconfig.gblctl=HEMIF_GBLCTL;
        myEMIFconfig.ce0ctl=HEMIF_CE0CTL;
        myEMIFconfig.ce1ctl=HEMIF_CE1CTL;
        myEMIFconfig.ce2ctl=EMIF_MK_CECTL(EMIF_CECTL_RDHLD_OF(1),
                                                                        EMIF_CECTL_MTYPE_ASYNC16,
                                                                        EMIF_CECTL_RDSTRB_OF(8),
                                                                        EMIF_CECTL_TA_NA,
                                                                        EMIF_CECTL_RDSETUP_OF(9),
                                                                        EMIF_CECTL_WRHLD_OF(7),
                                                                        EMIF_CECTL_WRSTRB_OF(7),
                                                                        EMIF_CECTL_WRSETUP_OF(4));
        myEMIFconfig.ce3ctl=HEMIF_CE3CTL;
        myEMIFconfig.sdctl=HEMIF_SDCTL;
        myEMIFconfig.sdtim=HEMIF_SDTIM;
        myEMIFconfig.sdext=HEMIF_SDEXT;
       
        EMIF_ConfigA(&myEMIFconfig);

If you have CCS2.0 you can program EMIF using GUI.
In any event CE2 should be happening any time you access appropriate rang of addresses
0xA0000000 - 0xAFFFFFFF for read or write if it's configured as asynchronous type.

Mike.


-----Original Message-----
From: Sidney Jung [mailto:j...@today.com.au]
Sent: Tuesday, September 04, 2001 1:20 AM
To: c...@yahoogroups.com
Subject: [c6x] c6211 DSK Daughter Boards


Hi,
I was wondering if anyone out there could help me get my DSK's Daugterboard EMIF working
for asynchronous memory elements? I can't seem to get the CE2 signal happening at all. I
was wondering what you would have to change in the registers etc. and if there is any tricks
to accessing it?
Any help would be greatly appreciated.



______________________________
New Code Sharing Section now Live on DSPRelated.com. Learn about the Reward Program for Contributors here.



(You need to be a member of c6x -- send a blank email to c6x-subscribe@yahoogroups.com )