3.4.1 SAM4CMS16C

The PL360MB is equipped with a SAM4CMS16C device.

The SAM4CM series represents a family of system-on-chip solutions for residential and polyphase metering applications. The devices offer up to class 0.2 metrology accuracy over a dynamic range of 3000:1 within the industrial temperature range and are compliant with ANSI C12.20-2002 and IEC62053-22 standards.

The SAM4CM family offers an unprecedented level of integration and flexibility with dual 32-bit ARM Cortex-M4 RISC processors running at a maximum speed of 120 MHz each, up to 2 Mbytes of embedded Flash, 304 Kbytes of SRAM and on-chip cache.

The peripheral set includes metrology-specific precision voltage reference, up to seven (7) simultaneously sampled Sigma-Delta ADC subsystems supporting three (3) voltage and four (4) current measurement channels (polyphase versions only), an extensive set of embedded cryptographic features, anti-tamper, Floating Point Unit (FPU), four USARTs, two UARTs, two TWIs, four SPIs, three 16-bit PWMs, two 3-channel general-purpose 16-bit timers, 6-channel 10-bit ADC, battery-backed RTC with <1 μA consumption and a 38 x 6 segmented LCD controller.

Figure 3-5. SAM4CMS Microcontroller

Table 3-17, Table 3-18 and Table 3-19 summarize the functionality of each input/output line of the SAM4CMS16C microcontroller in PL360MB board.

Table 3-17. Pinout of SAM4CMS16C PortA in PL360MB Board
I/O LINEFunctionI/O LINEFunction
PA0-PA16User LED1
PA1-PA17LCD RST
PA2-PA18Relay Control
PA3-PA19Relay Control
PA4-PA20-
PA5PL360 NPCS0PA21-
PA6PL360 MISOPA22-
PA7PL360 MOSIPA23-
PA8PL360 SPCKPA24EEPROM TWD0
PA9PL360 GPIO1PA25EEPROM TWCK0
PA10PL360 GPIO0PA26Relay Control
PA11-PA27-
PA12-PA28-
PA13-PA30XOUT
PA14Power FaultPA31XIN/CLKIN
PA15User LED0--
Table 3-18. Pinout of SAM4CMS16C PortB in PL360MB Board
I/O LINEFunctionI/O LINEFunction
PB0TDIPB11PL360 GPIO2
PB1TDOPB12PL360 GPIO3
PB2TMSPB13VDD Supply Monitor
PB3TCKPB14PL360 LDO_EN
PB4UART0 RXPB15PL360 NRST
PB5UART0 TXPB16-
PB6-PB17-
PB7-PB18-
PB8-PB19-
PB9-PB21-
PB10VZC--
Table 3-19. Pinout of SAM4CMS16C PortC in PL360MB Board
I/O LINEFunctionI/O LINEFunction
PC0UART1 TXPC7PWM Energy Indication
PC1UART1 RXPC9ERASE
PC6PWM Energy Indication--