Part Number:TMS570LC4357
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 0x0021FFFF or something like that,but obviously I didn't write 0x0021FFFF.
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.
4.I can't connet to DP83640
IsNormal = (MDIO_LINK & 2U) ? TRUE : FALSE;
(
#define MDIO_LINK *( volatile uint32_t* )( MDIO_BASE + 0x0CUL )
#define MDIO_BASE (0xFCF78900UL)
)
MDIO_LINK is always 0;