Akshai M (Augustus Diode)
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
      • Invitee
    • Publish Note

      Publish Note

      Everyone on the web can find and read all notes of this public team.
      Once published, notes can be searched and viewed by anyone online.
      See published notes
      Please check the box to agree to the Community Guidelines.
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Engagement control
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Versions and GitHub Sync Engagement control Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
Invitee
Publish Note

Publish Note

Everyone on the web can find and read all notes of this public team.
Once published, notes can be searched and viewed by anyone online.
See published notes
Please check the box to agree to the Community Guidelines.
Engagement control
Commenting
Permission
Disabled Forbidden Owners Signed-in users Everyone
Enable
Permission
  • Forbidden
  • Owners
  • Signed-in users
  • Everyone
Suggest edit
Permission
Disabled Forbidden Owners Signed-in users Everyone
Enable
Permission
  • Forbidden
  • Owners
  • Signed-in users
Emoji Reply
Enable
Import from Dropbox Google Drive Gist Clipboard
   owned this note    owned this note      
Published Linked with GitHub
Subscribed
  • Any changes
    Be notified of any changes
  • Mention me
    Be notified of mention me
  • Unsubscribe
Subscribe
# Board Porting ### Board : SLSTK3400A ![](https://i.imgur.com/J0N3KZX.jpg) * EFM32HG322F64 with 64 kB Flash and 8 kB RAM * Integrated SEGGER J-Link USB debugger/emulator * 128 x 128 Pixel Memory LCD * 20 pin expansion header * 2 user buttons, 2 user LEDs and 2 touch buttons * Silicon Labs Si7021 Relative Humidity/Temperature sensor * USB device interface ### Quick References * [Schematic](https://www.silabs.com/documents/public/schematic-files/efm32hg-stk3400-schematics.pdf) * [Board User Manual](https://www.silabs.com/documents/public/user-guides/ug255-stk3400-user-guide.pdf) * [Chipset Datasheet](https://www.silabs.com/documents/public/data-sheets/efm32hg-datasheet.pdf) * [Chipset Reference Manual](https://www.silabs.com/documents/public/reference-manuals/efm32hg-rm.pdf) ### Chipset : [EFM32HG322F64](https://www.silabs.com/documents/public/data-sheets/efm32hg-datasheet.pdf) * 32-bit ARM Cortex-M0+ CPU (upto 25MHz) * 64 kB Flash * 8 kB RAM * Up to 37 General Purpose I/O pins * 6 Channel DMA Controller * 6 Channel Peripheral Reflex System (PRS) for autonomous inter-peripheral signaling * Hardware AES with 128-bit keys in 54 cycles * Timers/Counters * 3× 16-bit Timer/Counter * 3×3 Compare/Capture/PWM channels * Dead-Time Insertion on TIMER0 * 1× 24-bit Real-Time Counter * 1× 16-bit Pulse Counter * Watchdog Timer with dedicated RC oscillator @ 50 nA * Communication interfaces * Up to 2× Universal Synchronous/Asynchronous Receiver/Transmitter * UART/SPI/SmartCard (ISO 7816)/IrDA/I2S * Triple buffered full/half-duplex operation * 1x Low Energy UART * Autonomous operation with DMA in Deep Sleep Mode * 1x I2C Interface with SMBus support * Address recognition in Stop Mode * 1x Low Energy Universal Serial Bus (USB) Device• * Fully USB 2.0 compliant * On-chip PHY and embedded 5V to 3.3V regulator * Crystal-free operation * Ultra low power precision analog peripherals * 12-bit 1 Msamples/s Analog-to-Digital Converter * 4 single-ended channels/2 differential channels * On-chip temperature sensor [ADC Channel 0] * Current Digital-to-Analog Converter * Selectable current range between 0.05 and 64 μA * 1× Analog Comparator * Capacitive sensing with up to 5 inputs * Supply Voltage Comparator * Ultra efficient Power-on Reset and Brown-Out Detect * Debug Interface * 2-pin Serial Wire Debug interface * Micro Trace Buffer (MTB) * Pre-Programmed USB/UART Bootloader * Single power supply 1.98 to 3.8 V --- ## Available implementations for reference CPU - Cortex M0+ - [SAMD21](http://ww1.microchip.com/downloads/en/DeviceDoc/SAM_D21_DA1_Family_DataSheet_DS40001882F.pdf) Peripherals - [EFM32LG Family](https://www.silabs.com/documents/public/data-sheets/efm32lg-datasheet.pdf) / [EFM32GG Family ](https://www.silabs.com/documents/public/data-sheets/efm32gg-datasheet.pdf) --- ## Porting Guide 1. Identify a similar board, in my case I opted for STK3700. 2. **Porting CPU** : Check if CPU support is available. If not then CPU might need to be ported, the procedure may be as follows * Identify a similar MCU (EFM32GG in my case as its a part of [Series 0 MCU](https://www.silabs.com/documents/public/application-notes/an0002.0-efm32-ezr32-series-0-hardware-design-considerations.pdf)) * Copy the folder structure of `cpu/efm32/families/efm32gg` and create `cpu/efm32/families/efm32hg` * Copy the `vendor/includes` from vendor's source. The source can be found in the local files installed during the setup of Simplicity studio for EFM32 series. * Modify the `vectors.c` as per datasheet. Ref Table 4.1. Interrupt Request Lines (IRQ) in [Reference Manual](https://www.silabs.com/documents/public/reference-manuals/efm32hg-rm.pdf) * `efm32-info.mk `needs to be modified based on the memory map. * Modify rest of the files as required. * Alternatively, the above procedures could be done using [EFM32 Generator](https://github.com/basilfx/EFM2Riot) * Exposure to Kconfig can be done later. If required, follow Kconfig implementation from a similar CPU. 3. **Porting Board** Copy the folder structure of STK3700 4. Modify `doc.txt` as per datasheet and other files as required. Summary of peripherals can be found in product overview section in Reference manual. 5. Modify `board.h ` as per [board User manual](https://www.silabs.com/documents/public/user-guides/ug255-stk3400-user-guide.pdf). 6. Modify `periph_conf.h` with reference to peripherals listed in board manual . * For LOCx values, refer 5.9.2 Alternate Functionality Pinout of EFM32HG322 in [datasheet](https://www.silabs.com/documents/public/data-sheets/efm32hg-datasheet.pdf) * In the case of UART, make sure that the first reference is made to the USART used for the Virual Com Port. ## ACK Thanks to Bas Stottelaar, Leandro Lanzieri and Kevin Weiss for the support.

Import from clipboard

Paste your webpage below. It will be converted to Markdown.

Advanced permission required

Your current role can only read. Ask the system administrator to acquire write and comment permission.

This team is disabled

Sorry, this team is disabled. You can't edit this note.

This note is locked

Sorry, only owner can edit this note.

Reach the limit

Sorry, you've reached the max length this note can be.
Please reduce the content or divide it to more notes, thank you!

Import from Gist

Import from Snippet

or

Export to Snippet

Are you sure?

Do you really want to delete this note?
All users will lose their connection.

Create a note from template

Create a note from template

Oops...
This template is not available.
Upgrade
All
  • All
  • Team
No template found.

Create custom template

Upgrade

Delete template

Do you really want to delete this template?
Turn this template into a regular note and keep its content, versions, and comments.

This page need refresh

You have an incompatible client version.
Refresh to update.
New version available!
See releases notes here
Refresh to enjoy new features.
Your user state has changed.
Refresh to load new user state.

Sign in

Forgot password

or

By clicking below, you agree to our terms of service.

Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
Wallet ( )
Connect another wallet

New to HackMD? Sign up

Help

  • English
  • 中文
  • Français
  • Deutsch
  • 日本語
  • Español
  • Català
  • Ελληνικά
  • Português
  • italiano
  • Türkçe
  • Русский
  • Nederlands
  • hrvatski jezik
  • język polski
  • Українська
  • हिन्दी
  • svenska
  • Esperanto
  • dansk

Documents

Help & Tutorial

How to use Book mode

How to use Slide mode

API Docs

Edit in VSCode

Install browser extension

Get in Touch

Feedback

Discord

Send us email

Resources

Releases

Pricing

Blog

Policy

Terms

Privacy

Cheatsheet

Syntax Example Reference
# Header Header 基本排版
- Unordered List
  • Unordered List
1. Ordered List
  1. Ordered List
- [ ] Todo List
  • Todo List
> Blockquote
Blockquote
**Bold font** Bold font
*Italics font* Italics font
~~Strikethrough~~ Strikethrough
19^th^ 19th
H~2~O H2O
++Inserted text++ Inserted text
==Marked text== Marked text
[link text](https:// "title") Link
![image alt](https:// "title") Image
`Code` Code 在筆記中貼入程式碼
```javascript
var i = 0;
```
var i = 0;
:smile: :smile: Emoji list
{%youtube youtube_id %} Externals
$L^aT_eX$ LaTeX
:::info
This is a alert area.
:::

This is a alert area.

Versions and GitHub Sync
Get Full History Access

  • Edit version name
  • Delete

revision author avatar     named on  

More Less

No updates to save
Compare
    Choose a version
    No search result
    Version not found
Sign in to link this note to GitHub
Learn more
This note is not linked with GitHub
 

Feedback

Submission failed, please try again

Thanks for your support.

On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

Please give us some advice and help us improve HackMD.

 

Thanks for your feedback

Remove version name

Do you want to remove this version name and description?

Transfer ownership

Transfer to
    Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

      Link with GitHub

      Please authorize HackMD on GitHub
      • Please sign in to GitHub and install the HackMD app on your GitHub repo.
      • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
      Learn more  Sign in to GitHub

      Push the note to GitHub Push to GitHub Pull a file from GitHub

        Authorize again
       

      Choose which file to push to

      Select repo
      Refresh Authorize more repos
      Select branch
      Select file
      Select branch
      Choose version(s) to push
      • Save a new version and push
      • Choose from existing versions
      Include title and tags
      Available push count

      Pull from GitHub

       
      File from GitHub
      File from HackMD

      GitHub Link Settings

      File linked

      Linked by
      File path
      Last synced branch
      Available push count

      Danger Zone

      Unlink
      You will no longer receive notification when GitHub file changes after unlink.

      Syncing

      Push failed

      Push successfully