[MCU] 【CPKCOR-RA8D1】开发板介绍

[复制链接]
95|0
abner_ma 发表于 2025-10-30 17:12 | 显示全部楼层 |阅读模式
#申请原创#   
   前段时间从瑞萨官网申请一块CPKCOR-RA8D1核心板和底板,拿出来分享一下。 处理器主内核:搭载 1GHz Arm® Cortex®-M85 处理器,基于 Arm v8.1M 架构,采用 7 级超标量流水线,结合 Arm Helium™技术(MVE 矢量扩展),支持单指令多数据(SIMD)操作,可显著提升机器学习(ML)和数字信号处理(DSP)任务的效率(相比 Cortex-M7,ML 性能提升 4 倍,DSP 性能提升 3 倍)。原始计算性能可达 7300 CoreMark,具备强大的实时处理能力,适用于对算力要求较高的场景(如工业控制、智能设备等)。


  



   核心板介绍;






关键原理图:












底板 由深圳市欣瑞利科技有限公司提供,功能更加强大









    软件开发:e² studio IDE 包含了从下载示例代码到调试的所有开发过程,能轻松创建针对瑞萨电子 MCU 的项目和代码。







  1. #include "hal_data.h"

  2. FSP_CPP_HEADER
  3. void R_BSP_WarmStart(bsp_warm_start_event_t event);
  4. FSP_CPP_FOOTER

  5. /*******************************************************************************************************************//**
  6. * main() is generated by the RA Configuration editor and is used to generate threads if an RTOS is used.  This function
  7. * is called by main() when no RTOS is used.
  8. **********************************************************************************************************************/
  9. void hal_entry(void)
  10. {
  11.     /* TODO: add your own code here */
  12.     while(1)
  13.     {
  14.       R_IOPORT_PinWrite(&g_ioport_ctrl, BSP_IO_PORT_10_PIN_01, BSP_IO_LEVEL_LOW);
  15.       R_BSP_SoftwareDelay(500, BSP_DELAY_UNITS_MILLISECONDS); //LED亮 延时500ms
  16.       R_IOPORT_PinWrite(&g_ioport_ctrl, BSP_IO_PORT_10_PIN_01, BSP_IO_LEVEL_HIGH);
  17.       R_BSP_SoftwareDelay(2000, BSP_DELAY_UNITS_MILLISECONDS); //LED灭 延时500ms
  18.     }

  19. #if BSP_TZ_SECURE_BUILD
  20.     /* Enter non-secure code */
  21.     R_BSP_NonSecureEnter();
  22. #endif
  23. }

  24. /*******************************************************************************************************************//**
  25. * This function is called at various points during the startup process.  This implementation uses the event that is
  26. * called right before main() to set up the pins.
  27. *
  28. * @param[in]  event    Where at in the start up process the code is currently at
  29. **********************************************************************************************************************/
  30. void R_BSP_WarmStart(bsp_warm_start_event_t event)
  31. {
  32.     if (BSP_WARM_START_RESET == event)
  33.     {
  34. #if BSP_FEATURE_FLASH_LP_VERSION != 0

  35.         /* Enable reading from data flash. */
  36.         R_FACI_LP->DFLCTL = 1U;

  37.         /* Would normally have to wait tDSTOP(6us) for data flash recovery. Placing the enable here, before clock and
  38.          * C runtime initialization, should negate the need for a delay since the initialization will typically take more than 6us. */
  39. #endif
  40.     }

  41.     if (BSP_WARM_START_POST_C == event)
  42.     {
  43.         /* C runtime environment and system clocks are setup. */

  44.         /* Configure pins. */
  45.         R_IOPORT_Open (&IOPORT_CFG_CTRL, &IOPORT_CFG_NAME);

  46. #if BSP_CFG_SDRAM_ENABLED

  47.         /* Setup SDRAM and initialize it. Must configure pins first. */
  48.         R_BSP_SdramInit(true);
  49. #endif
  50.     }
  51. }

  52. #if BSP_TZ_SECURE_BUILD

  53. FSP_CPP_HEADER
  54. BSP_CMSE_NONSECURE_ENTRY void template_nonsecure_callable ();

  55. /* Trustzone Secure Projects require at least one nonsecure callable function in order to build (Remove this if it is not required to build). */
  56. BSP_CMSE_NONSECURE_ENTRY void template_nonsecure_callable ()
  57. {

  58. }
  59. FSP_CPP_FOOTER

  60. #endif


点个灯







本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×
您需要登录后才可以回帖 登录 | 注册

本版积分规则

认证:项目经理
简介:资深嵌入式开发工程师

109

主题

197

帖子

3

粉丝
快速回复 在线客服 返回列表 返回顶部