[riot-notifications] [RIOT-OS/RIOT] boards/e180-zg120b-tb: add support (#15487)

benpicco notifications at github.com
Sun Nov 22 23:25:05 CET 2020


@benpicco commented on this pull request.

Thank you, works like a charm!
I can now confirm that it's the shoddy socket of my debug adapter that makes flashing those boards a pain (had similar issues as with the nRF52 boards from ebyte), but once I managed to flash it (wiggling the cables in the socket helped) I could flash riotboot with #15493 and flashing via riotboot works well too.

I hope we can use this to push forward the radio driver.

> @@ -0,0 +1,13 @@
+# set default port depending on operating system
+PORT_LINUX ?= /dev/ttyACM0

for me this is 
```suggestion
PORT_LINUX ?= /dev/ttyUSB0
```

> +The starter kit is equipped with an Advanced Energy Monitor. This allows you to
+actively measure the power consumption of your hardware and code, in real-time.

I wouldn't have expected that from this cheap board

> +Ebyte E180-ZG120B Test Board is equipped with the EFM32 microcontroller.
+It is specifically designed for low-power applications, having energy-saving
+peripherals, different energy modes and short wake-up times.
+
+The starter kit is equipped with an Advanced Energy Monitor. This allows you to
+actively measure the power consumption of your hardware and code, in real-time.
+
+## Hardware
+
+### MCU
+| MCU           | EFR32MG1B232F256GM32                                                                    |
+|---------------|-----------------------------------------------------------------------------------------|
+| Family        | ARM Cortex-M4F                                                                          |
+| Vendor        | Ebyte                                                                                   |
+| Vendor Family | EFM32 Mighty Gecko 1B                                                                   |
+| RAM           | 31.0 KiB                                                                                |

that's an odd number - not 32 k?

> +| Peripheral | Number  | Hardware        | Pins                        | Comments                                            |
+|------------|---------|-----------------|-----------------------------|-----------------------------------------------------|
+| ADC        | 0       | ADC0            | CHAN0: internal temperature | Ports are fixed, 14/16-bit resolution not supported |
+| HWCRYPTO   | — | —         |                             | AES128/AES256, SHA1, SHA256                         |
+| RTT        | — | RTCC            |                             | 1 Hz interval. Either RTT or RTC (see below)        |
+| RTC        | — | RTCC            |                             | 1 Hz interval. Either RTC or RTT (see below)        |
+| Timer      | 0       | TIMER0 + TIMER1 |                             | TIMER0 is used as prescaler (must be adjecent)      |
+|            | 1       | LETIMER0        |                             |                                                     |
+| UART       | 0       | USART0          | RX: PA1, TX: PA0            | Default STDIO output                                |
+
+### User interface
+| Peripheral | Mapped to | Pin  | Comments        |
+|------------|-----------|------|-----------------|
+| Button     | PB0_PIN   | PD15 | Mode Change     |
+|            | PB1_PIN   | PD13 | Touch Link      |
+|            | PB2_PIN   | PB11 | Baud Rate Reset |

So the fourth button (with the Chinese characters) is not connected at all? 

> +# directory for more details.
+
+config BOARD
+    default "e180-zg120b-tb" if BOARD_E180_ZG120B_TB
+
+config BOARD_E180-ZG120B-TB
+    bool
+    default y
+    select BOARD_COMMON_SILABS
+    select CPU_MODEL_EFR32MG1B232F256GM32
+    select HAS_PERIPH_ADC
+    select HAS_PERIPH_RTC
+    select HAS_PERIPH_RTT
+    select HAS_PERIPH_TIMER
+    select HAS_PERIPH_UART
+    select HAS_PERIPH_UART_MODECFG

`HAS_PERIPH_UART_MODECFG` should be a CPU feature 

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/15487#pullrequestreview-536121231
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20201122/ff10fd12/attachment-0001.htm>


More information about the notifications mailing list