Other Parts Discussed in Thread: TMS320F28034, CONTROLSUITE
Hi...is there is any application Note or document to start the porting of code from 8051 MCU to TMS320f28034 MCU?
I want to know about the interrupt handling, memory handling etc..
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.
Other Parts Discussed in Thread: TMS320F28034, CONTROLSUITE
Hi...is there is any application Note or document to start the porting of code from 8051 MCU to TMS320f28034 MCU?
I want to know about the interrupt handling, memory handling etc..
Hi Gautam,
I was going through the example for SPI driver present in C:\ti\controlSUITE\device_support\f2803x\v130\DSP2803x_examples_ccsv5\spi_loopback.
I got some doubts.
For the below snippet of code:
SpiaRegs.SPICCR.all =0x000F; // Reset on, rising edge, 16-bit char bits
SpiaRegs.SPICTL.all =0x0006; // Enable master mode, normal phase,
// enable talk, and SPI int disabled.
SpiaRegs.SPIBRR =0x007F;
SpiaRegs.SPICCR.all =0x009F; // Relinquish SPI from Reset
void spi_fifo_init()
{
// Initialize SPI FIFO registers
SpiaRegs.SPIFFTX.all=0xE040;
SpiaRegs.SPIFFRX.all=0x2044;
SpiaRegs.SPIFFCT.all=0x0;
}
There is no explanation regarding how the value is being set for each structure or Union members.
I am finding it difficult to understand without proper comments.
Regards,
Varun
Hi Gautam,
I went through the SPI Doc. I Saw the example code too.I am able to understand the code atleast to some extent now..I have a doubt.
Which is the best method to follow??Interrupt based or FIFO method ??
Regards,
Varun