How to Use J-Link and Embedded Studio to Read and Write RISC-V Processor CSR

How to Use J-Link and Embedded Studio to Read and Write RISC-V Processor CSR

Introduction to CSR The Control and Status Registers (CSR) of the RISC-V architecture are used to configure or record the operational status of some processor cores. CSR registers are internal registers of the processor core, using a dedicated 12-bit address encoding space, with a maximum of 4096 available. Therefore, accessing CSR registers requires special instructions. … Read more

Arduino Ultrasonic Distance Measurement Project Tutorial

Arduino Ultrasonic Distance Measurement Project Tutorial

Hardware List1. Principle of Ultrasonic Distance Measurement2. Using HCSR04 Ultrasonic Sensor3. Using LCD1602 Liquid Crystal Display1. I2C Communication Protocol on Arduino2. Displaying “Hello World!” on LCD16024. Completing Ultrasonic Distance Measurement5. Conclusion Hardware List 1. Principle of Ultrasonic Distance Measurement The ultrasonic sensor we use is the HCSR04. It has two “eyes” that function the same … Read more