Hello,
I will start with this is my first time attempting to work with the OMAP3530....
I am attempting what I thought would be a relatively simple task of configuring MCBSP1 on the OMAP3530. I am utilizing CCSv4 with a Mistral EVM Rev G Board (and corresponding board support in CCS) as well as a Spectrum Digital XDS510 USB Emulator.
What I am simply trying to do is get a free running tx clock which I can sample on a scope but thus far I am having 0 luck. I have managed to get the DSP out of reset and load the application on, step through etc but I get nothing on the output clock pins. More over when I inspect the memory locations as I step over them in the debugger they do not seem to be changing at all (i.e. I cannot seem to modify the MCBSP control registers at all).
The following is the "simple" code that I am running. I have done very similar things on the OMAPL137 without issue..
Any help would be greatly appreciated.
#define MCBSP1_BASE 0x48074000
#define MCBSP_PCR_REG 0x48074048
#define MCBSP_SPCR1_REG 0x48074014
#define MCBSP_SPCR2_REG 0x48074010
#define MCBSP_RCR1_REG 0x4807401C
#define MCBSP_XCR1_REG 0x48074024
#define MCBSP_SRGR1_REG 0x4807402C
#define MCBSP_MCR1_REG 0x48074034
#define MCBSP_RCERA_REG 0x48074038
#define MCBSP_XCERA_REG 0x48074040
void main(int argc, const char * argv[])
{
MCBSP_SPCR1_REG = 0x00410021;
MCBSP_RCR1_REG = 0x00002220;
MCBSP_XCR1_REG = 0x00000000;
MCBSP_SRGR1_REG = 0x20000008;
MCBSP_MCR1_REG = 0x00000000;
MCBSP_RCERA_REG = 0x00000000;
MCBSP_XCERA_REG = 0x00000000;
MCBSP_PCR_REG = 0x00000201;
for(;;);
}