Multi Source Translation Content

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Multi Source Translation Content

讨论

排序依据:
尝鲜IAR 6.7集成Processor Expert工程代码功能(The Step to integrate Processor Expert code to IAR6.7) 最近有客户问到如何移植PE生成的TSI代码到IAR中,按照常规的方法在把头文件和库文件意义一一包含进来,非常繁琐,于是研究了一下相关的操作。在早期的IAR版本中,需要用户自己手动添加芯片名称,链接文件和包含的路径信息,特别是在PE增加或者删除组件后,需要用户去增减相应的文件,更增加了难度。而在最新版本的 IAR 6.7中集成了对PE工程的链接机制,它可以方便的读取PE工程的XML文件,从而实现移植PE生成的代码到 IAR Embedded Workbench中,相对于早期的IAR版本,主要完成以下几个工作: 自动检测使用的芯片类型; 自动添加PE的LCF连接配置文件; 自动更新包含的头文件路径; PE增加或者删除Component组件后,IAR工程会自动Add 或Delete 相应的组件代码; 尽管IAR完成了一些繁琐的工作,但网上没有太多的资源可以参考,对于首次使用的用户来说还是需要一些探索,为节省大家的时间,下面以一个具体的示例Step By Step的介绍如何在IAR中集成PE的工程。 1. 打开Processor Expert software 新建一个PE的工程并保存生成代码,这个过程比较简单,此处不再赘述,重点讲述一下在IAR中的使用步骤; 2. 在IAR Workbench中"Creat New Project"新建一个空的工程。 3. 保存新建的工程文件到PE工程的文件夹中,需要注意的是此处也可以选择其他路径,但为简便和易维护性上还是建议直接存放到PE工程中。 4. 打开Tools->Options->Project选项,勾选“Enable project connects”,这个选项的目的在于使能 IAR 能够读取Freescale Processor Expert和Infineon DAVE等第三方工具生成.XML文件。 5. 添加PE工程的XML文件,选择Project->Add Project Connection,会弹出链接选择对话框,选择使用Freescale Processor Expert,默认是IAR Project Connection; 6. 点击OK后,选择建立PE工程时生成的工程描述符文件Projectinfo.xml; 7. 完成上面步骤后,在IAR中自动完成以下三方面工作:自动加载PE生成的文件到IAR中,自动安装LCF链接配置文件,自动包含头文件路径。这几个步骤在之前版本的IAR中需要自己手动添加,并且当在PE中重新生成Code时需要重新添加对应的文件; 8. 完成上面步骤之后,需要根据实际情况配置采用的下载/调试器,Project->Options->Debugger->Setup 选择下载Driver,实验中使用的是KL25的FRDM板,所以在PE Macro中选择OpenSDA,点击OK,完成设置; 9. 编译工程,下载Debug; 总结下来,主要完成两个工作:(1)配置使能 Project connection,并导入PE生成的XML文件; (2)配置调试的下载器仿真器; Re: 尝鲜IAR 6.7集成Processor Expert工程代码功能(The Step to Integration Processor Expert code to IAR6.7) <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 问题可以在下面回复: 当您在“Libraries(-l)”中添加一个库时,gcc 链接器知道这是一个 gcc 库,因此无需添加“lib”前缀和“.a”后缀。 但是当您在“杂项”中添加库时,如果文件没有“lib”前缀和“.a”后缀,gcc 链接器就不会认为它是 gcc 库。 Re: 尝鲜IAR 6.7集成Processor Expert工程代码功能(The Step to integrate Processor Expert code to IAR6.7) 我看了一下.xml配置文件,上面显示的库的路径是在工程文件夹下面的,实际上在Open Containing Folder命令中打开的路径也是工程所在的路径,但是并不是库的路径,是他的上级路径,应该是他没有识别到。 你说的那个选项我勾选了(atuo runtime library selection),仍然不行,但是我在选项下面的Additional libraries 中添加了库的路径之后就可以了。 第二个方法就是上面我说的方法,取消链接之后自己添加一遍库,我注意到自动添加的库是带引号的,自己添加的不带引号,不知道这意味着什么。。 下面是XML的路径片段,路径中没有中文     D:\PE_K60\TEST1.0\Project_Settings\Linker_Files\ProcessorExpert.icf           D:\PE_K60\TEST1.0\Sources\TSS\       C:\Freescale\PExDrv v10.3\eclipse\ProcessorExpert\lib\Kinetis\iofiles\       C:\Freescale\PExDrv v10.3\eclipse\ProcessorExpert\lib\Kinetis\pdd\inc\       D:\PE_K60\TEST1.0\Sources\       D:\PE_K60\TEST1.0\Generated_Code\               D:\PE_K60\TEST1.0\Generated_Code\       D:\PE_K60\TEST1.0\Sources\       D:\PE_K60\TEST1.0\Sources\TSS\               D:\PE_K60\TEST1.0\Sources\TSS\       Re: 尝鲜IAR 6.7集成Processor Expert工程代码功能(The Step to integrate Processor Expert code to IAR6.7) 你要查看一下PathName 的路径了,因为默认的路径应该是在TSS的安装目录中,另外在IAR中Linker配置项的library选项配置也需要check一下,需要使能atuo runtime library selection。 Re: 尝鲜IAR 6.7集成Processor Expert工程代码功能(The Step to integrate Processor Expert code to IAR6.7) 您好! 我按照你的文章使用PE建立了一个关于TSS库的工程,使用IAR编译文件时出现了错误: Error[Li005]: no definition for "TSS_Init" [referenced from D:\PE_K60\test1\Debug\Obj\TSS1.o] Error[Li005]: no definition for "TSS_SetKeypadConfig" [referenced from D:\PE_K60\test1\Debug\Obj\TSS1.o] Error[Li005]: no definition for "TSS_SetSystemConfig" [referenced from D:\PE_K60\test1\Debug\Obj\TSS1.o] Error[Li005]: no definition for "TSS_GetSystemConfig" [referenced from D:\PE_K60\test1\Debug\Obj\TSS_SensorTSI.o] Error while running Linker 我找到错误的原因是:在 文件中       "TSS_KXX_M4.a"     上述路径在IAR中识别为无效路径,导致库中的函数无法引用, 我在IAR加载文件之后,在你说的地4步《打开Tools->Options->Project选项,勾选“Enable project connects” 》中取消了工程链接,删除了IAR工程中包含的TSS_KXX_M4.a文件,然后重新加载了这个文件,这时候编译通过了。 请问这个应该怎么做呢。 我使用的是IAR6.7.1,PE10.3 Re: 尝鲜IAR 6.7集成Processor Expert工程代码功能(The Step to Integration Processor Expert code to IAR6.7) <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 好文档,对我很有用!谢谢!
查看全文
将 USB 摄像头与 GStreamer 结合使用 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 如果您想在 i.MX6 设备(Linux 内核版本 >= 3.035)上将 USB 摄像头(这些类型的摄像头也称为“网络摄像头”)与 GStreamer 一起使用,您需要动态加载模块或静态编译和链接,并在内核配置中选择(Y)以下配置 设备驱动程序 -> 多媒体支持 -> 视频捕获适配器 -> V4L USB 设备 -> <*> USB 视频类 (UVC) 内核映像构建完成后,将其刷入目标,插入网络摄像头,然后在(目标)终端上运行 gst-启动 v4l2src!mfw_v4lsink 您应该在显示屏上看到相机捕捉到的内容。如果需要对相机源数据进行编码,则需要将编码器放入管道中 gst-launch v4l2src num-buffers=100 !队列!vpuenc编解码器=0!matroskamux!文件接收器位置=输出.mkv 同步=false 我们正在使用某种编解码器(codec=0 表示 mpeg4),使用“gst-inspect vpuenc”检查选项。 i.MX6_全部 多媒体 回复:使用带有 GStreamer 的 USB 摄像头 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 请修复链接!我看不到 最良好的问候! 回复:使用带有 GStreamer 的 USB 摄像头 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 感谢分享,但当编码“无法协商格式”时,这不适用于我的 2 个符合 UVC 1.1 标准的相机。 vpuenc 需要 TNVP、NV12 或 I420 中的原始 uyv,我可以强制原始输出,但我的相机不支持这些(对文件进行测试给出了 YUY2)。可以使用软件中的颜色转换来完成这项工作(至少在 vga 30 fps 中): gst启动v4l2src num缓冲区=100!视频/x-raw-yuv!队列 !ffmpeg色彩空间!队列 !vpuenc编解码器=6!avimux!文件接收器位置=outputh264.avi 同步=false 在 iMX53 上,有 mfw_ipucsc,但我在 12.09 BSP 上发现的只有 ipucsc.imx,它不起作用,可能只有 DP 路径中的 CSC,这应该在图像转换器中是可能的,但我没有找到任何插件。有人有更好的管道吗?
查看全文
S32K14x SRAM ECC注入示例 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> ******************************************************************************** 详细描述: 此示例显示了 SRAM ECC 注入。 默认情况下,在对 SRAM_U 区域中的位置进行读取访问时会注入双位 ECC 错误。 这可以通过 SRAM_U 和 DOUBLE_BIT 宏来改变。 ERM 和 MCM 模块都可以检测到错误,并可以调用相应的中断。 虽然只需要 ERM,但为了演示目的,MCM 中断也启用了 其优先级低于 ERM 中断。 首次调用的 ERM 中断会禁用注入机制 这样在堆栈读取访问期间就无法检测到后续错误。 默认的 S32 Design Studio start_up 文件将向量表复制到 SRAM_L 区域。 为了能够在此 SRAM 区域注入 ECC 错误并调用中断, 复制被 __flash_vector_table__ 符号禁用 在start_up.h中声明文件并在S32K144_64_flash链接器文件中定义。 -------------------------------------------------------------------------------------------- 测试硬件:S32K144EVB-Q100 单片机:S32K144 0N57U 调试器:S32DSR1 目标:internal_FLASH ********************************************************************************
查看全文
iDrive_里程碑_2 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 在这个里程碑中,我们专注于创建控制从设备接收的数据流的基础设施。 我们创建了一个托管在 Google Cloud Platform 中的 Web API 应用程序(ASP .NET),用于存储和解释我们的数据(来自设备),并向移动应用程序发送通知,告知用户汽车被盗(已移动)。 我们还创建了移动应用程序(原生,在 Xamarin.Android 中创建),该应用程序使用 Google Maps API 来嵌入地图片段,用于显示我们设备的位置(以及隐式显示汽车的位置)。 通知系统已准备好投入生产,我们使用 Azure 通知中心作为传递通知的中间件,因为它具有可扩展性、可靠性、包含遥测数据并且安全。 (在 “我的视频” 中查看)
查看全文
QorIQ Layerscape LS2085/88マルチコア通信プロセッサ、ネットワーキングの未来を支援 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> EUF-NET-T1743 - QorIQ LS2085/88は、汎用性の高いLayerscape 2デバイスです。GPP レイヤーには、8 つの A57/A72 ARM® コアが含まれています。APPレイヤーには、AIOP、PME、DCE、およびSECエンジンが含まれています。WRPPレイヤーには、WRIOP、SATA、およびPCIeエンジンが含まれています。このプレゼンテーションでは、QorIQ LS2085/88プロセッサのさまざまなコンポーネントとターゲットの使用例の概要を説明します。 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> EUF-NET-T1743 - QorIQ LS2085/88は、汎用性の高いLayerscape 2デバイスです。GPP レイヤーには、8 つの A57/A72 ARM® コアが含まれています。APPレイヤーには、AIOP、PME、DCE、およびSECエンジンが含まれています。WRPPレイヤーには、WRIOP、SATA、およびPCIeエンジンが含まれています。このプレゼンテーションでは、QorIQ LS2085/88プロセッサのさまざまなコンポーネントとターゲットの使用例の概要を説明します。
查看全文
LS1021A IoT ホストプロセッサと MKW20 zigbee を使用して色相電球を切り替えるためのクイックデモセットアップ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> LS1021A IoTホストプロセッサとMKW20 zigbeeを使用して色相電球を切り替えるためのクイックデモセットアップ。ここでは、2 つのステップのセットアップを通じてライティングのデモを行います。最初のステップは、TWR-KW20 EVBを使用して、テストツールと呼ばれるPCツールを介して色相電球を制御することです。 次のステップは、PCテストツールの代わりにホストプロセッサとしてLS1021に移行することです。 KW20 USBドングル、LS1021A、Hue Bulbを使用しています。KW20 USBドングルは、Beekitを介してZigbeeコーディネーターとして構成され、このKW20 USBドングルを接続しLS1021A、LS1021Aオン/オフコマンドを発行して色相電球を切り替えます。その後、フリースケールのLS1021AとMKW20シリーズを使用して簡単なデモを作成できます <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> LS1021A IoTホストプロセッサとMKW20 zigbeeを使用して色相電球を切り替えるためのクイックデモセットアップ。ここでは、2 つのステップのセットアップを通じてライティングのデモを行います。最初のステップは、TWR-KW20 EVBを使用して、テストツールと呼ばれるPCツールを介して色相電球を制御することです。 次のステップは、PCテストツールの代わりにホストプロセッサとしてLS1021に移行することです。 KW20 USBドングル、LS1021A、Hue Bulbを使用しています。KW20 USBドングルは、Beekitを介してZigbeeコーディネーターとして構成され、このKW20 USBドングルを接続しLS1021A、LS1021Aオン/オフコマンドを発行して色相電球を切り替えます。その後、フリースケールのLS1021AとMKW20シリーズを使用して簡単なデモを作成できます
查看全文
斯洛伐克布拉迪斯拉发理工大学 3KD 团队技术报告 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 为布拉迪斯拉发斯洛伐克理工大学 3KD 队(斯洛伐克)提交技术报告 - 2015 年 EMEA 总决赛 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 为布拉迪斯拉发斯洛伐克理工大学 3KD 队(斯洛伐克)提交技术报告 - 2015 年 EMEA 总决赛
查看全文
Android CTS Verifier The Compatibility Test Suite Verifier is a supplement to the Compatibility Test Suite. The main difference lies in that the verifier is developed for tests that cannot run on their own so they require user input in order to be tested. These tests would include the audio quality, the touchscreen, accelerometer, camera, etc. There is no “best verifier option”, one CTS complements the other. In this document we will focus on how to perform the Verifier test. Requirements: A PC with the Android SDK installed. Your “Device Under Test” (your development board) Optional >> A second android device with compatible Wifi and Bluetooth Setup Steps: Install de Android SDK on your PC Download the appropriate CTS Verifier APK. The list of APK’s can be found here: https://source.android.com/compatibility/downloads.html Make sure that your Device Under Test has its system date and time set correctly. Install the CTS Verifier APK on the Device Under Test* For more information regarding ADB commands, follow this link: https://community.freescale.com/docs/DOC-102514 Initialization: After the setup is done, you should see the application installed: You will see the list of available tests for manual verification: Video Link : 4502 For each test, you will see detailed instructions to run it, and a “pass” and “fail” buttons. Video Link : 4530 Once you run each test, you will have the posibility to choose the outcome. (in some cases, pass/fail outcome will be determined automatically). The list of tests (for CTS Verifier 5.1_r2) is: Camera: FOV Calibration, Formats, ITS, Intents, Orientation, Video. Car: Car Dock Test Clock: Alarms and Timers Test Device Administration: Policy serialization test, screen lock test. Features: Hardware/Software feature summary Hardware: USB Accessory Test Job Scheduler: Charging constraints, connectivity constraints, idle mode constraints. Location: Battery saving mode test, location mode off test Managed provisioning: BYOD managed provisioning, device owner provisioning Networking: Bluetooth test, Wi-Fi direct test Notifications: CA Cert notification, CA Cert notificacion on boot, notification attention management, notification listener, notificacion package priority Other: Data backup, screen pinning, widget framework Projection: Projection cube, projection multitouch, projection offscreen, projection scrolling, projection video playback, projection widget Security: Keyguard password verification, SUID file scanner. Sensors: Accelerometer mearument, CTS Sensor batching, CTS Sensor integration, CTS sensor test, CTS single sensor test, magnetic field measurement, sensor batching. Streaming: Streaming video quality verifier. Exporting test results: Tap the “save disk” icon. A pop-up will show the path of the report that was created. Video Link : 4531 With the board connected to the PC through USB, pull the report using ADB: To download all reports run : adb pull /mnt/sdcard/ctsVerifierReports/ .
查看全文
FTF_Austin_FTF-ACC-F1276_2015.pptx This session will explain how Freescale can enable customers to develop 76-81 GHz short and long range radar applications using the MPC577xK MCU, it will explain the concepts of the radar algorithms, including practical aspects such as SDADC or MIPI CSI sampling, Chirp Generation, Data Compression, R,V FFT, Detection and Tracking algorithms, and the benefits of the new Freescale IP that can allow them to improve their system resolution and accuracy. In this session customers will take away a detailed understanding of how to develop fast modulation radar systems using the MPC577xK MCU including the BOM cost advantages it also brings. This session will explain how Freescale can enable customers to develop 76-81 GHz short and long range radar applications using the MPC577xK MCU, it will explain the concepts of the radar algorithms, including practical aspects such as SDADC or MIPI CSI sampling, Chirp Generation, Data Compression, R,V FFT, Detection and Tracking algorithms, and the benefits of the new Freescale IP that can allow them to improve their system resolution and accuracy. In this session customers will take away a detailed understanding of how to develop fast modulation radar systems using the MPC577xK MCU including the BOM cost advantages it also brings. General Re: FTF_Austin_FTF-ACC-F1276_2015.pptx Hi Andrew Robertson I wanted to check to see if you had your final file. I need to do one last review and then convert it to PDF to include it on the FTF App and public community page. Please help to upload this by selecting "Edit" under Actions as soon as possible. Thanks! Re: FTF_Austin_FTF-ACC-F1276_2015.pptx I have loaded the Marcom reviewed version to this link to help document the review cycle. Here are comments after the Marcom review: I have approved this presentation after making minor changes to punctuation. I have other concerns to highlight: Slide 4 says: FMCW operation is independent of the speed or direction of travel of the target high precision. Andrew, is “target high precision” correct? No Summary and Conclusion section exists in this presentation. Andrew, please add a summary/conclusion and upload the final version based on the attached. Hi Andrew Robertson Please take Brian and John's notes into consideration when finalizing your presentation. Please make sure to use the latest version when making any changes. Once you have finalized your presentation please upload the final file here by selecting "Edit" under Actions and click Publish at the bottom of the page no later than Monday, June 15th. Please help to select the Category "4. Final Version - Ready for PDF and Web" when this final version is posted so I know to pull your file for PDF conversion. Re: FTF_Austin_FTF-ACC-F1276_2015.pptx Adding Deactivated user since he will be helping review this file for Lisa Bradley Re: FTF_Austin_FTF-ACC-F1276_2015.pptx Hi andrewrobertson​ I am reviewing a bunch of FTF presentations.  A few comments on yours.... Are you intending to put something after your summary and conclusions?  Can you...   Your closing thoughts, perhaps some URL's like freescale.com/adas or similiar The abstract refers to BOM cost advantages but I don't really see that in the slides (maybe slide 27) but it's a very small reference.  Just wondering if you should call it out more since it was important enough to mention in the abstract. Renee Fortenberry Re: FTF_Austin_FTF-ACC-F1276_2015.pptx Hi Lisa, I just wanted to make sure you were tagged to this file. It is ready for your review. Please let Andy know when you will be pulling the file in case he has additional changes he would like to make before your review. Lisa Bradley Re: FTF_Austin_FTF-ACC-F1276_2015.pptx PPT expert has completed the presentation review. The latest version is posted and ready for Marcom review @Lisa Bradley
查看全文
基于wxWidgets的分布式信息与控制系统 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 他们开发的控制器采用i.MX53+Linux。 开发了构建分布式信息和控制系统的解决方案。 Prototmpy 已经运行了一年多。 示例: - 控制电磁搅拌(混合器) http://ontecom.com/en/catalog/ems / Rusal,克拉斯诺亚尔斯克。 - 泵站的监测和管理。 - 气候控制系统的监测和控制。 您可以创建智能家居系统和物联网。有使用 PLC(电力线通信)Qualcomm/Atheros 的经验。 在业余时间,我为 PLC(电力线通信)控制/监控组件智能家居开发了预算解决方案。 基于IEC 61131-3标准开发的软件——分布式信息管理系统。 该解决方案是跨平台的。单个系统中可能存在不同架构和不同操作系统的计算机。 此类信号同步控制器 ARM/Linux 和 x86 服务器(Win、Linux、VMS、...) 使用 wxWidgets。 有关这个主题的文章有,但是用俄语。
查看全文
AMF-ACC-T1647 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> イーサネットは、自動車の車両通信で最も議論されているテクノロジーの1つになっています。このプレゼンテーションでは、車載イーサネットを網羅する規格の概要を説明します。また、さまざまなアプリケーション間でテクノロジーを実装する際の課題にも対処します。 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> イーサネットは、自動車の車両通信で最も議論されているテクノロジーの1つになっています。このプレゼンテーションでは、車載イーサネットを網羅する規格の概要を説明します。また、さまざまなアプリケーション間でテクノロジーを実装する際の課題にも対処します。
查看全文
S32K144 FlexCAN 擬似ネットワーキング STOP モードテストの例 S32DS.ARM.2.2 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> ******************************************************************************** 詳細説明: FlexCAN 0 の Pretended Networking モードを利用し、FlexCAN モジュールが MCU を STOP モードからウェイクアップする方法を示します。 タイムアウト イベントおよびマッチ イベントによるウェイクアップが有効です。 また、ピン割り込みを使用して STOP モードを解除することも可能です。 MCU は SW3 ボタンの押下で STOP モードに移行します。 MCU は次のいずれかが発生すると STOP モードを終了します: - 8 秒間 CAN メッセージが受信されない (CAN PN タイムアウト イベント) - 標準 ID 0x554 または 0x555 のメッセージが受信される (CAN PN マッチ イベント) - SW2 ボタンが押下される (PTC12 割り込み) RUN モードでは青色 LED が減光し、ウェイクアップ要因ごとに減光速度が異なります。 ------------------------------------------------------------------------------ テストハードウェア: S32K144 EVB‑Q100 MCU: FS32K144UAVLL 0N57U Fsys: 160 MHz デバッガ: Lauterbach, OpenSDA ターゲット: internal_FLASH ******************************************************************************** 全般
查看全文
Motor synchronous control demonstration using EtherCAT with i.MX RT1180 (Japanese blog) We will demonstrate an integrated EtherCAT and motor control system, and introduce the high-performance microcontroller i.MX RT1180 that makes this possible. This demonstration showcases the synchronization capabilities of EtherCAT and the high-precision motor control that accompanies it. Motor synchronous control demonstration using EtherCAT Explanation of how the demo works The board configuration consists of three boards: one EtherCAT master board and two EtherCAT slave boards, which together achieve EtherCAT synchronization. The slave boards are equipped with motor drivers, and each slave board controls two motors, for a total of four motors. The two motors at each end are controlled by slave board 1 and slave board 2 respectively, which adjust the left-right position of the two motors in the center. The two motors in the center are also controlled by slave board 1 and slave board 2 respectively, and are responsible for meshing the gears together . Initially, the two central motors rotate synchronously with their gears meshed together, and then gradually separate to disengage. After the deactivation, the two central motors rotate at different speeds and approach each other again. The moment the gears mesh again, the two motors rapidly synchronize, achieving precise gear engagement. At the same time, the motors on both sides adjust the position of the two central motors to prevent them from colliding. After that, the separation, approach, and interlocking process is repeated. Now, let me explain why such advanced control is possible with the RT1180 microcontroller. i.MX RT1180 behavior First, within the i.MX RT1180 microcontroller, each core has a specific role. The M33 core (300MHz) is responsible for EtherCAT communication, and the M7 core (800MHz) is responsible for motor control. The M33 core runs on an EtherCAT stack, achieving faster read/write speeds, lower costs, energy efficiency, and higher communication and response speeds compared to external devices. The M7 core performs motor calculations (PWM) within 1.4 μs. This completes the update + ADC sample + closed loop vector control. The dual-core cooperative operation of the M33 and M7 ensures superior point control performance and guarantees the operation of high-performance motors. Furthermore, the generous 1.5MB of RAM memory improves work efficiency and leaves room for further customization by the user.   summary Based on these points, we believe the i.MX RT1180 is an optimal choice for those considering servo applications. The source code for this demo is available on NXP's Application Code Hub. Please see the link below for details. How to set up the motion control reference design on iMX.RT1180 =========================​ We are currently unable to respond to comments left in the " Comment " section of this post . We apologize for the inconvenience, but please refer to " Technical Questions to NXP - How to Contact Us( Japanese Blog) " when making inquiries.(If you are already an NXP distributor or have a relationship with NXP, you may ask your representative directly.) We will demonstrate an integrated EtherCAT and motor control system, and introduce the high-performance microcontroller i.MX RT1180 that makes this possible. This demonstration showcases the synchronization capabilities of EtherCAT and the high-precision motor control that accompanies it. (Reading time: 10 minutes) i.MX RT Processors MCUXpresso Motor Control Technology Focus Japanese Blog
查看全文
FRDM-A-S32K344: Secure Encrypted Ethernet Demo Secure Encrypted Ethernet Communication using FRDM-A-S32K344  Find the code in Application Code Hub as Secure Encrypted Ethernet End Nodes This project implements a configurable secure encrypted Ethernet communication node that can operate in three different modes—Transmit (TX), Receive (RX) and Intruder —selected at build time using compile‑time macros. Depending on which macro is enabled during compilation, the firmware conditionally includes only the logic required for that mode. /* Macro for NODE selection: Select TX_BOARD, RX_BOARD or INTRUDER_BOARD and * flash its corresponding profile */ #define TX_BOARD (1u) /* TX_BOARD is selected */ #define RX_BOARD (0u) #define INTRUDER_BOARD (0u) TX Node Mode (TX_BOARD) - In this mode, the device encrypts an image and transmits Ethernet frames when the transmission button is pressed. If the encrypt button is pressed, the Ethernet frames will contain the encrypted image. If the encrypt button is not pressed, the Ethernet frames will contain the base image. RX Node Mode (RX_BOARD) - The device listens for incoming Ethernet frames and processes the data to display the received image in the LCD display. When the encrypt button is pressed the decryption is enabled. Intruder Node Mode (INTRUDER_BOARD) - The device listens for incoming Ethernet frames and processes the data to display the received image in the LCD display. Intruder does not have access to decryption. This project has the option to define if the on-board push buttons are used or external user push buttons connected to PTE24 and PTE25. /* Macro for BUTTON selection: Select INTERNAL_BUTTONS or EXTERNAL_BUTTONS and * flash its corresponding profile.*/ #define INTERNAL_BUTTONS (1u) // SW2 = Encryption, SW3 = Transmission #define EXTERNAL_BUTTONS (0u) // PTE24 = Encryption, PTE25 = Transmission   Application Description The application runs on an NXP S32K344 MCU and demonstrates a complete image encryption, transmission, reception, and optional encryption pipeline. The code encrypts an image using the HSE, transmits it over Ethernet, receives encrypted data, decrypts it using HSE, and displays it. The summarized functionality is the next: LCD Display Handling: Initializes an LCD via LPSPI1 and displays an embedded bitmap image AES-128 Encryption/Decryption (ECB mode): Uses Crypto_43_HSE AUTOSAR Crypto Driver, offloads all crypto operations to the Hardware Security Engine (HSE), splits an image into 64‑byte blocks, encrypts each block with AES‑128 ECB Ethernet Transmission (GMAC): Encapsulates encrypted image data into Ethernet frames, Sends frames over GMAC0 and receives incoming frames and reconstructs the encrypted image User Interaction via Buttons: SW3 starts transmission and SW2 grants encryption   Algorithm The main function initialize all pin routing, peripherals and LCD over SPI. Performs setup for Crypto Driver and HSE by loading a key and mark it as valid. (TX) The image stored as a bitmap in ImageDataAuto[] is split into blocks of 64 bytes in order to perform the encryption and store the encrypted output in EncryptedImage[] for secure Ethernet transmission. (TX) Ethernet frame is built manually and is broken into frames of 1024 bytes. (TX) Transmission starts when the transmit button is pressed. When all image data is sent then the transmission resets. (RX) Incoming Ethernet frames are processed in the emac_rx_callback(…) where the payload bytes are extracted and appended into the EncryptedImage[] array. (RX) Once all the image bytes arrives a flag is activated to show the image in the infinite loop. (Intruder) The intruder board can sniff the image sent as long as the Encrypted Button is not pressed. (Intruder) If the Encrypted Button is pressed, intruder board will receive the encrypted array and not be able to decrypt. Crypto Driver and HSE This project makes extensive use of the AUTOSAR Crypto Stack, specifically the Crypto_43_HSE driver and the HSE embedded hardware module as the accelerator performing all AES operations. Some of the key functions and features to understand are: Initialization of HSE Key Catalog: This configures the RAM and NVM key catalogs where the HSE stores key metadata. RetVal = Crypto_43_HSE_Exts_FormatKeyCatalogs(); Loading AES-128 Key into the HSE: The key is transferred into the HSEs secure storage. Crypto_43_HSE_KeyElementSet(APP_AES128_KEY_ID,KEY_MATERIAL_ELEMENT_ID_U32, App_au8Aes128EcbKey_1, APP_AES128_KEY_SIZE); Key Validation: Makes the key available to subsequent crypto jobs. Crypto_43_HSE_KeySetValid(APP_AES128_KEY_ID); AES-128 ECB Job Execution: The CPU does not perform AES operations. The request is passed to the HSE firmware, which executes AES‑128 ECB using its hardware crypto accelerators. Encryption and decryption are performed using their corresponding jobs: Crypto_43_HSE_ProcessJob(APP_SYMMETRIC_CDO_ID, &App_JobAes128EcbEncrypt); Crypto_43_HSE_ProcessJob(APP_SYMMETRIC_CDO_ID, &App_JobAes128EcbDecrypt); HSE-compatible non-cacheable buffers: HSE accesses memory via DMA and cannot read cache-only memory regions. The code places all data buffers exchanged with HSE in special sections defined by: #define CRYPTO_43_HSE_START_SEC_VAR_INIT_8_NO_CACHEABLE Boards: FRDM-A-S32K344 Categories: Communication, Security Peripherals: Siul2, Crypto 43 HSE, ETH 43 GMAC Toolchains: S32 Design Studio IDE 1. Software and Tools 1.1 FRDM Automotive Bundle for S32K3 The demo was developed using the FRDM Automotive Bundle for S32K3. To download and install the complete software and tools ecosystem, use the following link: S32K3 FRDM Automotive Board Installation Package. 1.2 Security Real-Time Drivers Crypto As the application uses cryptography and the Hardware Security Engine (HSE) peripheral, it is necessary to download the Security Real-time drivers Crypto 7.0.0 QLP02 and the S32K344 HSE Standard Firmware to the bundle by following the next steps: Click on the Software Library tab. Select S32K3 checkbox in the Devices tab to filter the results. Type Security Real-Time Drivers Crypto in the search bar and click in the checkbox to select it. Confirm that the version is 7.0.0_QLP02. Type S32K344 HSE Standard Firmware in the search bar and click in the checkbox to select it. Confirm that the version is RTM 0.2.55.0. Click on Generate Bundle Installer button and confirm that the package contains all the drivers as shown. 2. Hardware 2.1 Required Hardware Personal Computer Type-C USB cable Switch Gigabit Ethernet GS108 3 * Ethernet cable 3 * 2.8" TFT touch shield for Arduino 3 * FRDM-A-S32K344 2.2 Debugger Connector Connect the PEmicro debugger to the Cortex Debug connector Connect debugger USB to PC Power the FRDM-A-S32K344 using the USB-C cable or connect USB C cable directly to the board for power supply and debug capabilities 3. Setup 3.1 Import the Project into S32 Design Studio IDE Open S32 Design Studio IDE, in the Dashboard Panel, choose Import project from Application Code Hub. Found the demo you need by searching the name directly. Open the project, click the GitHub link, S32 Design Studio IDE will automatically retrieve project attributes then click Next>. Select main branch and then click Next>. Select your local path for the repo in Destination->Directory: window. The S32 Design Studio IDE will clone the repo into this path, click Next>. Select Import existing Eclipse projects then click Next>. Select the project in this repo (only one project in this repo) then click Finish. 3.2 Connect Hardware Before connecting the display to the board it is necessary to solder 3 SMD pads to enable SPI transmission. The pads correspond to SI, SO and SCK marked in the silkscreen as 11, 12 and 13 respectivelly (yellow circle in the image). To connect the display to the board, follow the next image to make sure the pins in the board marked by red coincide with the pins in the display marked by red. 3.3 Generating, Building and Running the Example Import the HSE using FRDM-A-S32K344 project from Application Code Hub following the steps above. In Project Explorer, right-click the project and select Update Code and Build Project and then go to Debug. The project must be executed twice in order to enable the HSE in the board.Note: This is a mandatory step to compile the Secure Encrypted Ethernet Communication project. In Project Explorer, right-click the project and select Update Code and Build Project. This will generate the configuration (Pins, Clocks, Peripherals), update the source code and build the project using the active configuration (e.g. Debug_FLASH). Make sure the build completes successfully and the *.elf file is generated without errors. Press Yes in the SDK Component Management pop-up window to continue. If a error appears related to the NXP GCC 10.2 not installed, right click on it and select Quick Fix. Note: This is a mandatory step to compile the Secure Encrypted Ethernet Communication project. To generate the other executables, the macros must be modified to use the other node mode. In the app_cfg.h file within the src folder. Change the macro definition from:  #define TX_BOARD (1u)  to  #define TX_BOARD (0u)  and  #define RX_BOARD (0u)  to  #define RX_BOARD (1u) . To set the intruder, repeat previous steps but set  TX_BOARD  and  RX_BOARD  to  (0u)  and  INTRUDER_BOARD  to  (1u)  in the macro definition for the intruder board. Then clean project and build again to generate the RX node executable. Go to Debug and select Debug Configurations. Select GDB PEMicro Interface Debugging: Use the controls to control the program flow. Note: The GDB PEMicro Interface Debugging configuration uses default ports 6224 and 7224. In example are provided 2 debug configurations, one with default ports and another one with custom ports to support debugging of 2 boards simultaneously on the same PC. You must change the  C/C++ Application  path in the debug configuration to point to the generated *.elf file, one for TX node and one for RX node. In one launch configuration, select one board (for example USB1) and in the second launch configuration, select the other board (for example USB2). 4. Results When one board is connected as transmitter, one as receiver and other as intruder, using three ETH cables to the Switch, the image on the transmitter board will appear in the display, on the receiver and intruder board, the image will appear when the transmit button is pressed in the transmitter. If the encrypt button is pressed in both transmitter and receiver, the image will show complete but encrypted in the intruder. (function() { var wrapper = document.getElementById('lia-vid-6390689216112w960h540r430'); var videoEl = wrapper ? wrapper.querySelector('video-js') : null; if (videoEl) { if (window.videojs) { window.videojs(videoEl).ready(function() { this.on('loadedmetadata', function() { this.el().querySelectorAll('.vjs-load-progress div[data-start]').forEach(function(bar) { bar.setAttribute('role', 'presentation'); bar.setAttribute('aria-hidden', 'true'); }); }); }); } }})(); (view in My Videos) Questions regarding the content/correctness of this example can be entered as Issues within this GitHub repository or directly in the commentary section. Warning: For more general technical questions regarding NXP Microcontrollers and the difference in expected functionality, enter your questions on the NXP Community Forum This project implements a configurable secure encrypted Ethernet communication node with the transmission of a large data image. FRDM-Training MCU
查看全文
TPMS お客様向けの NDA を取得できますか? <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> NXP様 私はNXPの代理店であるZLGのメンバーです。Anjia は現在バス TPMS を開発中であり、詳細な情報が必要です (FXTH871511DT1 REG #: R691261)。NDAの申請を手伝っていただけますか? Anjiaの情報は次のとおりです。 公司名(中文): 佛山市安驾科技有限公司 会社名:FoShan Angel Technology Co,.Ltd. 公司地址(中文):广东省佛山市南海区獅山镇北园中路王氏车灯西门装配车间2楼 住所:中国広東省仏山市南海区石山鎮北園中路王石ランプ西門組立工場2階 連絡先担当者:陈琼霓(Chen Qiongni) 職種: ソフトウェアエンジニア 電話:13727457848 企業メールボックス:[email protected] プロジェクト: バスTPMS ありがとう! よろしくお願いします オーウェン 圧力センサ
查看全文
シングルチャネルABS SB0401監視モジュールの問題 こんにちは@nxp 、 私は SPI マスターとして NXP S32K31xEVB-Q48 MCU を搭載した SB0401 シングル チャネル ABS モジュール IC を使用しています。監視/モジュール データを 10 ミリ秒ごとに送信していますが、SB0401 監視モジュールは繰り返しリセット/再起動しているように見えます (約 50 ミリ秒ごとに 1 回)。これに伴い、SPI 転送ごとに SPI「エラー数」が増加します。 以下にセットアップと具体的な質問を示します。 ハードウェア/ソフトウェアのセットアップ MCU(SPIマスター):S32K31xEVB-Q48(S32K31xファミリ) デバイス: SB0401 (シングルチャネルABSモジュールIC) インターフェース: SPI (LPSPI) (DMA ベースの転送) 定期送信: 10 ミリ秒ごと 観察された問題: SB0401 監視モジュールが約 50 ミリ秒ごとにリセット/再起動する (添付のログを参照) 観察された行動 エラー カウンターは、SPI バイト/ワード転送ごとに増加します。 SB0401 メッセージ 18 から AR (シード) を読み取り、その AR に基づいて MR を計算します。 定期的にフレームを送信しているにもかかわらず、SB0401 監視モジュールはリセット/再起動します。 質問 MR計算とAR計算(メッセージ18) SPI 転送ごとにエラー数が増加します。 SB0401 メッセージ 18 から受信した AR 値を使用して MR を計算します。 この状況では、転送ごとにエラー カウンターが増加することが予想されますか、それとも MR/AR ロジックが正しくないことを示しているのでしょうか。 AR (メッセージ 18) に対する正しい MR 計算フロー/タイミングと、よくある落とし穴 (古い AR の使用、間違ったバイト/ビット抽出、タイミング ウィンドウ、カウンター アライメントなど) を確認してください。 メッセージ0を書き込むときのACK位置 TxBuf[0] の メッセージ0 にデータを書き込む場合 、確認応答をどこで確認すればよいですか? 例: TxBuf[0] への書き込みの場合 、ACKは RxBuf[0](同じワード) に表示されますか、それとも RxBuf[1](次のワード) に表示されますか? 「次の SPI ワード/フレームで ACK が発生する」というルールが定義されている場合は、正確なマッピングを共有してください。 リファレンスSW / CDDドライバ SB0401 のリファレンス CDD / サンプル ドライバ (C ソースまたは AUTOSAR スタイルの CDD 統合) があり、ガイダンスとして共有できますか? 共有できない場合は、公式の SB0401 ソフトウェア パッケージ / アプリケーション ノート / リファレンス実装の詳細を推奨していただけますか? Re: Single channel ABS SB0401 Monitoring Module Issue こんにちは@guoweisun はい、わかりました。 NXPについて: Ettiksoft technologies Pvt ltd. プロジェクト: 二輪車用シングルチャネル ABS。 Re: Single channel ABS SB0401 Monitoring Module Issue ハイ ここであなたの会社やプロジェクトの情報を表示することは可能ですか? Re: Single channel ABS SB0401 Monitoring Module Issue こんにちは@guoweisun わかりました。このモジュールの動作のような他の参照コードも存在します。 Re: Single channel ABS SB0401 Monitoring Module Issue この特殊部品に関する参照コードをもう一度確認してみましょう。 Re: Single channel ABS SB0401 Monitoring Module Issue この部品には CDD やその他のソフトウェア ドライブがないため、参照回路図もお客様が NDA に署名してから共有する必要があります。 Re: Single channel ABS SB0401 Monitoring Module Issue ここに投稿できないサンプルコードについては、CASEポートからチケットを送信していただけますか? 家庭用
查看全文
单通道 ABS SB0401 监测模块问题 你好@nxp、 我使用的是 SB0401 单通道 ABS 模块 IC,其 SPI 主控芯片是恩智浦 S32K31xEVB-Q48 MCU。我每 10 毫秒传输一次监控/模块数据,但是 SB0401 监控模块似乎会重复 RESET/重启(大约每 50 毫秒一次)。与此同时,每次 SPI 传输时,我的 SPI "错误计数 "都会增加。 以下是设置和我的具体问题。 硬件/软件设置 MCU(SPI Master):s32k31xEVB-Q48(S32K31x 系列) 设备:SB0401(单通道 ABS 模块 IC) 接口:SPI (LPSPI)(基于 DMA 传输) 周期性传输:每 10 毫秒 观察到的问题:SB0401 监控模块每大约 50 毫秒 RESET/重启 一次(参见随附日志) 观察到的行为 每次传输 SPI 字节/字时,错误计数器都会增加。 我从 SB0401 报文 18 中读取 AR(种子),并根据 AR 计算 MR。 尽管定期发送帧,SB0401 监控模块仍会RESET。 问题 MR 计算与 AR 比较(信息 18) 每次 SPI 传输时,我的错误次数都会增加。 我使用从 SB0401 报文 18 中收到的 AR 值计算 MR。 在这种情况下,错误计数器是否会在每次传输时递增,还是表示 MR/AR 逻辑不正确? 请确认与 AR 相关的正确的 MR 计算流程/计时(消息 18)以及任何常见的陷阱(例如,使用过时的 AR、错误的字节/位提取、定时窗口、计数器对齐)。 写入报文 0 时的 ACK 位置 如果我将数据写入 信息 0在 TxBuf[0]我应该在哪里检查确认? 举例说明:对于写入 TxBuf[0]中,ACK 是否出现在 RxBuf[0](同一字)中,还是在 RxBuf[1](下一个字)? 如果定义了 "ACK 出现在下一个 SPI 字/帧中 "的规则,请分享确切的映射。 参考 SW / CDD 驱动程序 是否有任何用于 SB0401(C 源代码或 AUTOSAR 风格的 CDD 集成)的参考 CDD / 示例驱动程序可供共享以获取指导? 如果不可共享,你能推荐官方的 SB0401 软件包/应用说明/参考实现细节吗? Re: Single channel ABS SB0401 Monitoring Module Issue HI 是否可以在这里显示您的公司和项目信息? Re: Single channel ABS SB0401 Monitoring Module Issue 你好@guoweisun 好的。 公司: Ettiksoft technologies Pvt ltd: Ettiksoft technologies Pvt ltd. 项目: 两轮车单通道 ABS。 Re: Single channel ABS SB0401 Monitoring Module Issue 你好@guoweisun 好的 还有其他参考代码,比如这个模块的行为。 Re: Single channel ABS SB0401 Monitoring Module Issue 对于我无法在此发布的示例代码,您能否从案例端口提交票据? 家用 Re: Single channel ABS SB0401 Monitoring Module Issue 让我再次查看有关这个特殊部分的参考代码。 Re: Single channel ABS SB0401 Monitoring Module Issue 该部件没有 CDD 或其他软件驱动器,参考原理图也需要客户签署保密协议然后共享。
查看全文
HOB Quick Start Guide What is HOB? Hob is a graphical user interface for BitBake. Its primary goal is to enable a user to perform common tasks more easily. It basically runs the Bitbake commands on the background while showing a Graphic User Interface. Hob may not work correctly with Daisy metadata as it is getting deprecated in favor of a new web based interface for Yocto under the name Toaster. Here is what you can do with the current version of Hob on the Freescale Community BSP and BSP Release. - Build images - Edit existing image recipes - Create your own image recipes Note: HOB will write the local.conf file and make modifications which may conflict with baking images outside of HOB. In this case you may need to re-run the environment initialization in order to restore the local.conf file. Starting HOB Once the environment has been initialized (using the setup-environment script on the Freescale Community BSP or the fsl-setup-release on the Freescale BSP Release) use the command below. $ hob & The GUI should then appear: You may then select the MACHINE for which you will build and the Layers of your project. HOB  will take and updated the local.conf and bblayers.conf values so the desired BSP layers will already be selected and available MACHINES on these layers will appear on the drop down menu. Once these options are set HOB will parse the recipes and create a dependency tree in order to show available images for that MACHINE. Image File System Types Advance configuration options include image file system types. Please note that HOB does not support the sdcard format so if it is needed it has to be added manually on the local.conf file and then run bitbake outside of HOB. As HOB changed the local.conf file even if the sdcard format was originally available it may be rewrite and no longer available until the following line is added to local.conf. IMAGE_FSTYPES="tar.bz2 ext3 sdcard" Recipes screen On the recipes screen we can see the recipes included on the image and available recipes, then also package groups. Time to bake! After these configurations you may either build the packages using HOB interface or run Bitbake outside of HOB. (In case you wish to have your image on the sdcard format please see the earlier image types clarification) The resulting image will be stored on /tmp/deploy/images/ You may also save your image recipe with the selected customizations. Re: HOB Quick Start Guide Please submit any questions or issues related to this document as a discussion in the community.
查看全文
【恩智浦微控制器简介】【电机控制】【基础知识(三)】永磁同步电机的工作原理及控制方法(日语博客) 目录   【恩智浦微控制器简介】【电机控制】【基础知识(三)】永磁同步电机的机理及控制方法 幕后英雄!克拉克变形和帕克变形是什么? 这一切都始于三相交流电的复杂波形。 第一步:克拉克变换——将三维图形简化为二维图形 第二步:公园改造——“旋转木马的魔力”——定格动态世界 为什么要经历如此繁琐的转换过程?这样做有什么巨大好处? 摘要:数学如何运用强大的力量随意操控复杂波形 【恩智浦微控制器简介】【电机控制】【基础知识(三)】永磁同步电机的机理及控制方法 幕后英雄!克拉克变形和帕克变形是什么? 你好! 当电动汽车平稳起步,高性能空调运行异常安静时,微型计算机以超高速执行复杂的计算,并巧妙地控制电机。 这一次,让我们通过下面的 GIF 动画来揭开“克拉克变换”和“帕克变换” (以两位在控制技术核心“矢量控制”领域工作的伟大专家的名字命名的变换)的奥秘吧! (function() { var wrapper = document.getElementById('lia-vid-6377224605112w540h540r855'); var videoEl = wrapper ? wrapper.querySelector('video-js') : null; if (videoEl) { if (window.videojs) { window.videojs(videoEl).ready(function() { this.on('loadedmetadata', function() { this.el().querySelectorAll('.vjs-load-progress div[data-start]').forEach(function(bar) { bar.setAttribute('role', 'presentation'); bar.setAttribute('aria-hidden', 'true'); }); }); }); } }})(); (查看我的视频) 这一切都始于三相交流电的复杂波形。 首先,我们来看最上面一行。这是三相交流电的世界,也是驱动电机所需的基本能量。 右图(三相正弦波) :三个波 A、B 和 C 在传播过程中,其幅值和方向都在不断变化。这三个波相互关联,但正因如此,很难凭直觉判断在任何给定时刻应该对电机施加多大的力。这就像试图指挥三个同时演奏不同乐曲的音乐家一样。 左图(旋转矢量) :然而,当这三个波的力叠加在一起时,会发生一些有趣的事情。会产生一个单一的力(旋转矢量),它平滑且持续地旋转,同时保持恒定的大小。从物理角度来看,这就是定子线圈产生的“旋转磁场”。正是这个旋转磁场吸引着转子磁铁,并成为驱动电机旋转的力的来源。 问题:如何使用微控制器轻松准确地控制这“三个不断变化的波”? 第一步:克拉克变换——将三维图形简化为二维图形 第一个魔法是“克拉克变换”,它将复杂的 3D 世界转化为更容易理解的 2D 世界。 计算公式如下: 在正常的运动控制中,假设幅值不变变换(K=2/3)和平衡三相(i_a+i_b+i_c=0),则使用以下简化公式。   ​ 右侧的图表(两相正弦波 α-β) :看!三个波形已经合并成两个波形,α(α)和 β(β)。波形(交流电)仍然存在,但少了一个变量,使其更容易观察。 左侧图表(克拉克变换 α-β) :它展示了从两个轴(α,β)观察到的世界,这两个轴与从三个轴(A,B,C)观察到的旋转矢量垂直相交。这就像将从一定角度观察到的立体物体转换成从正上方观察到的平面视图。旋转矢量本身仍然以相同的方式旋转,没有任何变化。 [克拉克转换的关键点] 在不丢失任何信息的情况下,我们将处理起来有些困难的三相坐标系转换为数学中熟悉的笛卡尔坐标系(α-β 静止坐标系),从而简化了问题。 第二步:公园改造——“旋转木马的魔力”——定格动态世界 α 和 β 的值仍然像波浪一样变化,很难跟踪它们。这就是矢量控制的精髓——“帕克变换”发挥作用的地方! 计算公式如下: ​​ 这是一个重大的思维转变:“让我们不再从静止的地面(α-β 坐标)观察旋转矢量,而是跳上一个与旋转矢量以相同速度旋转的旋转木马!”这个新的旋转坐标系被称为“ dq 旋转坐标系”。 右图(两相值 dq) :多么惊人的结果!之前变化如此剧烈的两个波现在已经变成了**几乎恒定的值(直流)**,分别称为 d 和 q! 左图(Park变换dq) :可以看到dq坐标与旋转矢量完美同步旋转。如果你站在旋转木马上的马旁边,你会看到马静止不动,对吧?原理完全相同。从旋转物体的角度来看,它看起来是静止的。 【关于公园改建的注意事项】 通过与旋转矢量以相同速度旋转的坐标系(dq 坐标)进行观察,可以将交流值视为直流值。 为什么要经历如此繁琐的转换过程?这样做有什么巨大好处? 通过这两步转变,我们获得了巨大的好处:控制的极大简化。 控制不断变化的交流电数值很困难,但直流电数值呢?如果高于目标值,就降低它;如果低于目标值,就提高它。通过这种即使是小学生也能理解的简单操作(PID控制),就可以实现对电机的完美控制。 d 和 q 的直流值各自具有重要的物理意义。 q轴值(正交轴):它直接控制电机的扭矩(旋转力)。当您踩下电动汽车的油门时,车辆会迅速加速,这是因为微电脑提高了q轴的目标值。它就像一个“动力旋钮”。 d轴值(直轴):控制电机的磁通量(磁体强度)。对于永磁电机,转子磁体的强度是恒定的,因此基本上将d轴电流控制在零是最有效的。它真可谓是一个“效率调节旋钮”。 换句话说,克拉克和帕克变换的神奇之处在于,它们将电机的“功率”和“效率”元素(通常混合在一起)分离成两个独立的直流旋钮(d 和 q) 。 摘要:数学如何运用强大的力量随意操控复杂波形 三相交流电的复杂波形会在电机内部产生旋转力(旋转矢量)。 克拉克变换通过将三维世界重新绘制成二维(α-β)来简化问题。 公园改造包括乘坐旋转木马(dq 坐标)并将交流值转换为直流值。 使用 PID 控制器可以轻松准确地控制直流转矩 (q) 和磁通量 (d) 值! 这一系列精妙的数学运算是“矢量控制”的基础,而矢量控制正是现代高性能电机的基石。正是这项神奇的技术,让我们得以尽享动力强劲、静音高效、节能环保的电机所带来的种种益处。 感谢您阅读到最后! 如果您想阅读下一章基础内容,请点击这里↓ 【基础知识 第4部分】练习!让我们用框图来了解矢量控制的工作原理! 点击这里查看具体的安装方法以及如何运行示例代码的说明。 【恩智浦微控制器简介】【电机控制】【实践篇1】永磁同步电机的机理及控制方法(日文博客) 这是一个汇总了有关恩智浦电机控制文章的网站: NXP电机控制 - 概要页面 - (日语博客) =========================​ 我们目前无法 回复 此帖子“ 评论”部分的评论。 对于由此造成的不便,我们深表歉意。如有任何疑问, 请 参考“ 如何就 技术问题 联系 NXP ( 日语 博客 ) ” 。 (如果您已经是 恩智浦的 分销商或 与 恩智浦 有业务往来 ,您可以直接联系负责人。 ) 本文将以浅显易懂的方式讲解如何使用NXP FRDM控制板“FRDM-MCXA156”进行电机控制。文章分为基础知识部分和实践部分,希望您能参考感兴趣的部分。 ・基础知识①~⑦,实践①~③ 这次,作为基础知识的第三部分,我们将使用 NXP 微控制器来解释永磁同步电机的工作原理和控制方法。 MCUXpresso MCUXpresso IDE MCUXpresso SDK MCX 电机控制 技术聚焦 日本博客
查看全文
i.MX8M plus、チャネル B のシングル チャネル DDR i.MX8M plus でチャネル B にのみ接続されたシングル チャネル LPDDR4 16 ビットを使用することは可能ですか? A が B にコネクテッドされ、B が A にコネクテッドされているデザインがありますが、単一チャネルの LPDDR4 に交換した場合、このデザインは機能しますか? i.MX 8M | i.MX 8M ミニ | i.MX 8M ナノ Re: i.MX8M plus, single channel ddr on channel B こんにちは@johan_carlsson 、 NXP サポートにお問い合わせいただきありがとうございます。 iMX8MP ハードウェア設計ガイド、iMX8MP データシート、および iMX8MP リファレンス・マニュアルに基づいています。 いいえ。NXP は、i.MX 8M Plus のチャネル B にのみ接続されたシングルチャネル LPDDR4 (16 ビット) 設計を文書化も検証もしていません。ドキュメントおよびリファレンス デザインで想定されている単一チャネル構成は、チャネル A にあります。 A <-> B が交差するデザイン (A が B に配線され、B が A に配線される) はサポートされていません。 よろしくお願いいたします。 チャビラ Re: i.MX8M plus, single channel ddr on channel B こんにちは、チャビラさん。これについては確かですか? TRMはこう言っています、 SO、DqLnSel レジスタを変更すると (バイト レーン / スライスごとに) A から B に変更できるようになるのではないでしょうか。 Re: i.MX8M plus, single channel ddr on channel B こんにちは@dav1さん、 ここでいくつかの誤解に気づきました。 リファレンスマニュアルによると: 「1 バイト内で PHY dq から DRAM dq へのマッピング (スウィズル) をサポートします… dbyte ごとに… DqLnSel のバイト セット内の各レジスタには一意の値が必要です…」 つまり、PHY を使用すると、単一の 8 ビット スライス (dbyte) 内でボード レベルのビット間のスクランブルを元に戻すことができるということです。たとえば、PHY レーン 3 が同じ dbyte 内の DRAM DQ0 にルーティングする場合、その dbyte に対して Dq0LnSel = 3 を設定します。これにより、スウィズルが論理的に元に戻された後、MRR バイナリ カウンターなどが正しい値を返すようになります。 Re: i.MX8M plus, single channel ddr on channel B こんにちは@dav1 、 現時点では、この構成は検証されておらず、可能になるとは予想されていません。 テストを試みることはできますが、これは RAM PHY の目的の機能の範囲外であるため、信頼性の高い動作は期待できないことに注意してください。 よろしくお願いします、 チャビラ Re: i.MX8M plus, single channel ddr on channel B この回避策を実行することは可能でしょうか - DDRを2チャネルとして設定する - AとBにまたがってインターリーブしないように設定する - Bセクションのみを有効として定義する Re: i.MX8M plus, single channel ddr on channel B 私の回答に何か誤りがありましたら、ご指摘ください。もし、何も問題がなく、この投稿が前回と同様に再度削除されたら、これを Facebook に投稿します。 しかし、RPA ツールがなぜスワップを実行できるのかを示します。 MX8M_Plus_LPDDR4_RPA_v10.xlsx https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/i-MX-8MPlus-m865S-DDR-レジスタ-プログラミング-エイド-RPA/ta-p/1235352 Re: i.MX8M plus, single channel ddr on channel B 試してみましたか?         Re: i.MX8M plus, single channel ddr on channel B @dav1スワップの問題が発生すると、テーブルが赤くなり、警告が表示されます。ただし、チャネル A とチャネル B が入れ替わると、この RPA ツールは緑色のまま表示され、対応するレジスタも変更されます。 したがって、可能性は 2 つしかありません。 RPA ツールが間違っています。 リファレンスマニュアルが間違っています。 2 つのうち 1 つは真実である必要があります。これは、 @Chaviraが明確に/回答する必要があることです。
查看全文