EmbeddedRelated.com
Forums
The 2024 Embedded Online Conference

Regarding SPI

Started by msr_...@yahoo.co.in September 24, 2007
Hi EVERYBODY

I am using TMS320F2812 Controller.In that i have to receive 8 bit data from one microcontroller.I configured SPICCR as 8 bit Character length,in scope i am getting all higher 8 bits are zeros and lower 8 bits are my orginal data,,how can i get only 8 bit data without higher bits.
What is the use FIFO on that
Thankssssss
Hi,

I'm facing the same problem which is described in the
mail below. Whenever, I give the data length for SPI
as 16 bits, I find that the data comes in the SPISIMO
pin. However, when I change the data length in the
SPICCR register as 8 bits, I do not see any data in
the SPISIMO line. However, In both cases, the SPI
clock is active.

If any of you have experienced this issue and solved
it, please let me know.

Thanks,
Vishal

--- m...@yahoo.co.in wrote:

> Hi EVERYBODY
>
> I am using TMS320F2812 Controller.In that i have to
> receive 8 bit data from one microcontroller.I
> configured SPICCR as 8 bit Character length,in scope
> i am getting all higher 8 bits are zeros and lower 8
> bits are my orginal data,,how can i get only 8 bit
> data without higher bits.
> What is the use FIFO on that
> Thankssssss
Hi Pratyuksh,

I figured that out when going through the SPI
reference guide. Anyways, thanks for your help.

Everybody,

Has anyone tried interfacing any serial ADC like
ADS1258 with the TMS320F280x processors? If there are
some experiences, I would be glad to know.

regards,
Vishal

--- prathyush kumar
wrote:

> Need to left shift by 8 when txing as MSB is sent
> first.
>
> Let me know if it works.
>
> Regards,
> gopalakrishnan vishal anand
> wrote:
> Hi,
>
> I'm facing the same problem which is described in
> the
> mail below. Whenever, I give the data length for
> SPI
> as 16 bits, I find that the data comes in the
> SPISIMO
> pin. However, when I change the data length in the
> SPICCR register as 8 bits, I do not see any data in
> the SPISIMO line. However, In both cases, the SPI
> clock is active.
>
> If any of you have experienced this issue and
> solved
> it, please let me know.
>
> Thanks,
> Vishal
>
> --- m...@yahoo.co.in wrote:
>
> > Hi EVERYBODY
> >
> > I am using TMS320F2812 Controller.In that i have
> to
> > receive 8 bit data from one microcontroller.I
> > configured SPICCR as 8 bit Character length,in
> scope
> > i am getting all higher 8 bits are zeros and
> lower 8
> > bits are my orginal data,,how can i get only 8
> bit
> > data without higher bits.
> > What is the use FIFO on that
> > Thankssssss
> >
> >
>
Hi All,

I've been having one more problem with SPI. I've gone
through the SPI reference guide but have not been able
to find a solution.

The problem is as follows. I've interfaced my DSP,
TMS320F2808 with a serial ADC. I need to read a few
internal registers of the ADC serially. The DSP is
configured as the Master and the ADC as the slave. So,
in order to get slave data, I send dummy data from the
DSP. When I monitor the SPISIMO and SPISOMI lines in
the oscilloscope, I observe the data transfer on these
lines with respect to the SPICLK. However, the
SPIRXBUF does not have the data for me to use in my
application. I also tried checking the INT FLAG in the
SPISTS register. However, I coudn't get that also to
work.

If anyone has encountered similar problem with the
SPIRXBUF, please let me know.

Thanks,
Vishal

--- prathyush kumar
wrote:

> Need to left shift by 8 when txing as MSB is sent
> first.
>
> Let me know if it works.
>
> Regards,
> gopalakrishnan vishal anand
> wrote:
> Hi,
>
> I'm facing the same problem which is described in
> the
> mail below. Whenever, I give the data length for
> SPI
> as 16 bits, I find that the data comes in the
> SPISIMO
> pin. However, when I change the data length in the
> SPICCR register as 8 bits, I do not see any data in
> the SPISIMO line. However, In both cases, the SPI
> clock is active.
>
> If any of you have experienced this issue and
> solved
> it, please let me know.
>
> Thanks,
> Vishal
>
> --- m...@yahoo.co.in wrote:
>
> > Hi EVERYBODY
> >
> > I am using TMS320F2812 Controller.In that i have
> to
> > receive 8 bit data from one microcontroller.I
> > configured SPICCR as 8 bit Character length,in
> scope
> > i am getting all higher 8 bits are zeros and
> lower 8
> > bits are my orginal data,,how can i get only 8
> bit
> > data without higher bits.
> > What is the use FIFO on that
> > Thankssssss
> >
> >
>
>

The 2024 Embedded Online Conference