Multi Source Translation Content

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Multi Source Translation Content

Discussions

Sort by:
SR150の立ち上がり時間と立ち下がり時間の要件 こんにちは、チームの皆さん、 私たちはSR150ベースの村田UWBモジュールLBUA0VG2BP-741とSTM32N657 MCUを設計に使用しています。MCU側からは最高ドライブ強度(「Very High Speed」)を設定しています。クロック信号とデータ信号の立ち上がり時間と立ち下がり時間よりも短い時間で動作しています。 時計の場合(20%~80%) 要求仕様:立ち上がり時間:2.15ns、立ち下がり時間:2ns 以下のように取得しています 1. 立ち上がり時間:3.584ns 2. 落下時間:4.937ナノ秒 データの場合(20%~80%) 要求仕様:立ち上がり時間:0.6ns、立ち下がり時間:0.55ns 以下のように取得しています 1. 立ち上がり時間:3.509ns 2. 落下時間:4.38ナノ秒 UWBモジュールのクロックピンとデータピンを設定して、必要な立ち上がり時間と立ち下がり時間を実現する方法はありますか? この上昇と下降のタイミングがコミュニケーションに影響を与えるかどうか、ご案内いただけますか? 参考のために波形を添付しました。 迅速なご対応に大変感謝いたします。 よろしくお願いします。 Re: Rise time and Fall time requirement for SR150 SR150 GPIOのプルアップ/プルダウン状態は製造段階で設定されます。 SR150の場合、デフォルト設定はOTPメモリに書き込まれます。オーバーライド状態が可能 ファームウェアによって。これは、SR150にファームウェアがロードされている場合にのみ利用可能です。詳細については、専任のFAEにお問い合わせする必要があるかもしれません Re: Rise time and Fall time requirement for SR150 こんにちは、チームの皆さん、 いいえ。私たちの設計では、MCUがSPIマスターとしてSPIクロックを生成し、SR150はSPIスレーブとして動作します。SR150がスレーブデバイスとして動作している際に、タイミングの問題でSPIデータのサンプリングが正しく行われない可能性はあるのかどうかを知りたいです。 また、SR150のピンを内部プルアップなどの設定で構成することは可能でしょうか?   よろしくお願いします。 Re: Rise time and Fall time requirement for SR150 SR150は最大16.66 Mbits/sのSPI-バス・マスタ/スレーブインターフェースをサポートしています クロック速度制御とは、SR150を使ってSPIバスのクロックを制御するという意味でしょうか? Re: Rise time and Fall time requirement for SR150 こんにちは、 あなたの調子が良いといいのですが。ご不便をおかけして申し訳ありませんが、これらの製品の情報はNDA(秘密保持契約)に基づいており、公開されていません。 ご不便をおかけして申し訳ありませんが、ご質問はトリ メンションのUWBパートナーからのモジュール/キットに関するものなので、サポートを受けるには直接その会社に相談する必要があります。 すべてのサポートはUWBパートナー、今回は村田氏から直接提供すべきです。 ドキュメントとソフトウェアは、対応するUWBモジュール・パートナーから配布されています。 モジュールを選択すると、パートナーのページに移動し、データシート、アプリケーション・ノート、必要なソフトウェアにアクセスできます。 ご迷惑をおかけして、重ねてお詫び申し上げます。 よろしくお願いいたします。 リカルド Re: Rise time and Fall time requirement for SR150 こんにちは、チームの皆さん、 SR150がスレーブデバイスとして動作している際に、タイミングの問題でSPIデータのサンプリングが正しく行われない可能性はあるのかどうかを知りたいです。 よろしくお願いします。
View full article
Rise time and Fall time requirement for SR150 Hello Team, We are using SR150 based Murata UWB module LBUA0VG2BP-741 with STM32N657 MCU in our design. We have set highest drive strength ("Very High Speed") from MCU side. We are below rise time and fall time with clock and data signals. For Clock (20% to 80%) As per requirement rise time : 2.15ns and fall time : 2ns We are getting as per below  1. Rise time : 3.584ns  2. fall time : 4.937ns For Data  (20% to 80%) As per requirement rise time : 0.6ns and fall time : 0.55ns We are getting as per below  1. Rise time : 3.509ns  2. fall time : 4.38ns  Is there any way to configure UWB module clock and data pins to achieve the required rise time and fall time?  Could you please guide us if this rise time and fall time will impact communication or not? I have attached waveform for reference. Your quick response is highly appreciated. Thanks Re: Rise time and Fall time requirement for SR150 The SR150 GPIOs pullup/pulldown state are configured during the manufacturing phase of SR150, the defaults setting are written in OTP memory. An override state is possible by the firmware. Which only available when firmware is loaded in SR150. You may need to contact with dedicated FAE for detailed information Re: Rise time and Fall time requirement for SR150 Hello Team, No. In our design, the MCU is the SPI master and generates the SPI clock, while the SR150 operates as the SPI slave. We would like to understand whether there is any possibility of the SR150 incorrectly sampling SPI data due to timing, while operating as a slave device.  Also, is there any possibility to configure SR150 pins such as internal pull up?   Thanks.  Re: Rise time and Fall time requirement for SR150 The SR150 supports SPI-bus Master/Slave interface, up to 16.66 Mbits/s For clock speed control, do you mean control the SPI bus clock with SR150? Re: Rise time and Fall time requirement for SR150 Hello Team, We would like to understand whether there is any possibility of the SR150 incorrectly sampling SPI data due to timing, while operating as a slave device.  Thanks Re: Rise time and Fall time requirement for SR150 Hello, Hope you are doing well. Sorry for the inconvenience this might cause you but as the information of these products it's under NDA (Non-Disclosure Agreement) the information it's not public. I apologize for the inconveniences, but as your question is about a Module/Kit from one of our Trimension UWB Partners, you would need to go directly with them to receive support for their Module/Kit. All the support should come directly from the UWB Partner, in this case from Murata. The documentation and software is distributed by the corresponding UWB Module partner. By selecting a module, you will be guided to our partner’s page where you can access datasheets, application notes, and the required enablement software.   I apologize again for the inconveniences. Best Regards, Ricardo
View full article
このフォーラムでスマートカードを使っている方はいらっしゃいますか? この件についてのThreadはあまり見かけませんが、組織内でスマートカード認証を強制している人はいるはずだと思います。 モバイルのスマートカード Re: Anyone on here use Smart Cards in their environment? こんにちは、@ferio23さん あなたの調子が良いといいのですが。 スマートカードは認証やアクセス制御などのアプリケーションで広く使われています。完全なソリューションを開発しスマートカードを運用するには、適切なミドルウェアやイネーブルメントソフトウェアが必要です。追加のガイダンスについては、 推奨ベンダーやソリューションプロバイダーについては パートナー一覧 をご参照ください。 よろしくお願いいたします。 エドゥアルド。
View full article
Zephyr GUI Development with GUI Guider In recent years, Zephyr has gained strong momentum in embedded development. With broad hardware support, an active open-source ecosystem, and flexible extensibility, it is increasingly being used in consumer electronics, IoT devices, and industrial control systems. At the same time, as embedded products place higher demands on graphical user interfaces, developers are looking for more efficient ways to design GUIs and deploy them quickly on Zephyr-based platforms. This article uses GUI Guider 2.0.1, the i.MX RT1064-EVK development board, and the RK043FN66HS-CTG display as an example. It walks through the complete workflow, from UI design and Zephyr application export to project build, flashing, and runtime verification, so you can get your designed interface running on the board with confidence. Let’s start with the development environment and complete this hands-on GUI Guider and Zephyr workflow step by step. 1. Set Up and Verify the Zephyr Development Environment Before getting started, follow the Zephyr development environment setup section in the official GUI Guider User Guide. Then use an official sample to confirm that the target board can be built, flashed, and run successfully. 2. Generate and Export the Zephyr Application 1. Create a Project and Generate Code After creating an i.MX RT1064-EVK-based project in GUI Guider and completing the UI design, click Generate Code to generate the application code. 2. Export the Zephyr Application Click OS > Zephyr to export the application to the target directory in your Zephyr workspace, for example: /gui_guider_demo 3. Check the Exported Files After the export is complete, the application directory should contain the following files and folders: gui_guider_demo/ ├── CMakeLists.txt ├── prj.conf └── src/     ├── main.c     ├── custom/     └── generated/ CMakeLists.txt: defines the Zephyr application build entry point and specifies the source files to compile. prj.conf: configures options such as LVGL, memory, and thread stack settings. src/main.c: the application entry file, responsible for initializing the UI and starting the application logic. src/custom/: stores custom business logic to avoid being overwritten when code is regenerated. src/generated/: stores UI code automatically generated by GUI Guider. Direct modification is not recommended. 3. Build and Flash the Zephyr Application Open a terminal, go to the root directory of the exported Zephyr application, and run the following commands: west build -p always -b mimxrt1064_evk --shield rk043fn66hs_ctg . west flash Note: The . in the command indicates the current application directory. This applies to Windows, Linux, and macOS. 4. Verify the Runtime Result Runtime verification: After flashing is complete, check that the screen displays the designed UI correctly and that touch interactions respond as expected. If these checks pass, the deployment workflow from GUI Guider to Zephyr is working properly. Common issues: No display output or abnormal UI behavior: check the serial log, display shield configuration, and display resolution settings in the GUI Guider project. Out-of-memory errors during build or runtime: increase CONFIG_LV_Z_MEM_POOL_SIZE in prj.conf as needed. Main thread stack overflow or unexpected reboot: increase CONFIG_MAIN_STACK_SIZE. After updating the configuration, rebuild and flash the application again. The exact values should be determined based on the error logs, UI complexity, and available hardware resources. 5. Establish a Repeatable UI Iteration Workflow After the first build and deployment are complete, you can iterate on future UI changes using the following workflow: Regenerate code → Export Zephyr application → Build → Flash → Verify   To prevent custom logic from being overwritten when code is regenerated, keep business logic in the custom code area. It is also recommended to put both the GUI Guider project and the exported Zephyr application under version control. Summary GUI Guider provides a complete path from UI design to Zephyr application export. Once the initial environment setup is complete, future UI updates only require repeating the generate, export, build, and verify workflow. This can significantly reduce the effort required for UI iteration and board-level deployment.
View full article
From Figma to GUI Guider: Accelerating Embedded GUI Development Bridging design and engineering to move embedded GUI projects from concept to implementation faster 1. Why a Smoother Path from Design to Embedded GUI Matters In embedded GUI projects, the interface design is often completed in Figma, while the engineering implementation still needs to be rebuilt in GUI Guider by creating widget hierarchies, configuring resources, and validating the final result. For projects with many screens or frequent design iterations, this process can be repetitive and may introduce gaps between the design intent and the implemented interface. Figma to GUI Guider offers a structured workflow that helps convert Figma designs into GUI Guider project assets. It maps Figma layers and components to LVGL widgets, generates GUI Guider project JSON, and exports a project package that can be imported into GUI Guider. The converted result provides a practical engineering starting point, while developers can continue editing, simulating, and validating the project in GUI Guider. Positioning This plugin is designed to shorten the initial conversion path from design handoff to engineering implementation. Figma designs should be treated as implementation references, rather than a complete guarantee of embedded runtime behavior. Actual projects still need to be adapted and validated against the resource constraints and rendering capabilities of the target platform. 2. How the Plugin Connects Design and Engineering Capability Description Read the Figma design tree Displays the Figma Design Tree in the plugin panel, helping developers review the node hierarchy of the design. Configure LVGL type mapping Sets the appropriate LVGL widget type for each design node and controls whether the node is included in conversion. Generate GUI Guider project JSON After conversion, previews the generated GUI Guider project JSON in the output area. Export the project package Exports a zip package via Download, including the converted project files and related image resources. Import into GUI Guider After extracting the exported package, import the .guiguider file in GUI Guider through Import Project and continue development. 3. Quick Start: Running the Plugin in Figma The Figma to GUI Guider plugin is available on Figma Community and can be launched directly from the Figma desktop app or browser version, without manually downloading a plugin package. The current release supports Windows. Open the Figma desktop app or browser version and sign in to your Figma account. Go to the Figma to GUI Guider plugin page, or search for the plugin name in Figma Community. On the plugin page, click Open in… to run it directly, or save it to your account for future use. Open the target design file and launch the plugin from the Plugins menu. You can also right-click on the canvas and run it from the Plugins menu. 4. Understanding the Plugin Interface After the plugin is launched, it appears as a panel inside the Figma workspace. For first-time users, we recommend becoming familiar with the key areas of the interface before configuring mappings and running the conversion. Figma Design Tree: Shows the layer and component hierarchy of the current design file. Each node can be configured with an LVGL type and conversion status. Design Node: Displays the node name and Figma type, and uses the LVGL Type Selector to define the widget type after conversion. Refresh / Convert: Refresh reloads the current Figma file structure, while Convert generates the output based on the current mapping configuration. About: Provides plugin information, version details, support contacts, and reference links. GUI Guider Project JSON: Shows the generated project JSON after conversion, making it easy to quickly review the structure. Clear / Copy / Download: Clears the output, copies the JSON, or exports the project zip package and image resources. 5. Recommended Workflow: Review Mapping Before Generating the Project When the plugin is opened for the first time, it generates an initial mapping based on the Figma nodes. Instead of converting immediately, reviewing and adjusting the node mappings first usually produces a project structure that better matches engineering expectations. 1 Review the automatic mapping Browse the design tree and confirm that text, buttons, images, and other nodes are assigned appropriate LVGL widget types. 2 Adjust widget types If the automatic mapping does not meet expectations, update the node type through the Type Selector. Mapping settings are saved in the Figma project. 3 Control the conversion scope Use Disable in Conversion for nodes that should not be included in the output. Disabled nodes will not appear in the generated JSON, while their child hierarchy is preserved. 4 Run Convert After configuration is complete, click Convert to generate the GUI Guider project JSON and review the result in the output area. 6. Generate the Project and Import It into GUI Guider After conversion is complete, first review the structure in the GUI Guider Project JSON area. If the node type, hierarchy, or disabled status does not match expectations, return to the design tree, adjust the mapping, and run Convert again. Once the result is confirmed, click Download to export the zip package. The exported package includes the converted project files and related image resources. Extract the zip file, open GUI Guider, select Import Project on the home page, and choose the .guiguider file from the extracted folder to complete the import. If the design uses custom fonts, copy the font files to the resources/font folder in the project directory. After import, developers can continue editing the interface in GUI Guider and validate the project using the JS simulator, the C simulator, or the target platform. 7. Use Cases and Best Practices This plugin is especially useful for teams that already have Figma designs and want to quickly create a GUI Guider project starting point. It can support projects with clear page structures, frequent design iterations, or a need to reduce repetitive communication between design handoff and embedded GUI development. Keep the design structure close to the widget hierarchy: The closer the Figma layer structure is to the parent-child relationship of LVGL widgets, the easier the converted result is to understand and maintain. Treat the converted result as an engineering starting point: The plugin helps reduce initial setup work, but resources, fonts, rendering capabilities, and runtime behavior still need to be validated on the embedded platform. Keep the import environment clean if import fails: If the project cannot be imported successfully into GUI Guider, remove the previously imported design project and retry from a clean state. 8. Summary: Bringing Design into the Engineering Workflow Faster The Figma to GUI Guider plugin provides a more direct connection between Figma designs and GUI Guider projects. Through design tree parsing, LVGL type mapping, node-level conversion control, JSON preview, and project package export, developers can bring existing design assets into the GUI Guider workflow faster, then continue with engineering edits, simulation, and target-platform validation. For teams that already use Figma for interface design, this plugin helps reduce repetitive interface-building work and enables smoother collaboration between design handoff and embedded GUI development. Search for Figma to GUI Guider in Figma Community to try the plugin, then use GUI Guider to continue editing, simulation, and target-platform validation. We welcome your questions, suggestions, and practical feedback as we continue improving the workflow from design to embedded GUI implementation.
View full article
Using the I8 Image Format within GUI Guider Reducing image resource usage in embedded GUI applications When developing embedded GUIs, many projects encounter a familiar challenge: image resources begin consuming a significant amount of Flash before the interface becomes complex. Icons, buttons, status indicators, logos, and other assets may seem small individually, but their cumulative footprint can reduce the space available for future features. I8 (Indexed 8-bit) is an effective option for reducing image storage while preserving acceptable visual quality. This guide explains the fundamentals of I8, its suitable use cases, and practical recommendations for using it in GUI Guider projects. 1. Why Use the I8 Image Format? In MCU-based projects, image resources often occupy a large portion of Flash. For assets with a limited number of colors, such as icons, status images, logos, and industrial HMI elements, I8 can reduce storage usage while preserving the essential visual appearance. I8 stores an image using a pixel-index and color-palette mechanism. Each pixel stores a one-byte index, which maps to an actual color in the palette. This makes I8 especially suitable for UI assets with concentrated color sets, clear boundaries, and highly graphical content. Storage Comparison of Common Image Formats Image Format Typical Storage per Pixel Suitable Use Cases RGB888 3 bytes Images with rich colors and high color-fidelity requirements RGB565 2 bytes Common MCU displays balancing visual quality and resource usage ARGB8888 4 bytes Images requiring an alpha channel and high-quality rendering I8 1 byte + palette Icons, logos, and HMI elements with a limited color set 2. What Is an I8 Image? I8 stands for Indexed 8-bit. Instead of storing complete color information in every pixel, an I8 image stores an 8-bit index that points to a color in a palette. Because an 8-bit value represents up to 256 indices, an I8 image supports a maximum of 256 colors. This format is well suited to UI assets with limited colors, sharp boundaries, and graphic-style content. Key Advantages Smaller image files and lower Flash consumption. Lightweight resource loading for memory-constrained MCUs. Well suited to icons, industrial HMI elements, status images, and logos. More flexible UI resource management when combined with the LVGL 9.4 image display mechanism. Limitations Supports no more than 256 colors. Not suitable for photographs, video frames, product renderings, or other color-rich assets. Images with excessive colors may show banding, color distortion, or unnatural transitions after conversion. 3. Recommended Workflow in GUI Guider Step 1: Prepare the Image Resources Prefer PNG assets with a limited number of colors. Before importing an image, check whether it contains excessive gradients or photographic content. Step 2: Import Images into GUI Guider Add the image resources through Resource Manager and select an appropriate color format based on the display requirements of the project. Step 3: Select the I8 Color Format Convert suitable resources to I8 and preview the visual result in GUI Guider. Step 4: Validate in the Simulator Use GUI Guider Simulator to check color rendering, transparent regions, edge transitions, and the overall appearance of the page. Step 5: Generate Code and Validate on the Target After confirming that the result meets the requirements, generate the code and verify the application on the target development board. 4. Resource Usage Comparison: I8 vs. RGB565 The following theoretical estimates illustrate the resource usage of different formats. Actual size depends on image content, palette size, compression, and project configuration. Test Resource Image Format Theoretical Data Size 128 × 128 icon RGB565 Approximately 32 KB 128 × 128 icon ARGB8888 Approximately 64 KB 128 × 128 icon I8 Approximately 16 KB + palette From a resource-budget perspective, I8 reduces image storage when the color count can be controlled. The cumulative savings become more significant in HMI projects that contain many icons and status images. 5. Important Considerations When Using I8 1. Prefer Images with Fewer Than 256 Colors The core limitation of I8 is the palette size, so images with fewer colors are the best candidates. 2. Always Check the Visual Result After Conversion Even when an image contains relatively few colors, verify the result both in GUI Guider Simulator and on the target hardware. 3. Pay Attention to Transparency and Edge Transitions For images with transparent or anti-aliased edges, check for jagged borders, artifacts, or unnatural colors after conversion. 4. Do Not Convert Every Image Blindly I8 is an optimization technique, not the default choice for every asset. Complex backgrounds and photographic resources should continue to use a more appropriate color format. 6. Project Practice Recommendations In the GUI Guider Air Conditioner and Agriculture Control templates, selected images use I8 to save storage space and enable deployment on the FRDM-MCXN236 development board. Set suitable icons and status images to the I8 format. Compare the visual quality and resource size before and after conversion. After code generation, confirm that generated resources use the expected image format. Validate visual quality, refresh performance, and memory usage on the target platform. Example 1: Air Conditioner The Air Conditioner application template contains many animations and small icons. The comparison below shows ARGB8888 and I8 results. While maintaining image quality, I8 saves approximately 950 KB, allowing the application to run on the FRDM-MCXN236 development board. Figure 1. Air Conditioner comparison: I8 (left) and ARGB8888 (right). Example 2: Agriculture Control In the Agriculture Control application template, using I8 saves approximately 16.5 KB of storage. Figure 2. Agriculture Control comparison: I8 (left) and ARGB8888 (right). Conclusion For small and medium-sized HMI projects on platforms such as MCX and i.MX RT, I8 is a practical method for optimizing image resources. It is particularly useful when a project contains many icons, status indicators, menu graphics, and decorative elements. Applied selectively and validated carefully, I8 can release more Flash space while maintaining an appropriate visual experience.
View full article
[建议] 端口外设引脚列表中应显示引脚名称 向端口外设添加引脚时,最终会得到一个很长的 PortPin 和 UnTouchedPortPin 列表。 列表从 0 开始编号,没有名称标识,因此如果您需要更改某个特定引脚的设置,则必须点击浏览整个列表才能找到它。 当然,现在您可以使用一些外部工具创建一个列表,将 ID 映射到引脚名称/功能,但如果能在实际工具中立即看到这些信息,那就更好了。 我的建议: 在“端口”外围设备 PortPin 和 UntouchedPortPin 列表中,除了 ID 之外,还会显示引脚的名称。名称可以从 PortPin 设置中获取,也可以从 Pin 标签中获取,如果您想进一步自动化整个过程的话。 这种改进也可以应用于目前只显示 ID 的其他列表,例如 PortContainer、DioPort、DioChannels 等。 Eclipse IDE 使用和设置 概述 Re: [suggestion] Pin names should be shown in Port peripheral PortPin list 嗨@daniel_meier 我明白你的意思,仅根据 PortPin 和 UnTouchedPortPin 列表很难确定具体的引脚。谢谢你的建议。我会将您的反馈意见转达给我们的软件团队,以便他们评估是否可以在未来的版本中进行改进。 关于修改特定引脚配置,在最新的 RTD 版本中,应该通过引脚工具而不是外设工具来完成。事实上,大多数与引脚相关的配置已无法通过外设工具进行编辑,必须直接在引脚工具中进行配置。 BR,VaneB Re: [suggestion] Pin names should be shown in Port peripheral PortPin list @VaneB谢谢你的回复。 所以这就解释了为什么我几乎无法在那里更改任何内容(只有“锁定寄存器”和“模式可更改”)。 那是不是意味着,除非我需要上述选项,否则我不需要对 PortContainer 部分进行任何设置? 问题是,始终至少有一个 PortPin 默认设置为 PCR 0,并且无法将其移除。 我使用的是 S32K1 RTD AUTOSAR R21-11 版本 3.0.0。QLP06 适用于 S32K116。 Re: [suggestion] Pin names should be shown in Port peripheral PortPin list 嗨@daniel_meier 理论上来说,是的。但是请注意,您需要将所有已配置的引脚添加到 PortContainer 中,并为每个引脚设置相应的 PortPin PCR 配置。 关于锁定寄存器选项,如果您在引脚工具中为引脚选择“锁定”,则外设工具中的端口驱动程序中相应的引脚也会显示错误。这样可以更容易地识别受影响的引脚,尤其是在处理大量已配置引脚时。 关于您提到的无法拔出的销钉,我不太确定我是否完全理解了情况。启用引脚工具创建新应用程序时,默认添加 PTA0。但是,一旦配置了其他引脚,如果您的应用不需要 PTA0,则可以将其删除。因此,除非您需要保留它以更改或配置其功能以用于您的应用程序,否则删除它应该不会有任何问题。 Re: [suggestion] Pin names should be shown in Port peripheral PortPin list 啊,我现在明白你的意思了。 是的,移除默认密码后,添加其他密码就可以正常工作了。 从您的回复中我了解到,无需向端口外设添加任何引脚,但后来我想起来一位同事在另一个主题中提到,在 RTD 的未来版本中,“引脚”工具将自动向端口外设添加引脚。
View full article
Code Warrior ver 8 Palm dev tools by metrowerks Does anyone have a good use for my old Code Warrior ver 8 dev tools by metrowerks? Both the Windows and Mac hosted with matching manual. Also have some other 3rd Palm development books in storage along with a Palm device. They need find a good home. Re: Code Warrior ver 8 Palm dev tools by metrowerks Thank you for the interest in CodeWarrior, while it may be possible to find or share older versions of CodeWarrior, CodeWarrior 8 is a legacy product that is no longer supported. The pages and content for previous versions have been kept available for historical reference only, so support for any CodeWarrior version prior to v11.1 is very limited. We apologize for any inconvenience this may cause. The currently maintained version is CodeWarrior v11.1, which supports a wide range of 8-bit devices and runs on Windows 10/11. We recommend using v11.1 going forward, You can download it here: CodeWarrior for MCUs (Eclipse IDE) v11.1 Best Regards Re: Code Warrior ver 8 Palm dev tools by metrowerks   Dear Luis, Thank you for your response. I am Raffaele Mazzarelli, Technical Repair Division Manager at AQS, an Italian company specializing in industrial electronics repair, particularly photovoltaic inverters. We are currently investigating a technical problem affecting the Santerno ES821 control board, which contains two digital signal processors: Motorola/Freescale DSP56F807PY80E Texas Instruments TMS320VC33PGE The main issue concerns the board’s lifetime operating timer, which does not retain its operating-time information correctly. We have already invested considerable time and resources in diagnosing this problem, including hardware investigations, memory analysis and tests involving both processors. Unfortunately, we have not yet determined whether the lifetime timer is managed by the Motorola DSP56F807, the Texas Instruments TMS320VC33, or through interaction between the two processors. We are particularly interested in obtaining technical support regarding: The internal non-volatile memory organization of the DSP56F807. The possibility of accessing and analyzing its firmware and stored operating parameters. The availability of CodeWarrior Development Studio for DSC 8.3 and compatible debugging tools. Any technical information that could help determine whether the Motorola processor is responsible for storing or managing the lifetime timer. I would also like to emphasize that we are willing to physically send an ES821 control board for technical examination, if NXP or a qualified technical partner can provide this service. If useful, we could also discuss providing a fully operational board for comparison with the faulty one. We would be happy to arrange shipment to an authorized technical facility, subject to prior agreement regarding the examination procedure and any associated costs. Our objective is to identify the root cause of this recurring problem and develop a reliable repair solution for industrial equipment that is still in service. Could you please advise whether NXP has a specialist, technical department or authorized partner who might be able to assist us? We would greatly appreciate your support. Best regards, Raffaele Mazzarelli Technical Repair Division Manager AQS – Italy
View full article
HB200x AUTOSAR R21-11 バージョン 0.8.0 S32K3_RTD_6_0_0_D2506_ASR_REL_4_7_REV_0000_2025 がサポートしていません こんにちは、NXPさん。 HB200x AUTOSAR仕様SDKをS32 Design Studioに統合しようとしましたが、以下のエラーメッセージが表示されます。 問題点:Mc33hbはツールチェーン/IDEプロジェクトに存在しません。プロジェクトはコンパイルできません! レベル: エラー タイプ:検証 ツール:ツールチェーン/IDEプロジェクト 起源:ペリフェラル ターゲット:ツールチェーン/IDEプロジェクト:M7_0 リソース:platform.driver.mc33hb CDD_Mb33Hb.c ファイルでさえCDD_Mb33Hb.hなどは、SDKがS32 Design Studioアプリケーション(v3.6.4)にインストールされた際には追加されていませんでした。 Re: HB200x AUTOSAR R21-11 Version 0.8.0 not supported by S32K3_RTD_6_0_0_D2506_ASR_REL_4_7_REV_0000_ こんにちは、 どうやら間違ったRTDバージョンを使用しているようです。HB200x AUTOSAR R21-11 0.8.0リリースノートに基づき、このソフトウェアはSW32K3_RTD_4.4_R21-11_3.0.0_D2303_DS_updatesite.zip(S32 Design Studio IDE v3.5にインストールする必要があります)上で使用可能です。 PetrS_0-1789471295419.png BR、ペトル Re: HB200x AUTOSAR R21-11 Version 0.8.0 not supported by S32K3_RTD_6_0_0_D2506_ASR_REL_4_7_REV_0000_ 最新のAUTOSARライブラリを使いたい場合、RTD 6.0.0以上をサポートするHB200x SDKの他バージョンはありますか? Re: HB200x AUTOSAR R21-11 Version 0.8.0 not supported by S32K3_RTD_6_0_0_D2506_ASR_REL_4_7_REV_0000_ 私たちはRTD 6.0.0以降の使用を推奨しています。既存のドライバをRTD 6.0.0と互換性のあるものにアップグレードする方法があれば助かります。アドバイスをお願いします。
View full article
KW47-EVK:コンパイラスイッチについて(BOARD_LOCALIZATION_REVISION_SUPPORT) 現在、 KW47-EVKを使用しており、このコンパイラスイッチについていくつか質問があります。 BOARD_LOCALIZATION_REVISION_SUPPORTの目的についてですが、SDK内のコメントから、KW47-LOCボード向けに特別に導入されたと理解しています。この理解が正しいか確認していただけますか? KW47-EVKを使用する場合、 BOARD_LOCALIZATION_REVISION_SUPPORTを無効にする必要があるというのは正しいでしょうか? BOARD_LOCALIZATION_REVISION_SUPPORTが無効になっている場合、PLATFORM_InitLcl() では次のピンが Alt6( RF_GPO)として構成されます。この設定の目的は何ですか? PTA18 PTA19 PTA20 この設定はデバッグ目的のみを想定したものですか?それとも、デバイスを正しく動作させるためには、これらのピンをRF_GPOとして構成したままにしておく必要があるのでしょうか?   以下のコードは、これらのピンが設定されている場所を示しています。 よろしくお願いいたします。 勝也 Re: KW47-EVK: Regarding the compiler switch (BOARD_LOCALIZATION_REVISION_SUPPORT) こんにちは、 あなたの調子が良いといいのですが。   BOARD_LOCALIZATION_REVISION_SUPPORTマクロはローカリゼーションボードのRF-GPOルーティングを選択し、ローカリゼーションボード(KW47-LOC)が使用されている場合に使用され、アプリケーションがローカライズや外部アンテナスイッチ機能を使用する場合にのみ必要となります。この場合、KW47-EVKを使用している場合、マクロは無効化されており、EVKのデフォルトRF経路の通常の動作にはRF-GPOの再構成は必要ありません。   BOARD_LOCALIZATION_REVISION_SUPPORTマクロが有効になると、PLATFORM_InitLcl()はPTD(PTD1、PTD2、PTD3)ピンのRF_GPO[7:4]グループを選択します。 無効にすると、RF_GPO[3:0]が選択され、PTA18、PTA19、PTA20がAlt6として構成され、それぞれRF_GPO_0、RF_GPO_1、RF_GPO_2に対応します。 さらなる参考として、 KW47リファレンスマニュアルの52.3.2.5節「無線定位アンテナ選択」を参照してください。   よろしくお願いします、 ソフィア。 Re: KW47-EVK: Regarding the compiler switch (BOARD_LOCALIZATION_REVISION_SUPPORT) こんにちは、ソフィア。 以下の情報について教えていただけますか?   3. BOARD_LOCALIZATION_REVISION_SUPPORT が無効になっている場合、PLATFORM_InitLcl() では次のピンが Alt6( RF_GPO)として構成されます。この設定の目的は何ですか? PTA18 PTA19 PTA20 この設定はデバッグ目的のみを想定したものですか?それとも、デバイスを正しく動作させるためには、これらのピンをRF_GPOとして構成したままにしておく必要があるのでしょうか?   よろしくお願いいたします。 勝也   Re: KW47-EVK: Regarding the compiler switch (BOARD_LOCALIZATION_REVISION_SUPPORT) こんにちは、ソフィアさん。 通常動作時において、PTA18、PTA19、およびPTA20をAlt6として設定する必要はなく、この設定はデバッグ目的のみに使用される、という理解でよろしいでしょうか? よろしくお願いいたします。 勝也 Re: KW47-EVK: Regarding the compiler switch (BOARD_LOCALIZATION_REVISION_SUPPORT) こんにちは@Ketsuya さん 未改造のKW47-EVKは単一のデフォルトアンテナを使用しているため、通常のRF運用にはアンテナ選択RF_GPOルーティングは不要です。BOARD_LOCALIZATION_REVISION_SUPPORTは、アプリケーションがKW47-LOCルーティングやアンテナダイバーシティボードを対象としていない限り無効にすべきです。RF_GPO構成はデバッグだけでなく、ローカライゼーションや外部アンテナスイッチ制御にも使われます。 アプリケーションがPLATFORM_InitLcl()を呼び出すと、SDKは自動的にPTA18、PTA19、PTA20をAlt6(RF_GPO)として設定するため、手動設定は不要です。PLATFORM_InitLcl() が呼び出されない場合、ピンは通常の pin_mux.c の状態を維持します。設定は必要ありません。RF_GPO設定はEVKのデフォルトのRF動作には必須ではありません。 よろしくお願いします、 ソフィア。
View full article
是否可以在不使用 MCAL 的情况下实现 S32K1 LIN 协议栈? 这种情况有可能实现吗? 我们使用的是 S32K116 控制器,它只有 128KB 的闪存。 由于添加了用于基本系统功能的外围驱动程序,内存空间已经不足。 现在的问题是:是否可以在不使用 MCAL 外设驱动程序的情况下添加 LIN 协议栈? 这样我就可以改用 IP 驱动程序来减少内存使用量。 初步实验表明,我无法在 linstack_config 中间件中选择 Lpuart_Lin IP 驱动程序。我是否遗漏了什么设置,导致我无法选择它? Re: Is it possible to implement the S32K1 LIN Stack without MCAL? 嗨@daniel_meier 你可以看看这篇文章。 https://community.nxp.com/t5/S32-SDK/LIN-Middleware-stack-configuration-issue/td-p/1739186https://community.nxp.com/t5/S32K/How-to-config-Lin-module-as-slave-node-base-MCAL-driver-in-S32K/td-p/1077781 在 RTD 驱动程序中,LIN 协议栈取决于 MCAL 层的配置。 如果您的项目并非严格要求使用 RTD 驱动程序,您可以尝试使用 S32K1 SDK。 https://www.nxp.com/pages/s32-software-development-kit-for-s32k1:S32SDK-ARMK1
View full article
SDK_DelayAtLeastUs is inaccurate by 30% in IMXRT1186 M7 core Hi All, I am playing with FRDM-IMXRT1186 board where MCU has dual core M33 and M7. #iMXRT1186 I found that SDK_DelayAtLeastUs function is not that accurate. I expect the delay to be 0.5 sec(500,000 us) but the actual time is about 0.6 sec.  CoreDebug->DEMCR |= CoreDebug_DEMCR_TRCENA_Msk; DWT->CYCCNT = 0; DWT->CTRL |= DWT_CTRL_CYCCNTENA_Msk; uint32_t t0 = DWT->CYCCNT; SDK_DelayAtLeastUs(500000U, SDK_DEVICE_MAXIMUM_CPU_CLOCK_FREQUENCY); LED_TOGGLE(); cycles = DWT->CYCCNT - t0; In SDK_DelayAtLeastUs, count = count / 3U * 2U can be count = count / 2U to get more accurate result. But I am not sure if this modification makes sense. #elif (__CORTEX_M == 7) /* Divide value may be different in various environment to ensure delay is precise. * Every loop count includes three instructions, due to Cortex-M7 sometimes executes * two instructions in one period, through test here set divide 1.5. Other M cores use * divide 4. By the way, divide 1.5 or 4 could let the count lose precision, but it does * not matter because other instructions outside while loop is enough to fill the time. */ count = count / 3U * 2U; Thank you. Re: SDK_DelayAtLeastUs is inaccurate by 30% in IMXRT1186 M7 core Dear @ewlee , The change to count = count / 2U may improve the result in your current test environment, but we would not recommend using it as a general fix. SDK_DelayAtLeastUs() is intended to provide a loop-based “at least” delay, and its accuracy may be affected by the runtime environment.  If an accurate 500 ms interval is required, we recommend using a hardware timer, such as a General Purpose Timer (GPT), for more precise timing. Best Regards, Shelly
View full article
MCULinkプローブを使用してターゲットボードからフラッシュイメージを保存できません W10、リンクサーバー 26.9.130、MCULink FW 3.174: SWDを使用してLPC804ボードからフラッシュイメージを保存したいです。MCULinkプローブは持っており、LinkFlashツールを含むLinkserverパッケージをインストールしました。これにより、MCULinkのファームウェアを最新バージョンにアップデートすることができました。 LinkFlash GUI を使用すると、「接続に失敗しました (Ee42)」というエラーのため、ターゲットボードからフラッシュイメージを保存できません。プローブジャンパーは配置されていません(SWD)。デバイスとして「LPC804:」を選択しましたが、他の例ではより完全な部品#やIDEの名前が記載されているのに気づきました。この問題を解決するには設定ファイルを作成するか、ExpressoのようなIDEをインストールする必要がありますか?それともケーブルやターゲット接続の問題の可能性が高いのでしょうか? NS: LinkServer RedlinkMulti ドライバ v26.9(2026年9月18日 19:34:33 - crt_emu_cm_redlink.exeビルド1382) PC: (0) リモート設定を読み取っています Wc(03)。キャッシュサポートはありません。 Nc: C:\Users\T\AppData\Local\Temp\tmps4ueywdg\crt_directory.xmlで汎用ディレクトリXMLファイルを発見 PC:(5)リモート設定完了 NC:既存のLinkServerプロセスに再接続しました。 NC:外部からサーバー起動したプローブ1コア0に接続中、報告: 『イー(42)』コアに接続できませんでした。」 NC:再挑戦中... NC:既存のLinkServerプロセスに再接続しました。 NC:サーバーは問題ありませんが、プローブ1コア0への接続はありません(3回の試みの後) - Ee(42)。コアに接続できませんでした。 Ed:02: 接続に失敗しました: Ee(42)。コアに接続できませんでした。 Et:31: チップのデバッグポートに接続できません PC: (100) ターゲット操作失敗 Re: Unable to save flash image from target board with MCULink probe GUIの代わりにCLも試してみましたが、違いはありませんでした。あなたの出力と比較すると、私は以下の点でつまづいているようです。 NC:外部からサーバー起動したプローブ1コア0に接続中、報告: 『イー(42)』コアに接続できませんでした。」 これは標的ではなく、プローブに関する苦情のようです。 Re: Unable to save flash image from target board with MCULink probe 接続(物理的なケーブル接続?)に問題があるのかもしれません。 Ubuntuで使用していますが、Windows 10でも同様です。 /usr/local/LinkServer_26.9.130/LinkServer flash --probe 4FIQSNVD2MICA LPC804: dump 0x00000000 0x00001000 /tmp/memory.bin INFO: Exact match for LPC804: found INFO: Selected device LPC804:LPCXpresso804 INFO: Selected probe #1 4FIQSNVD2MICA (MCU-LINK Pro (r1CF) CMSIS-DAP V3.174) INFO: MCU-Link firmware update `check`: Probe ([4FIQSNVD2MICA] [MCU-LINK Pro (r1CF) CMSIS-DAP V3.174]) is already running the same firmware version as the included firmware version [3.174] Firmware update `check`: not required - forced update can be performed using: `./LinkServer probe #1 update forced` Ns: LinkServer RedlinkMulti Driver v26.9 (Sep 18 2026 19:46:03 - crt_emu_cm_redlink build 1382) Pc: ( 0) Reading remote configuration Wc(03). No cache support. Nc: Found generic directory XML file in /tmp/tmpuhtfp3bl/crt_directory.xml Pc: ( 5) Remote configuration complete Nc: Reconnected to existing LinkServer process. Nc: Probe Firmware: MCU-LINK Pro (r1CF) CMSIS-DAP V3.174 (NXP Semiconductors) Nc: Serial Number: 4FIQSNVD2MICA Nc: VID:PID: 1FC9:0143 Nc: USB Path: 0005:0013:00 Nc: Using memory from core 0 after searching for a good core Pc: ( 30) Emulator Connected Pc: ( 40) Debug Halt Pc: ( 50) CPU ID Nc: debug interface type = CoreSight DP (DAP DP ID 0BC11477) over SWD TAP 0 Nc: processor type = Cortex-M0+ (CPU ID 00000C60) on DAP AP 0 Nc: number of h/w breakpoints = 4 Nc: number of flash patches = 0 Nc: number of h/w watchpoints = 2 Nc: Probe(0): Connected&Reset. DpID: 0BC11477. CpuID: 00000C60. Info: Nc: Debug protocol: SWD. RTCK: Disabled. Vector catch: Disabled. Ns: Content of CoreSight Debug ROM(s): Nc: RBASE E00FF000: CID B105100D PID 04000BB4C0 ROM (type 0x1) Nc: ROM 1 E000E000: CID B105E00D PID 04000BB008 Gen SCS (type 0x0) Nc: ROM 1 E0001000: CID B105E00D PID 04000BB00A Gen DWT (type 0x0) Nc: ROM 1 E0002000: CID B105E00D PID 04000BB00B Gen FPB (type 0x0) Nc: NXP: LPC804 Nc: DAP stride is 1024 bytes (256 words) Nc: Inspected v.2 On-chip Flash Memory LPC80x_32.cfx Nc: Image 'LPC80x (32K) Sep 18 2026 18:35:07' Pc: ( 65) Chip Setup Complete Pc: ( 70) License Check Complete Nt: Dumping 'memory.bin' Binary section 0 at 0x00000000 len 0x1000 Nc: Opening flash driver LPC80x_32.cfx Nc: VECTRESET requested, but not supported on ARMv6-M CPUs. Using SOFTRESET instead. Nc: Using SOFT reset to run the flash driver Nc: Flash device supported (32KB = 32*1K at 0x0) Ps: ( 0) at 00000000: 0 bytes - 0/4096 Ps: (100) at 00000000: 4096 bytes - 4096/4096 Nc: Closing flash driver LPC80x_32.cfx Nt: Dumped 0x1000 bytes in 17ms (about 240kB/s) GUIを使用する場合: これがお役に立てば幸いです。 エーリッヒ Re: Unable to save flash image from target board with MCULink probe 私の自作tc2030ケーブルにはGNDdetectがコネクテッドになっていませんでした。問題を解決したので、コマンドラインまたはGUIのどちらを使ってもフラッシュメモリの読み書きができるようになりました。 Re: Unable to save flash image from target board with MCULink probe 追記:1時間ほどは問題なく動作しましたが、今は非常に不安定です。フラッシュの内容は削除できますが、消せないこともあります。時々ダンプして消去することはできますが、プログラムはできません。ダンプ、消去、プログラム、検証を試みたが、うまくいったのは一度だけで、その後は二度と成功しなかった。私は2種類の異なるtc2030ケーブル、様々な配線速度、そしてCLIとGUIの両方を試してみました。FlashLinkが成功したと表示しても、フラッシュメモリをダンプしてみると、一部のバイトが消去または書き込みされていないことがよくわかります。非常に短いケーブルが必要になるかもしれません。 Re: Unable to save flash image from target board with MCULink probe はい、MCULinkキットには10cmのCortexケーブルしかなく、そこにtc2030ケーブルを追加するとその長さの2倍以上になります。 ちなみに、LPC804のユーザーマニュアルには、ピン0.12には問題状態から回復する機能があると記載されています。この機能の使い方や使用時期について、さらに詳しい説明はありますか? Re: Unable to save flash image from target board with MCULink probe ケーブルの長さはどれくらいですか?約10cmを超えないようにしてください。 また、どのボードを使用していますか?あなた自身の/カスタムのもの?その場合、基板のコネクタやトレースに問題がある可能性があります。 お役に立てば幸いです。 エーリッヒ Re: Unable to save flash image from target board with MCULink probe 8cmの短いケーブルを使っても違いはなかった。0x7F80バイトをすべて消去して成功が報告された場合、0x7F80バイトをすべてダンプして、すべて0xFFになることを期待します。代わりにダンプはほとんどが0x00なので、Flashlinkのステータスが間違っているか、SWD信号が部分的にショートしているなどのハードウェアの問題でフラッシュの適切なダンプができない可能性があります。
View full article
Code Warrior バージョン 8 Palm 開発ツール (Metrowerks製) 私が持っている古いCode Warriorバージョン8(metrowerks製)の開発ツールを有効活用できる方はいらっしゃいますか?Windows版とMac版の両方に、対応するマニュアルが付属しています。Palmデバイス本体と、他にも数冊のPalm開発関連の書籍を保管しています。良いホームを見つける必要があります。 Re: Code Warrior ver 8 Palm dev tools by metrowerks CodeWarriorへの関心ありがとうございます。古いバージョンを見つけたり共有したりすることは可能ですが、CodeWarrior 8はレガシー製品であり、現在はサポートされていません。過去のバージョンのページやコンテンツは歴史的な参照のみで提供されており、v11.1以前のCodeWarriorバージョンのサポートは非常に限定的です。ご迷惑をおかけして申し訳ございません。 現在メンテナンスされているバージョンはCodeWarrior v11.1で、幅広い8ビットデバイスをサポートし、Windows 10/11で動作します。 今後はv11.1の使用を推奨します。こちらからダウンロードできます: CodeWarrior for MCUS (Eclipse IDE) v11.1 よろしくお願いいたします。 Re: Code Warrior ver 8 Palm dev tools by metrowerks   ルイス様、 ご回答ありがとうございます。 私はラファエレ・マッツァレッリ、イタリアのインダストリアル電子機器修理、特に太陽光インバーターを専門とする企業AQSの技術修理部門マネージャーです。 現在、2つのデジタル・シグナル・プロセッサを含むサンテルノES821制御基板に影響する技術的問題を調査しています。 モトローラ/フリースケールDSP56F807PY80E テキサス・インスツルメンツTMS320VC33PGE 主な問題は、ボードのライフタイムオペレーティングタイマーに関するもので、このタイマーは運転時間情報を正しく保持していません。 この問題の診断にはすでにかなりの時間とリソースを投じており、ハードウェア調査、メモリ解析、両プロセッサを対象としたテストも行っています。 残念ながら、ライフタイムタイマーがMotorola DSP56F807、Texas Instruments TMS320VC33、あるいは両プロセッサ間の連携によるものかはまだ判明していません。 特に以下の技術サポートをご希望です: DSP56F807の内部非揮発性記憶組織。 ファームウェアや動作パラメータへのアクセスと解析の可能性。 DSC 8.3 用の CodeWarrior Development Studio および互換性のあるデバッグツールが利用可能であること。 Motorolaプロセッサがライフタイムタイマーの保存や管理を担当しているかどうかを判断するのに役立つ技術情報があれば教えてください。 また、NXPや有資格の技術パートナーがこのサービスを提供できるなら、ES821制御基板を物理的に技術検査のために送付することも承知していることを強調したいと思います。 もし役立つなら、故障した基板と比較するために完全に稼働する基板の提供についても検討できます。 検査手順および関連費用に関する事前合意を条件として、認定された技術施設への発送を手配いたします。 私たちの目標は、この繰り返し発生する問題の根本原因を特定し、現在も稼働中のインダストリアル機器に対して信頼できる修理ソリューションを開発することです。 NXPには専門の技術部門、または認可されたパートナーがいるかどうか教えていただけますか? 皆さまのサポートを大変ありがたいです。 よろしくお願いします、 ラファエレ・マッツァレッリ 技術修理部門マネージャー AQS – イタリア
View full article
MC33774 Daisy Chain Dual Loop Connection HI. I'm currently using an AFE sampling system with MC33665A and MC33774 to form a double-chain loopback structure. The MC33665A's PORT0 and PORT1 are configured as MADD0 and MADD1 respectively, and all commands are currently sent via MADD0. When I only connect the daisy chain between PORT0 and DC1, my communication is normal. However, when I also connect the daisy chain between PORT1 and DC2, I find that the 33774 cannot reply with a response frame. Why is this? I have confirmed that the PORT configuration of the 33665 is correct and that SYS_TPL_CFG.RESPCFG in the 33774 is set to 00 SAME mode. I am currently using an AFE sampling system consisting of the MC33665A + MC33774 in a dual-ring loop configuration. I have configured PORT0 and PORT1 of the MC33665A as MADD0 and MADD1, respectively, and all commands are currently sent through MADD0. When I connect only the daisy chain between PORT0 and DC1, communication works correctly. However, after I also connect the daisy chain between PORT1 and DC2, the MC33774 no longer responds when I send requests to it. Why does this happen? I have read back and verified that the MC33665 PORT configuration is correct, and I have configured SYS_TPL_CFG.RESPCFG = 00 (SAME mode) in the MC33774. Re: MC33774 Daisy Chain Dual Loop Connection HI. 1. I want to know if it is necessary to reverse the allocation of DADD from the position where MADD=1? 2. My current SYS_PORT0_CFG configuration is TIMEOUT=0, CADD=1, MADD=0, PROTOCOL=1, ALLCHAINS=1, TERM=1, RX=1, EN=1 SYS_PORT1_CFG is configured with TIMEOUT=0, CADD=1, MADD=1, PROTOCOL=1, ALLCHAINS=1, TERM=1, RX=1, EN=1 Re: MC33774 Daisy Chain Dual Loop Connection Hello, According to the AN13910 TPL Loopback Recommendation, when two MC33665A TPL ports are connected as a loopback ring, there are several configuration requirements that may cause the behavior you are seeing. For a loopback configuration: We recommend assigning device addresses (DADD) in ascending order from one side of the ring and in reverse order from the loopback side (I do not see this in your image). If two ports are connected as loopback, one of the ports should have SYS_PORTx_CFG[RX] = 0 to avoid duplicate data entering the MC33665 buffer. In addition, one of the ports should have SYS_PORTx_CFG[ALLCHAINS] = 0. If both loopback ports accept ALLCHAINS commands, document states that this can cause signal conflicts and communication errors. Could you please share the values of SYS_PORT0_CFG and SYS_PORT1_CFG (especially EN, RX, ALLCHAINS, MADD, and CADD)? That would help determine whether the loopback ports are configured according to the AN13910 recommendations. Re: MC33774 Daisy Chain Dual Loop Connection Hello, According to AN13910 TPL Loopback Recommendation, the DADD assignment should be reversed from the MADD=1 side in a loopback topology. In addition, your current configuration has RX=1 and ALLCHAINS=1 on both ports. For a loopback connection, we recommend disabling RX and ALLCHAINS on one of the ports to avoid duplicate routing and communication conflicts.  Could you please try configuring one port with RX=0 and ALLCHAINS=0 (for example, PORT1) and verify whether the MC33774 starts returning response frames? Re: MC33774 Daisy Chain Dual Loop Connection This seems like a sub optimal solution. We would like to have a loop between the two ports on a 6402 with multiple 7418 CMUs and an 8420 BJB in the loop.  It would be nice to read the CMUs through port 0 and the BJB (and in extreme cases the higher CMUs) through port 1 with MADD=1.. if we need to reprogram the RX enables on both ports each time we want to read from the other end of the loop this seems rather inefficient.  Why can’t the MADD bit in the read request handle disabling the far side RX automatically?
View full article
Is it possible to implement the S32K1 LIN Stack without MCAL? Is this possible? We're using the S32K116 controller, which only comes with 128KB of flash memory. Memory space is already running low with the peripheral drivers added for basic system functionality. Now the question: Is it possible to add the LIN Stack without using MCAL Periphery drivers? This way I could switch to using IP drivers to reduce memory usage. First experiments showed that I cannot choose the Lpuart_Lin IP driver in the linstack_config middleware. Is there a setting I'm missing that enables me to choose it? Re: Is it possible to implement the S32K1 LIN Stack without MCAL? Hi@daniel_meier you can take a look at this post. https://community.nxp.com/t5/S32-SDK/LIN-Middleware-stack-configuration-issue/td-p/1739186https://community.nxp.com/t5/S32K/How-to-config-Lin-module-as-slave-node-base-MCAL-driver-in-S32K/td-p/1077781 In the RTD driver, the LIN stack depends on the configuration of the MCAL layer. If your project does not strictly require the use of RTD drivers, you might to try the S32K1 SDK. https://www.nxp.com/pages/s32-software-development-kit-for-s32k1:S32SDK-ARMK1
View full article
IMXRT1186 M7コアではSDK_DelayAtLeastUsの精度が30%低下する。 こんにちは、皆さん。 私はFRDM-IMXRT1186ボードでプレイしており、MCUにはデュアルコアのM33とM7があります。#iMXRT1186 SDK_DelayAtLeastUs関数はそれほど正確ではないことがわかりました。遅延時間は0.5秒(50万マイクロ秒)と予想していたが、実際の遅延時間は約0.6秒だった。 CoreDebug-> DEMCR |= CoreDebug_DEMCR_TRCENA_Msk; DWT-> CYCCNT = 0; DWT-> CTRL |= DWT_CTRL_CYCCNTENA_Msk; uint32_t t0 = DWT-> CYCCNT ; SDK_DelayAtLeastUs (500000U, SDK_DEVICE_MAXIMUM_CPU_CLOCK_FREQUENCY); LED_TOGGLE(); サイクル数 = DWT-> CYCCNT - t0; SDK_DelayAtLeastUsでは、count = count / 3U * 2U を count = count / 2U にしてより正確な結果を得ることができます。 しかし、この変更が理にかなっているかどうかは確信が持てません。 #elif (__CORTEX_M == 7) /* 遅延を正確にするために、さまざまな環境で除算値が異なる場合があります。 * すべてのループカウントには3つの命令が含まれています。これはCortex-M7が時折実行されるためです。 * 1周期に2つの命令、テストを通してここで1.5を割ります。他のMコアは * 4を割る。ちなみに、1.5や4を割るとカウントの精度が落ちる可能性があるが、そうなる * 問題ありません。なぜなら、while loop 外の他の命令で時間を埋めるのに十分だからです。 */ count = count / 3U * 2U; よろしくお願いします。 Re: SDK_DelayAtLeastUs is inaccurate by 30% in IMXRT1186 M7 core @ewlee様、 count = count / 2U に変更することで、現在のテスト環境では結果が改善される可能性がありますが、一般的な修正方法として使用することはお勧めしません。 SDK_DelayAtLeastUs() は、ループベースの「最小」遅延時間を提供するように設計されており、その精度は実行環境によって影響を受ける可能性があります。 正確な500ミリ秒間隔が必要な場合は、汎用タイマー(GPT)などのハードウェアタイマーを使用して、より精密なタイミング制御を行うことをお勧めします。 よろしくお願いいたします。 シェリー
View full article
MC33774 Daisy Chain Dual Loop Connection HI. 我当前使用MC33665A+MC33774的AFE采样系统组成双链回环的结构,配置MC33665A的PORT0和PORT1分别为MADD0和MADD1,当前发送所有指令均由MADD0发送。当我只连接PORT0到DC1之间的菊花链时,我的通讯都是正常的,但是当我把PORT1和DC2之间的菊花链也连接后,我再去请求33774发现33774无法回复响应帧,这是为什么?我回读确认过33665的PORT端口配置没有错误,并且将33774中的SYS_TPL_CFG.RESPCFG设置为00 SAME模式。 I am currently using an AFE sampling system consisting of the MC33665A + MC33774 in a dual-ring loop configuration. I have configured PORT0 and PORT1 of the MC33665A as MADD0 and MADD1, respectively, and all commands are currently sent through MADD0. When I connect only the daisy chain between PORT0 and DC1, communication works correctly. However, after I also connect the daisy chain between PORT1 and DC2, the MC33774 no longer responds when I send requests to it. Why does this happen? I have read back and verified that the MC33665 PORT configuration is correct, and I have configured SYS_TPL_CFG.RESPCFG = 00 (SAME mode) in the MC33774. Re: MC33774 Daisy Chain Dual Loop Connection HI. 1.我想知道从MADD=1的位置反向分配DADD是必须的吗? 2.我当前的SYS_PORT0_CFG配置为TIMEOUT=0,CADD=1,MADD=0,PROTOCOL=1,ALLCHAINS=1,TERM=1,RX=1,EN=1 SYS_PORT1_CFG配置为TIMEOUT=0,CADD=1,MADD=1,PROTOCOL=1,ALLCHAINS=1,TERM=1,RX=1,EN=1 Re: MC33774 Daisy Chain Dual Loop Connection 你好, 根据 AN13910 TPL 环回建议,当两个 MC33665A TPL 端口连接成环回环时,存在一些配置要求,可能会导致您看到的行为。 对于环回配置: 我们建议从环的一侧按升序分配设备地址 (DADD),从环回侧按相反的顺序分配设备地址 (DADD)(我在你的图片中没有看到这一点)。 如果两个端口连接为环回,则其中一个端口应设置 SYS_PORTx_CFG[RX] = 0,以避免重复数据进入 MC33665 缓冲区。 此外,其中一个端口的 SYS_PORTx_CFG[ALLCHAINS] 应为 0。文档指出,如果两个环回端口都接受 ALLCHAINS 命令,则可能导致信号冲突和通信错误。 请问能否提供 SYS_PORT0_CFG 和 SYS_PORT1_CFG 的值(特别是 EN、RX、ALLCHAINS、MADD 和 CADD)?这将有助于确定环回端口是否按照 AN13910 建议进行配置。 Re: MC33774 Daisy Chain Dual Loop Connection 你好, 根据 AN13910 TPL 环回建议,在环回拓扑中,DADD 分配应与 MADD=1 侧相反。 此外,您当前的配置在两个端口上都设置了 RX=1 和 ALLCHAINS=1。对于环回连接,我们建议禁用其中一个端口上的 RX 和 ALLCHAINS,以避免重复路由和通信冲突。 请尝试将一个端口的 RX=0 和 ALLCHAINS=0 配置为(例如,PORT1),并验证 MC33774 是否开始返回响应帧? Re: MC33774 Daisy Chain Dual Loop Connection 这似乎不是最佳解决方案。我们希望在6402交换机的两个端口之间建立一个环路,环路中包含多个7418 CMU和一个8420 BJB。如果能通过端口 0 读取 CMU,通过端口 1 读取 BJB(在极端情况下,还可以读取更高阶的 CMU),并且 MADD=1,那就太好了。但如果每次想从循环的另一端读取数据时,都需要重新设置两个端口的接收使能,这似乎效率很低。为什么读取请求中的 MADD 位不能自动禁用远端 RX?
View full article
Code Warrior ver 8 Palm 开发工具,作者 metrowerks 有人觉得我那套老旧的 Metrowerks 出品的 Code Warrior 8 开发工具还有用吗?Windows 和 Mac 系统均配有相应的用户手册。此外,我还收藏了一些其他第三版 Palm 开发书籍以及一台 Palm 设备。他们需要找到一个好归宿。 Re: Code Warrior ver 8 Palm dev tools by metrowerks 感谢您对 CodeWarrior 的关注,虽然可能可以找到或分享旧版本的 CodeWarrior,但 CodeWarrior 8 是一个不再受支持的旧版产品。先前版本的页面和内容仅供历史参考,因此对 v11.1 之前的任何 CodeWarrior 版本的支持都非常有限。由此造成的不便,我们深表歉意。 目前维护的版本是 CodeWarrior v11.1,它支持各种 8 位设备,并且可以在 Windows 10/11 上运行。 我们建议您使用 v11.1 版本,您可以从这里下载: CodeWarrior for MCUs (Eclipse IDE) v11.1 顺祝商祺! Re: Code Warrior ver 8 Palm dev tools by metrowerks   亲爱的路易斯, 感谢您的回复。 我是 Raffaele Mazzarelli,AQS 公司技术维修部门经理。AQS 是一家意大利公司,专门从事工业电子产品维修,特别是光伏逆变器维修。 我们目前正在调查影响 Santerno ES821 控制板的技术问题,该控制板包含两个数字信号处理器: 摩托罗拉/飞思卡尔 DSP56F807PY80E 德州仪器 TMS320VC33PGE 主要问题在于板的寿命运行计时器,它无法正确保存运行时间信息。 我们已经投入了大量时间和资源来诊断这个问题,包括硬件调查、内存分析以及涉及两个处理器的测试。 遗憾的是,我们尚未确定生命周期定时器是由摩托罗拉 DSP56F807、德州仪器 TMS320VC33 管理,还是通过这两个处理器之间的交互管理。 我们尤其希望获得以下方面的技术支持: DSP56F807 的内部非易失性存储器组织结构。 能够访问和分析其固件和存储的运行参数。 CodeWarrior Development Studio for DSC 8.3 及兼容的调试工具的可用性。 任何有助于确定摩托罗拉处理器是否负责存储或管理生命周期计时器的技术信息。 我还要强调,如果恩智浦半导体或合格的技术合作伙伴能够提供这项服务,我们愿意将 ES821 控制板实物寄送进行技术检验。 如果需要,我们还可以讨论提供一个功能齐全的板,以便与故障电路板进行比较。 我们很乐意安排将货物运送至经授权的技术机构,但需事先就检验程序和相关费用达成一致。 我们的目标是找出这一反复出现问题的根本原因,并为仍在服役的工业设备开发可靠的维修方案。 请问NXP是否有专家、技术部门或授权合作伙伴可以帮助我们? 我们非常感谢您的支持。 此致, 拉斐尔·马扎雷利 技术维修部经理 AQS – 意大利
View full article
使用 MCULink 探针无法从目标板保存闪存映像。 W10,链路服务器 26.9.130MCULink 固件 3.174: 我想使用 SWD 从 LPC804 板保存闪存映像。我有一个 MCULink 探针,我安装了包含 LinkFlash 工具的 Linkserver 软件包。这样我就可以将MCULink固件更新到最新版本。 使用 LinkFlash GUI 时,由于出现“连接失败 (Ee42)”错误,我无法从目标板保存闪存映像。未放置探针跳线(SWD)。我选择了“LPC804:”作为设备,但我注意到在其他示例中,通常会指定更完整的部件号和 IDE。我是否需要创建配置文件或安装像 Expresso 这样的 IDE 来解决这个问题,还是更有可能是线缆和目标连接问题? Ns: LinkServer RedlinkMulti 驱动程序 v26.9(2026 年 9 月 18 日 19:34:33 - crt_emu_cm_redlink.exe 版本 1382) PC:(0)读取远程配置 Wc(03)。不支持缓存。 Nc:在 C:\Users\T\AppData\Local\Temp\tmps4ueywdg\crt_directory.xml 中找到通用目录 XML 文件 PC:(5)远程配置完成 Nc:已重新连接到现有 LinkServer 进程。 Nc:连接到探测器 1 核心 0(使用外部启动的服务器)报告: 'Ee(42)。无法连接到核心服务器。 Nc:正在重试…… Nc:已重新连接到现有 LinkServer 进程。 Nc:服务器正常,但无法连接到探测 1 核心 0(尝试 3 次后)- Ee(42)。无法连接到核心服务器。 Ed:02: 连接失败: Ee(42)。无法连接到核心服务器。 Et:31:未连接到芯片的调试端口 PC:(100)目标操作失败 Re: Unable to save flash image from target board with MCULink probe 我还尝试过使用命令行界面(CL)而不是图形用户界面(GUI),但结果并没有什么不同。和你的输出结果对比后,我似乎卡在了这里: Nc:连接到探测器 1 核心 0(使用外部启动的服务器)报告: 'Ee(42)。无法连接到核心服务器。 这似乎是在抱怨探测器,而不是目标。 Re: Unable to save flash image from target board with MCULink probe 我认为你可能遇到了连接问题(物理电缆问题?)。 我在Ubuntu系统上使用过,但同样适用于Win10: /usr/local/LinkServer_26.9.130/LinkServer flash --probe 4FIQSNVD2MICA LPC804: dump 0x00000000 0x00001000 /tmp/memory.bin INFO: Exact match for LPC804: found INFO: Selected device LPC804:LPCXpresso804 INFO: Selected probe #1 4FIQSNVD2MICA (MCU-LINK Pro (r1CF) CMSIS-DAP V3.174) INFO: MCU-Link firmware update `check`: Probe ([4FIQSNVD2MICA] [MCU-LINK Pro (r1CF) CMSIS-DAP V3.174]) is already running the same firmware version as the included firmware version [3.174] Firmware update `check`: not required - forced update can be performed using: `./LinkServer probe #1 update forced` Ns: LinkServer RedlinkMulti Driver v26.9 (Sep 18 2026 19:46:03 - crt_emu_cm_redlink build 1382) Pc: ( 0) Reading remote configuration Wc(03). No cache support. Nc: Found generic directory XML file in /tmp/tmpuhtfp3bl/crt_directory.xml Pc: ( 5) Remote configuration complete Nc: Reconnected to existing LinkServer process. Nc: Probe Firmware: MCU-LINK Pro (r1CF) CMSIS-DAP V3.174 (NXP Semiconductors) Nc: Serial Number: 4FIQSNVD2MICA Nc: VID:PID: 1FC9:0143 Nc: USB Path: 0005:0013:00 Nc: Using memory from core 0 after searching for a good core Pc: ( 30) Emulator Connected Pc: ( 40) Debug Halt Pc: ( 50) CPU ID Nc: debug interface type = CoreSight DP (DAP DP ID 0BC11477) over SWD TAP 0 Nc: processor type = Cortex-M0+ (CPU ID 00000C60) on DAP AP 0 Nc: number of h/w breakpoints = 4 Nc: number of flash patches = 0 Nc: number of h/w watchpoints = 2 Nc: Probe(0): Connected&Reset. DpID: 0BC11477. CpuID: 00000C60. Info: Nc: Debug protocol: SWD. RTCK: Disabled. Vector catch: Disabled. Ns: Content of CoreSight Debug ROM(s): Nc: RBASE E00FF000: CID B105100D PID 04000BB4C0 ROM (type 0x1) Nc: ROM 1 E000E000: CID B105E00D PID 04000BB008 Gen SCS (type 0x0) Nc: ROM 1 E0001000: CID B105E00D PID 04000BB00A Gen DWT (type 0x0) Nc: ROM 1 E0002000: CID B105E00D PID 04000BB00B Gen FPB (type 0x0) Nc: NXP: LPC804 Nc: DAP stride is 1024 bytes (256 words) Nc: Inspected v.2 On-chip Flash Memory LPC80x_32.cfx Nc: Image 'LPC80x (32K) Sep 18 2026 18:35:07' Pc: ( 65) Chip Setup Complete Pc: ( 70) License Check Complete Nt: Dumping 'memory.bin' Binary section 0 at 0x00000000 len 0x1000 Nc: Opening flash driver LPC80x_32.cfx Nc: VECTRESET requested, but not supported on ARMv6-M CPUs. Using SOFTRESET instead. Nc: Using SOFT reset to run the flash driver Nc: Flash device supported (32KB = 32*1K at 0x0) Ps: ( 0) at 00000000: 0 bytes - 0/4096 Ps: (100) at 00000000: 4096 bytes - 4096/4096 Nc: Closing flash driver LPC80x_32.cfx Nt: Dumped 0x1000 bytes in 17ms (about 240kB/s) 使用图形用户界面: 希望这能帮到你。 埃里希 Re: Unable to save flash image from target board with MCULink probe 我自制的 TC2030 电缆没有连接 GNDdetect。我已经修复了这个问题,现在可以通过命令行或图形界面读写闪存。 Re: Unable to save flash image from target board with MCULink probe 是的,我看到MCULink套件只有一根10厘米长的Cortex连接线,如果再加一根TC2030连接线,长度就会增加一倍以上。 顺便一提,LPC804 UM 提到引脚 0.12 具有从故障状态恢复的能力。是否有关于如何以及何时使用此功能的更详细说明? Re: Unable to save flash image from target board with MCULink probe 更新:刚开始一个小时运行正常,但现在非常不稳定。有时我可以导出闪存内容,但无法擦除。有时我可以导出和擦除数据,但无法进行编程。尝试进行转储、擦除、编程和验证操作,结果只成功了一次,之后就再也没有成功过。我尝试了两种不同的 tc2030 电缆、各种线速,以及 CLI 和 GUI。即使 FlashLink 显示成功,我通常在转储闪存时发现有些字节没有被擦除或写入。我认为可能需要一根很短的电缆。 Re: Unable to save flash image from target board with MCULink probe 你的电缆有多长?不应超过约10厘米。 另外,你使用的是什么板?您自己/定制的?那样的话,你的板上可能存在连接器/线路问题。 希望这能帮到您, 埃里希 Re: Unable to save flash image from target board with MCULink probe 换用更短的 8 厘米电缆并没有什么区别。当我擦除所有 0x7F80 字节并报告成功时,我转储所有 0x7F80 字节,期望得到全部 0xFF。然而,转储结果几乎全部是0x00,因此要么是Flashlink报告的状态有误,要么是存在硬件问题,例如SWD信号部分短路,导致无法正确转储闪存数据。
View full article