Author Topic: How does STM32F429ZI MAC controller know when collision occurs?  (Read 747 times)

0 Members and 1 Guest are viewing this topic.

Offline syntax333Topic starter

  • Regular Contributor
  • *
  • Posts: 158
  • Country: 00
Hi I am currently working on a project where I have to implement TCP/IP stack on STM32F429ZI 144 pin nucleo board.
Board has PHY chip.My question is how does the MAC controller knows when a jabber or collision event occurs since these events are handled by PHY chip.
PHY chip shown in schematic for nucleo board, has no connections other than RMII (like error interrupt pin?) to STM32 MCU.
 

Offline Scrts

  • Frequent Contributor
  • **
  • Posts: 800
  • Country: lt
Re: How does STM32F429ZI MAC controller know when collision occurs?
« Reply #1 on: June 15, 2022, 03:58:50 pm »
It depends on errors, but either CRS_DV (Data Valid) will not be raised within incoming RXD or RX_ERR will be raised.
 

Offline syntax333Topic starter

  • Regular Contributor
  • *
  • Posts: 158
  • Country: 00
Re: How does STM32F429ZI MAC controller know when collision occurs?
« Reply #2 on: June 15, 2022, 07:41:36 pm »
I thought maybe MAC controller reads status register after each transmission but without knowing status register offset and corresponding bits for error its highly unlikely
 

Offline Doc Daneeka

  • Contributor
  • Posts: 36
  • Country: it
Re: How does STM32F429ZI MAC controller know when collision occurs?
« Reply #3 on: June 16, 2022, 07:23:32 am »
If it's a regular 100 Mbit twisted pair PHY, there is no collision signal because there are no collisions: this type of Ethernet is point to point full duplex.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf