Quantcast
Channel: Embedded Software (Read Only)
Viewing all articles
Browse latest Browse all 25965

Forum Post: RE: SPI interface for FRAM in TMS320DM365

$
0
0

Hi,

[quote]

How about internal loopback test mentioned in this document (http://www.ti.com/lit/ug/sprufh1b/sprufh1b.pdf ) in section 2.10?

[/quote]

This is internal loop back test and not h/w loop back,

You have to configure the SPI as a master then enable loop back mode through "LOOPBACK" bit of SPIGCR1 reg.

To achieve this, You may have to write a driver. (Refer : drivers/spi/spi-davinci.c)

The below link one is for external h/w loopback.

http://communistcode.co.uk/blog/blogPost.php?blogPostID=1

drivers/spi/spidev.c

This is the h/w loopback test with all platform changes but the above internal loopback wont look into the platform

code changes.

Do you have any TI's DM3xx EVM with you?

[quote]

Also can you give some inputs for enabling the FRAM support in linux?

[/quote]

I have searched in internet and not finding any linux driver support,

Try to enable in u-boot & try to access the memory to confirm that h/w works perfect.

Just contact your FRAM supplier to know the avail linux support,


Viewing all articles
Browse latest Browse all 25965

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>