Microchip Technology Incorporated · NASDAQ:MCHP
Microchip Technology — Technical Presentation (April 2020)
25 slides from Microchip Technology's technical presentation, Apr 9, 2020
Slide 1: Second Thursdays
Second Thursdays April 9 - Webinar 12: Simple Peripheral as Software Stimulus May 14 - Webinar 13: Two Bare-Metal Applications on PolarFire® SoC June 11 - Webinar 14: The PolarFire SoC Icicle Kit Model in Renode July 9 - Webinar 15: Linux® on Renode Aug. 13 - Webinar 16: Building Applications for Li
Slide 2: Getting Started with the RISC-V Based PolarFire SoC FPGA Webinar Series Session 12
Getting Started with the RISC-V Based PolarFire® SoC FPGA Webinar Series Session 12 Simple Peripheral as Software Stimulus A Leading Provider of Smart, Connected and Secure Embedded Control Solutions Hugh Breslin, Design Engineer Thursday Apr. 9, 2020
Slide 3: Supporting Content
Supporting Content www.microsemi.com/Mi-V “Renode Webinar Series” Webinar 1: Discover Renode for PolarFire® SoC Design and Debug Webinar 2: How to Get Started with Renode for PolarFire SoC Webinar 3: Learn to Debug a Bare-Metal PolarFire SoC Application with Renode Webinar 4: Tips and Tricks for Eve
Slide 4: Agenda
Agenda • Antmicro Tensor Flow Demo • Demo • PAC1934 on the Icicle Kit • Interfacing the Model with sysbus via I2C • Using the I2C Drivers • Reading Back Values • Monitoring Voltage and Current 4
Slide 5: Antmicro Tensor Flow Demo
Antmicro Tensor Flow Demo & MicrocHIP
Slide 6: Antmicro LiteX/VexRiscv TensorFlow Lite demo on GitHub
GitHub - antmicroflitex-vexriscv-tensorflow-lite-demo: TF Lite demo on LiteXx/VexRiscv soft RISC-V SoC on a Digilent Arty board - Mozilla -3x © GitHub - antmicrojlitex. x @Q Antmicro - Tensorflow Li x | + € e@ OD & hitps:/igithub.com: ensorflow-lite-deme Ow noe ise Explore Marketplace Pricing Sign i
Slide 7: Demo
Demo PAC1934 on the Icicle Kit Interfacing the Model with sysbus via I2C Using the I2C Drivers Reading Back Values Monitoring Voltage and Current 7
Slide 8: PAC1934 on the Icicle Kit
PAC1934 on the Icicle Kit Current Measurement 1 — 3P3v ROUTE THESE AS SENSE LINES FOR CURRENT MEASUREMENT R299) R300) R301] R302] USS IVDD_REG vod | 3p3v 24 vob ] 7K) 7K) 47K) 4.7K/19%) 3P3 sensers {21 508_| | 10uF/10v SENSE1- 12 i 4 VpDa2s | (13) LMEas_scL SM_CLK 2psv T (13) Lueas_sva 54 sM_DATA b
Slide 9: PAC1934 on the Icicle Kit
PAC1934 on the Icicle Kit • 4 sense connections: • VDD • VDDA • VDD25 • VDDA25 • Connected to I2C0 • PF SoC needs to configure I2C0 as a master and read registers from the PAC1934 as an I2C slave 9
Slide 10: PAC1934 on the Icicle Kit
PAC1934 on the Icicle Kit (machine-@) i & MicrocHIP
Slide 11: PAC1934 on the Icicle Kit
11 PAC1934 on the Icicle Kit PolarFire-SoC-Icicle-Renode-emulation-platform [Program] /usr/bin/mono [INFO] Loaded monitor commands from: /home/miv/Microsemi_SoftConsole_v6.2/renode/./scripts/monitor.py [INFO] Including script: /home/miv/Microsemi_SoftConsole_v6.2/renode-microchip-mods/scripts/polarf
Slide 12: PAC1934 on the Icicle Kit
PAC1934 on the Icicle Kit • VBUSn is the voltage on Sensen • VBUSn_AVG is the average of the last 8 readings • VBUSn _AVG_array is an array of the last 8 results • Update_VBus updates the VBUSn values and the average arrays 12
Slide 13: Interfacing the model with sysbus using I2C
Interfacing the model with sysbus using I2C • The PAC1934 model will be connected to the I2C0 peripheral which is connected to sysbus • Create a “models” folder in the [SC_install]/renode-microchip- mods/ directory • Include the model in the platform .resc file include @models/PAC1934.cs machine Loa
Slide 14: Interfacing the model with sysbus using I2C
Interfacing the model with sysbus using I2C • PAC1934 is now connected to i2c0 at address 0 14
Slide 15: Using the I2C Drivers
Using the I2C Drivers • The I2C driver examples can be found in the PolarFire SoC Bare Metal Library • From the data sheet a write with no data will set the register pointer in the PAC1934 • Using the I2C write read function the register pointer can be set and the register read 15
Slide 16: Reading Back Values
Reading Back Values • Values are read back as bytes and some registers are different sizes 16
Slide 17: Monitoring Voltage and Current
Monitoring Voltage and Current • Write to the “Refresh” register to cause an update • Read back the value in each register 17
Slide 18: Monitoring Voltage and Current
Monitoring Voltage and Current • Print the arrays to a UART monitor • Raise interrupts for the U54s to deal with high / low values 18
Slide 19: Monitoring Voltage and Current
Monitoring Voltage and Current 19
Slide 20: Monitoring Voltage and Current
Monitoring Voltage and Current 20
Slide 21: Monitoring Voltage and Current
Monitoring Voltage and Current • E51 monitors the PAC1934 • E51 prints system messages (e.g irq to hart or I2C event) to mmuart 0 • E51 prints readings to mmuart1 • U54_x handles voltage / current event 21
Slide 22: Demo
22 Demo & MicrocHIP
Slide 23: Agenda
Agenda • Antmicro Tensor Flow Demo • Demo • PAC1934 on the Icicle Kit • Interfacing the Model with sysbus via I2C • Using the I2C Drivers • Reading Back Values • Monitoring Voltage and Current 23
Slide 24: Thank you!
24 Thank you! Any questions? & MicrocHIP
Slide 25: Second Thursdays
Second Thursdays April 9 - Webinar 12: Simple Peripheral as Software Stimulus May 14 - Webinar 13: Two Bare-Metal Applications on PolarFire® SoC June 11 - Webinar 14: The PolarFire SoC Icicle Kit Model in Renode July 9 - Webinar 15: Linux® on Renode Aug. 13 - Webinar 16: Building Applications for Li
Microchip Technology — Technical Presentation (April 2020) on 6ix