上一页 1 2 3 4 5 6 7 8 9 10 ··· 25 下一页

2025年9月18日

PolarFire SoC mpfs-mmuart-interrupt mss_entry.S 启动流程分析

摘要: 代码地址:polarfire-soc-bare-metal-examples/driver-examples/mss/mss-mmuart/mpfs-mmuart-interrupt at main · polarfire-soc/polarfire-soc-bare-metal-examples 阅读全文

posted @ 2025-09-18 18:05 所长 阅读(20) 评论(0) 推荐(0)

PolarFire® SoC 移植 xprintf

摘要: 1、xprintf 简介 ELM - Embedded String Functions xprintf 是一个紧凑的字符串 I/O 库。它非常适合程序内存不足的微型微控制器来执行常规 printf 功能。推荐用途是:将格式化的字符串写入 LCD 或 UART 以及调试/维护控制台。 xprintf 阅读全文

posted @ 2025-09-18 14:18 所长 阅读(21) 评论(0) 推荐(0)

PolarFire® SoC mpfs-mmuart-interrupt 串口2 全局中断触发 初始化过程

摘要: 1、串口 复位 (void) mss_config_clk_rst(MSS_PERIPH_MMUART_U54_2, (uint8_t) 2, PERIPHERAL_ON); 2、串口参数初始化、波特率、停止位 等等 MSS_UART_init(p_uartmap_u54_2, MSS_UART_1 阅读全文

posted @ 2025-09-18 11:22 所长 阅读(12) 评论(0) 推荐(0)

2025年9月17日

PolarFire® SoC mpfs-mmuart-interrupt 串口1 本地中断 初始化过程

摘要: #define MSS_PERIPH_MMUART_U54_1 MSS_PERIPH_MMUART1 1、首先 复位 串口1 (void) mss_config_clk_rst(MSS_PERIPH_MMUART_U54_1, (uint8_t) 1, PERIPHERAL_ON); 2、参数初始化 阅读全文

posted @ 2025-09-17 17:58 所长 阅读(20) 评论(0) 推荐(0)

PolarFire® SoC 异常中断的两种模式 和 trap_from_machine_mode 中断服务函数分析

摘要: 一、 PolarFire® SoC 两种中断模式,是 MTVEC 寄存器,BIT[1:0] 决定的, 0: (Direct) All exceptions set PC to BASE 直接中断模式1: (Vectored) Asynchronous interrupts set PC to BAS 阅读全文

posted @ 2025-09-17 11:01 所长 阅读(20) 评论(0) 推荐(0)

2025年9月11日

PolarFire-SoC 中断

摘要: PolarFire SoC MSS Technical Reference Manual 5 . Interrupts 第五章 中断 Each processor core supports Local and Global Interrupts. 48 interrupts from periph 阅读全文

posted @ 2025-09-11 17:50 所长 阅读(16) 评论(0) 推荐(0)

2025年9月10日

PolarFire® SoC 尝试移植 FreeRTOS (二)

摘要: 书接上回:PolarFire® SoC 尝试移植 FreeRTOS (一) - 所长 - 博客园 Using FreeRTOS on RISC-V Microcontrollers - FreeRTOS™ 安装 FreeRTOS 陷阱处理程序 FreeRTOS 陷阱处理程序称为 freertos_r 阅读全文

posted @ 2025-09-10 13:54 所长 阅读(27) 评论(0) 推荐(0)

PolarFire® SoC mpfs-mmuart-interrupt 串口2 中断处理过程

摘要: 一、demo: mpfs-mmuart-interrupt polarfire-soc-bare-metal-examples/driver-examples/mss/mss-mmuart/mpfs-mmuart-interrupt at main · polarfire-soc/polarfire 阅读全文

posted @ 2025-09-10 10:46 所长 阅读(13) 评论(0) 推荐(0)

2025年9月8日

PolarFire® SoC FreeRTOS RISC-V 'systick' 定时器 mtime

摘要: PolarFire® SoC 尝试移植 FreeRTOS - 所长 - 博客园 PolarFire SoC MSS Technical Reference Manual mtime是一个64位读写寄存器,用于对rtc_toggle信号的周期进行计数。当mtime的值大于或等于mtimecmp寄存器中 阅读全文

posted @ 2025-09-08 20:33 所长 阅读(28) 评论(0) 推荐(0)

PolarFire® SoC 尝试移植 FreeRTOS (一)

摘要: 1、 FreeRTOS 源码地址 FreeRTOS/FreeRTOS-Kernel 2、尝试在 mpfs-mmuart-interrupt 工程上 增加 FreeRTOS polarfire-soc-bare-metal-examples/driver-examples/mss/mss-mmuart 阅读全文

posted @ 2025-09-08 15:10 所长 阅读(35) 评论(0) 推荐(0)

上一页 1 2 3 4 5 6 7 8 9 10 ··· 25 下一页

导航