Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

CCS/TMS570LC4357: Can you help me to solve 3 questions?

$
0
0

Part Number:TMS570LC4357

Tool/software: Code Composer Studio

During last few days,I have met 3 questions below:

1.can you help me to check the schematics?(Please visit the site to view this file)

2.when I want to use the Ethernet module, I found that if I write valueto registers,I will read different value.For example:

MDIO_USERACCESS0 =
( 1 << 31 ) /*[31] Go*/
| ( 0 << 30 ) /*[30] Read*/
| ( 0 << 29 ) /*[29] Ack*/
| ( (RegAddr & 0x1F) << 21 ) /*[25-21] PHY register address*/
| ( (PhyAddr & 0x1F) << 16 ) /*[20-16] PHY address*/
| ( 0 << 0 ); /*[15-0] Data*/

(#define MDIO_BASE               (0xFCF78900UL)

#define MDIO_USERACCESS0        *( volatile uint32_t* )( MDIO_BASE + 0x80UL ))

After writing to MDIO_USERACCESS0 ,I will read 0x0221FFFF or something like that,but obviously I didn't write  0x0221FFFF.

3.I can't read theregisters.

#define ECTRL_BASE              (0xFCF78800UL)

#define ECTRL_SOFTRESET *( uint32_t* )( ECTRL_BASE + 0x04UL )

I can't find the register ECTRL_SOFTRESET or read the value of it.


Viewing all articles
Browse latest Browse all 262198

Trending Articles



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