Ethernet Tx on Interrupt

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Ethernet Tx on Interrupt

955 Views
jiboy
Contributor I

I have few questions on the Ethernet demo or Nt_demo project.

Currently i understand that the Tx part of the Ethernet demo is on polling inside a While(1) loop.

Can this be done on a SWI basis?

Also, which memory location should i write the data to, if I have to transfer data out on the Ethernet port?

Please advice as this is high priority for our project.

Additionally, I am using MSC8156 with SmartDSP OS support on ADS board.

Thanks,

jiboy

Labels (1)
Tags (2)
0 Kudos
1 Reply

443 Views
AndrewinApps
Contributor IV

Hello Jiboy,

 

We have a # of ethernet demos, which one are you referring to?

The way the ethernet transmitter works is, it checks to see if there is a free Transmit buffer descriptor (while 1), and once a buffer descriptor is free, it writes to the buffer and then moves on. 

 

As long as you have an adequate # of buffer descriptors, adequate FIFO size for Ethernet, and your transmit rate is not over the maximum (described in the MSC8156 Ethernet Performance Application note available on our website), then the while loop will not actually be needed.

I would suggest referring to both the MSC8144 and MSC8156 Ethernet applicaiton notes. The SDOS structure and the QUICC Engine ethernet structure are the same for Ethernet between these 2 parts.

 

Regards,

-Andrew

0 Kudos