---
# System prepended metadata

title: Metering training
tags: [Documentation, Templates]

---

---
title: 'Metering training'
disqus: Microchip HsinChu
---

Project Title
===
![downloads](https://img.shields.io/github/downloads/atom/atom/total.svg)
![build](https://img.shields.io/appveyor/ci/:user/:repo.svg)
![chat](https://img.shields.io/discord/:serverId.svg)

## Table of Contents

Questions -> Feedback?
How to win?
CT type/Spec./ratiol/ i* resistor ?
I to V ( i * currnet resistor ) 必須 < ADC Vmax
resolution ?



PIC32CXMTS sample release
EVK 2022/09
eTQFP128
Residential Single/Dual Phase

* QSPI/SPI NOR with Crypto
* 8Com x 32Segs SLCD
* Pulse Outputs 2 or 3
* general 12Bit ADC & Analog Comp
* 200MHz Dual Core and Single core Cortex-M4F+MPU
* 2MB Dual Bank/Dual Boot Flash
* 560KB Multi Port SRAM
* Quad IO SPI  with Encrypted XIP
* 5xDetalSigmaADC for temp calibaration
* ECC/ECDSA, SHA512, AES256(GCM,...), TRNG, Secure key storage, Secure boot
* 4K~ 16K sample rate
* 
宿舍電表 ATM90E26 最適合
EFT 測試 passed
IAR V8.40 or later
Using IAR need to Patch.
"SEF" 


Calibration
1. 手動
   透過 Hyper-terminal 下command
   再將回傳的資料貼到 Excel 
   由 Excel 計算，
   再將計算結果貼回 Hyper-Terminal 下 comnand回存
2. 使用既定的 UART command to calibration:
    CNF(MC=3200, ST=0, F=50.00,G=1,TR=1000,RL=3.24,KU=1651)
    CAL A (Ua=220, IA=5, AA= 0)
    CAL B (Ub=220, IB=5, AA= 0)
    CAL C (Uc=220, IC=5, AA= 0)
    
3. call calibration function to do

## Beginners Guide

If you are a total beginner to this, start here!

1. Visit hackmd.io
2. Click "Sign in"
3. Choose a way to sign in
4. Start writing note!

User story
---

```gherkin=
Feature: Guess the word

  # The first example has two steps
  Scenario: Maker starts a game
    When the Maker starts a game
    Then the Maker waits for a Breaker to join

  # The second example has three steps
  Scenario: Breaker joins a game
    Given the Maker has started a game with the word "silky"
    When the Breaker joins the Maker's game
    Then the Breaker must guess a word with 5 characters
```
> I choose a lazy person to do a hard job. Because a lazy person will find an easy way to do it. [name=Bill Gates]


```gherkin=
Feature: Shopping Cart
  As a Shopper
  I want to put items in my shopping cart
  Because I want to manage items before I check out

  Scenario: User adds item to cart
    Given I'm a logged-in User
    When I go to the Item page
    And I click "Add item to cart"
    Then the quantity of items in my cart should go up
    And my subtotal should increment
    And the warehouse inventory should decrement
```

> Read more about Gherkin here: https://docs.cucumber.io/gherkin/reference/

User flows
---
```sequence
Alice->Bob: Hello Bob, how are you?
Note right of Bob: Bob thinks
Bob-->Alice: I am good thanks!
Note left of Alice: Alice responds
Alice->Bob: Where have you been?
```

> Read more about sequence-diagrams here: http://bramp.github.io/js-sequence-diagrams/

Project Timeline
---
```mermaid
gantt
    title A Gantt Diagram

    section Section
    A task           :a1, 2014-01-01, 30d
    Another task     :after a1  , 20d
    section Another
    Task in sec      :2014-01-12  , 12d
    anther task      : 24d
```

> Read more about mermaid here: http://mermaid-js.github.io/mermaid/

## Appendix and FAQ

:::info
**Find this document incomplete?** Leave a comment!
:::

###### tags: `Templates` `Documentation`
