-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
STM32: Ethernet: Workaround for STM32_F767 revA #5411
Conversation
I assume if I got board with this revision, this workaround will work for me (for any board from this line) ? |
{ | ||
while(1) { | ||
/* some good packets are received */ | ||
if(EthHandle.Instance->MMCRGUFCR > 0) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
space if ()
between if and starting (
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed now
On STM32 F767 rev A devices ,Ethernet peripheral had problems on RMII interface, on MII this was not the case. This commits implements a tentative workaround for the issue rerfered to as Ethernet erroneous data received in RMII configuration in the Errata sheet below: http://www.st.com/content/ccc/resource/technical/document/errata_sheet/group0/23/a6/11/0b/30/24/46/a5/DM00257543/files/DM00257543.pdf/jcr:content/translations/en.DM00257543.pdf Note that the issue has been fixed in 'Z' revision. of STM32 F767 MCUs.
Yes, the case where reset is needed will never be hit with rev Z. |
/morph build |
Build : SUCCESSBuild number : 414 Triggering tests/morph test |
@@ -46,6 +46,9 @@ static sys_mutex_t tx_lock_mutex; | |||
/* function */ | |||
static void _eth_arch_rx_task(void *arg); | |||
static void _eth_arch_phy_task(void *arg); | |||
#if defined (TARGET_NUCLEO_F767ZI) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As indicated in the Errata sheet, the RMII issue concerns all STM32F76xxx and TM32F77xxx,
So maybe we should increase this define test ?
Test : SUCCESSBuild number : 204 |
Description
This is a proposed fix to #5294
On STM32 F767 rev A devices ,Ethernet peripheral had problems on RMII
interface, on MII this was not the case.
This commits implements a tentative workaround for the issue rerfered to
as Ethernet erroneous data received in RMII configuration in the Errata
sheet below:
http://www.st.com/content/ccc/resource/technical/document/errata_sheet/group0/23/a6/11/0b/30/24/46/a5/DM00257543/files/DM00257543.pdf/jcr:content/translations/en.DM00257543.pdf
Note that the issue has been fixed in 'Z' revision. of STM32 F767 MCUs.
Status
READY
Todos