Mike Causer

Results 113 comments of Mike Causer

It's a F407 based board, so it has Ethernet MAC unlike the F405 on the original pyboard. Haven't implemented it yet though. If any of the other F407 boards have...

I found these boards defining HW Ethernet via RMII: https://github.com/micropython/micropython/blob/master/ports/stm32/boards/NUCLEO_F429ZI/mpconfigboard.h https://github.com/micropython/micropython/blob/master/ports/stm32/boards/NUCLEO_F767ZI/mpconfigboard.h https://github.com/micropython/micropython/blob/master/ports/stm32/boards/STM32F7DISC/mpconfigboard.h https://github.com/micropython/micropython/blob/master/ports/stm32/boards/STM32F769DISC/mpconfigboard.h

http://www.efton.sk/STM32/STM32F4xx%20misc.pdf These are the F407 Eth pins: ``` PA0 ETH_MII_CRS PA1 ETH_MII_RX_CLK, ETH_RMII_REF_CLK PA2 ETH_MDIO PA3 ETH_MII_COL PA7 ETH_MII_RX_DV, ETH_RMII_CRS_DV PB0 ETH_MII_RXD2 PB1 ETH_MII_RXD3 PB5 ETH_PPS_OUT PB8 ETH_MII_TXD3 PB10 ETH_MII_RX_ER...

Try adding this to the bottom of `mpconfigboard.h` and building. ``` // Ethernet via RMII #define MICROPY_HW_ETH_MDC (pin_C1) #define MICROPY_HW_ETH_MDIO (pin_A2) #define MICROPY_HW_ETH_RMII_REF_CLK (pin_A1) #define MICROPY_HW_ETH_RMII_CRS_DV (pin_A7) #define MICROPY_HW_ETH_RMII_RXD0 (pin_C4)...

``` # MicroPython settings MICROPY_PY_LWIP = 1 ``` In mpconfigboard.mk? As per: https://github.com/micropython/micropython/blob/master/ports/stm32/boards/NUCLEO_F429ZI/mpconfigboard.mk

My bad. This is the VET6 board, not the ZET6 or ZGT6. There's no G pins on this board. Use the B pins instead. Try replacing this: ``` #define MICROPY_HW_ETH_RMII_TX_EN...

Fixed typo in stm32f405_af.csv https://github.com/micropython/micropython/pull/5308

I found an image on here which explains there is a Classic and Upgrade version, with different pinouts: https://item.taobao.com/item.htm?spm=2013.1.0.0.29a630f48JXy6c&id=41304134448

![tft-differences](https://user-images.githubusercontent.com/1038959/75239252-7ee9d580-5816-11ea-91c9-33e067faf17b.jpg) Used Google Translate for the rough translations

My 3x boards are: STM32_F4VE V2.0 1509 - STM32F407VET6 STM32_F4XX V3.0 1606 - STM32F407ZET6 STM32_F4XX V3.0 1606 - STM32F407ZGT6 (same board as ZET6, different cpu) Looking at the schematics pdfs...