Atmel website | ARM Community | AVR freaks | Technical Support
Banner
 FAQ •  Search •  Register •  Login 

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: 9260's EMAC cannot raise interrupt
PostPosted: Tue Apr 12, 2011 4:51 pm 
Offline

Joined: Tue Apr 12, 2011 4:26 pm
Posts: 6
Hi all:

I am working on 9260 with vxworks.
When I operating EMAC interface, I follow 9200's project.
1. alloc memory for TX and RX
2. enable PMC_PCER for EMAC
3. set EMDC clock to EMAC_NCFG_CLK_HCLK_32, then visit PHY fetch chip ID
4. set PIO for MII
5. reset PHY via NRST, then wait for PHY link up, and set EMAC_NCFG with correct FD &

speed.
6. initialize tx&rx buffer and discripetor
7. set MAC address
8. start EMAC:enable TE&RE, set IER, connect ISR

the PHY works fine when PC ping board, the rxck and rxd signal is good. but no any RCOMP or

else interrupt occur.

when board pings PC, the EmacSend function copy data into fifo, and set unused flag, and

set TSTART, no any interrupt occurs also.

I don't know why? If I miss something?

One intresting thing, when I send data, if I


Top
 Profile  
 
 Post subject: Re: 9260's EMAC cannot raise interrupt
PostPosted: Wed Apr 13, 2011 5:28 pm 
Offline

Joined: Tue Apr 12, 2011 4:26 pm
Posts: 6
today I reset PHY after pull down PIO, the status changes.
the TXUBR bit in TSR disappears, the the TGO always in TSR.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 22 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: