Multi Source Translation Content

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

Multi Source Translation Content

Discussions

Sort by:
IMX.93 LVDS single channel, four lanes Greetings, Does the IMX93 support a configuration which has less than four LVDS lanes? I have an LVDS to RGB  device which we would like to use, but it only supports three lane configurations, single lane (D0), two lanes (D0 and D1), or three lanes (D0, D1 and D2), but no four lane configuration. Thanks in advance, Ken Re: IMX.93 LVDS single channel, four lanes Thank you Ken Re: IMX.93 LVDS single channel, four lanes Hello @ken_carlson  I hope you are doing very well. Unfortunately there is not way to configure the Data-Lanes on the LVDS or LDB control registers of i.MX93. Best regards, Salas.
View full article
iMX93 - 在 PCM 模式下使用 SAI(无外部编解码器) 大家好, 我正在研究基于 i.MX93 的电路板,并尝试使用PCM 模式下的其中一个 SAI 接口(特别是SAI3 )直接连接到Quectel GSM 模块。 该模块公开 PCM 线路(DIN、DOUT、CLK、SYNC)以及 I2C 接口以便与外部编解码器通信。根据Quectel的文档,音频可以直接通过PCM传输,而无需外部音频编解码器,该模块应该已经具有内部编解码器。 我的目标是通过 PCM 直接将呼叫音频路由到模块/从模块路由出呼叫音频。 我想问一下: 在没有编解码器的情况下,是否可以在 PCM 模式下使用 i.MX93 SAI 接口? 是否有人已经在 i.MX93(或类似的 NXP SoC)上完成过这种设置? 对于这种直接 PCM 连接(SAI <-> MODULE),推荐的设备树配置是什么? 即使没有编解码器,设备树中是否仍然需要音频卡节点? 如能提供任何建议或示例指示,我们将不胜感激! 提前致谢, 斯特凡诺 回复:iMX93 - 在 PCM 模式下使用 SAI(无外部编解码器) 太感谢了! 在使用虚拟编解码器并更改 Quectel 模块中的某些配置后,我终于使其工作正常(也使用 i2s 而不是 pcm) 回复:iMX93 - 在 PCM 模式下使用 SAI(无外部编解码器) 你好, 您可以查看 ALSA 邮件列表中的这个帖子: https://www.spinics.net/linux/fedora/linux-sound/msg22016.html 除了上述讨论之外,您还可以尝试使用虚拟编解码器(不推荐,不被社区接受,但您可以出于测试目的尝试一下)。 像这样: DTS 文件: + 编解码器测试:编解码器测试 { + #sound-dai-cells = <0>; +兼容=“linux,snd-soc-dummy”; + }; + + 声音测试 { +兼容=“简单音频卡”; +简单音频卡,名称=“sai音频卡”; +简单音频卡,格式=“left_j”; +简单音频卡,位时钟主控=<&sai_cpu>; +简单音频卡,帧主控=<&sai_cpu>; +状态=“已禁用”; + sai_cpu:简单音频卡,cpu { + 声音-dai = <&sai1>; + dai-tdm-slot-num = <2>; + dai-tdm 时隙宽度 = <32>; + }; + 简单音频卡,编解码器 { +声音-dai = <&codec_test>; + }; + }; + --- a/sound/soc/soc-utils.c +++b/sound/soc/soc-utils.c +静态 const struct of_device_id soc_dummy_ids[] = { + { .兼容=“linux,snd-soc-dummy”,}, + { }, +}; + 静态结构平台驱动程序 soc_dummy_driver = { 。司机= { 。姓名=“snd-soc-dummy”, + .匹配表= of_match_ptr(soc_dummy_ids), }, 。探测= snd_soc_dummy_probe, };
View full article
iMX93 - Using SAI in PCM mode (no external codec) Hi everyone, I'm working on an i.MX93-based board and I'm trying to use one of the SAI interfaces (specifically SAI3) in PCM mode to connect directly to a Quectel GSM module. The module exposes PCM lines (DIN, DOUT, CLK, SYNC) and also an I2C interface to communicate with an external codec. According to Quectel's documentation, audio can be transmitted directly over PCM without the need for an external audio codec, the module already should have an internal codec. My goal is to route call audio to/from the module directly via PCM. I’d like to ask: Is it possible to use the i.MX93 SAI interface in PCM mode without a codec? Has anyone already done this kind of setup on i.MX93 (or similar NXP SoCs)? What is the recommended Device Tree configuration for this kind of direct PCM connection (SAI <-> MODULE)? Is an audio-card node still needed in the device tree even if there's no codec? Any advice or pointers to examples would be greatly appreciated! Thanks in advance, Stefano Re: iMX93 - Using SAI in PCM mode (no external codec) Thank you so much! After using a dummy codec and after changing some configuration in Quectel module, I finally made it working (also using i2s instead of pcm) Re: iMX93 - Using SAI in PCM mode (no external codec) Hello, You can have a look at this thread from ALSA mailing list: https://www.spinics.net/linux/fedora/linux-sound/msg22016.html Besides the discussion above you can try to use the dummy codec (not recommended, not accepted by the community, but you can have it a try for testing purposes). Something like this: DTS file: + codec_test: codec_test { + #sound-dai-cells = <0>; + compatible = "linux,snd-soc-dummy"; + }; + + sound-test { + compatible = "simple-audio-card"; + simple-audio-card,name = "sai-audio-card"; + simple-audio-card,format = "left_j"; + simple-audio-card,bitclock-master = <&sai_cpu>; + simple-audio-card,frame-master = <&sai_cpu>; + status = "disabled"; + sai_cpu: simple-audio-card,cpu { + sound-dai = <&sai1>; + dai-tdm-slot-num = <2>; + dai-tdm-slot-width = <32>; + }; + simple-audio-card,codec { + sound-dai = <&codec_test>; + }; + }; + --- a/sound/soc/soc-utils.c +++ b/sound/soc/soc-utils.c +static const struct of_device_id soc_dummy_ids[] = { + { .compatible = "linux,snd-soc-dummy", }, + { }, +}; + static struct platform_driver soc_dummy_driver = { .driver = { .name = "snd-soc-dummy", + .of_match_table = of_match_ptr(soc_dummy_ids), }, .probe = snd_soc_dummy_probe, };
View full article
Flag terminate compute operation Hello, I am using the frdm-mcuxc242 board and I would like to know how I can know if a certain operation has been performed. For example:  If I have to do the sum between two variables A and B and it gives me result C (A+B=C) how can I know if the operation has been performed and finished before reading the result of the variable C? Is there a computational operation performed interrupt flag? Or can I know how many clock cycles my operation takes?  Thank you. Regards Re: Flag terminate compute operation Hi @Transidico., Analyzing the code you share, one option that could be happening is that ADC has not finish the conversion when the calculation is being made, what I recommend you is to check the SDK example for ADC, adc16_interrupt and adc16_polling, in this examples it shows two options in order to wait the ADC to finish the conversion. In this way you can assure that the ADC has the value of the current voltage on the pin. Best Regards, Pablo Re: Flag terminate compute operation Good morning pablo, thank you for your reply and the documentation sent. I found how many clock cycles my instruction takes. I am sampling an input signal from pin A0 of the adc at 1ms and I noticed that if I don't put a delay of about 100uS, as you can see in the attached program, the first calculations I get are not accurate. I don't know if I have to put a delay every time I perform an operation, I don't think so because it would affect the timing. I don't know if the delay I am putting in is correct and there is a better way to put it in. Also, I have seen that it is possible to use MSDK_EnableCpuCycleCounter() and MSDK_GetCpuCycleCount() to read the number of cycles the program is doing, but if I implement them in my code it gives me an error. Could you give me some advice? Re: Flag terminate compute operation Hi @Transidico, You can calculate the clock cycles required for the operation with the assembly instruction. MCUXpresso has the option to see the assembly instruction required for each line in C The instruction will appear while debugging. On the core documentation you should be able to find the number of cycles spend on each instruction. Cortex-M0+ Technical Reference Manual r0p1 However, I suggest you double check directly with ARM to ensure performance on each instruction. Best Regards, Pablo
View full article
iMX93 - PCM モードで SAI を使用する (外部コーデックなし) ねえ皆さん i.MX93ベースのボードで作業しており、PCMモードでSAIインターフェイスの1つ(特にSAI3)を使用してQuectel GSMモジュールに直接接続しようとしています。 このモジュールは、PCMライン (DIN、DOUT、CLK、SYNC) と、外部コーデックと通信するためのI2Cインターフェイスを公開します。Quectelのドキュメンテーションによると、オーディオは外部オーディオコーデックを必要とせずにPCM経由で直接送信でき、モジュールにはすでに内部コーデックがあるはずだ。 私の目標は、PCMを介してモジュールとの間で直接通話オーディオをルーティングすることです。 私は尋ねたいです: i.MX93 SAIインターフェースをコーデックなしでPCMモードで使用できますか? i.MX93(または同様のNXP SoC)でこの種のセットアップをすでに行った人はいますか? この種の直接PCM接続(SAI <->モジュール)に推奨されるデバイスツリー構成は何ですか? オーディオ カード ノードは、コーデックがない場合でもデバイス ツリーに必要ですか? アドバイスや例を示していただければ幸いです! よろしくお願いします。 ステファノ Re: iMX93 - PCMモードでSAIを使用する(外部コーデックなし) どうもありがとうございます! ダミーコーデックを使用し、Quectelモジュールのいくつかの設定を変更した後、ついに動作させました(pcmの代わりにi2sも使用) Re: iMX93 - PCMモードでSAIを使用する(外部コーデックなし) こんにちは ALSAメーリングリストのこのスレッドを見ることができます https://www.spinics.net/linux/fedora/linux-sound/msg22016.html 上記の議論以外にも、ダミーコーデックを使用してみることができます(推奨されておらず、コミュニティには受け入れられていませんが、テスト目的で試してみることができます)。 このようなものです。 DTS ファイル: + codec_test: codec_test { + #sound-dai-cells = <0>; + compatible = "Linux,snd-soc-dummy"; + }; + + サウンドテスト { + compatible = "シンプルオーディオカード"; + simple-audio-card,name = "sai-audio-card"; + simple-audio-card,format = "left_j"; + シンプルオーディオカード、ビットクロックマスター = <&sai_cpu>; + シンプルオーディオカード、フレームマスター = <&sai_cpu>; + ステータス = "無効"; + sai_cpu: simple-audio-card,cpu { + サウンドダイ = <&sai1>; + dai-tdm-slot-num = <2>; + dai-tdm-slot-width = <32>; + }; + シンプルオーディオカード、コーデック { + サウンドダイ = <&codec_test>; + }; + }; + --- a/sound/soc/soc-utils.c +++ b/サウンド/soc/soc-utils.c +_device_id の静的定数構造体 soc_dummy_ids [] = {+ {.compatible = " linux, snd-soc-dummy ",}, + {}, + {}, + 静的構造体 platform_driver soc_dummy_driver = {.driver = { .名前= " snd-soc-dummy "、+ .of_match_table = of_match_ptr (soc_dummy_ids)、}、.probe = snd_soc_dummy_probe、};
View full article
imx8mp内存控制器的BoardDataBusConfig修改是否必须? i.MX8X内存配置与测试应用手册里提到: i.MX8QXP 的内存控制器允许 BYTE 内交换,为了 Layout 方便,一般会进行 BYTE 内交换, 所以要根据实际原理图设计来配置 BoardDataBusConfig 一页,根据原理图设计如下: 比如说:i.MX8QXP 的 DDR_DR00 连接到了 LPDDR4 的 DQ2_A 上,所以如下每二行,红字 的部分,DRAM data bus 2 例对应的是 MX8QX data bus(User Input)的值是 0。以此类推: 而在我们的imx8mp的LPDDR4 Layout时也有做调整,如下: 请问我们是否必须要在MX8M_Plus_DDR4_RPA_v9.xlsx里的BoardDataBusConfig里的做相应的调整? 目前我们出货的设备都没调整BoardDataBusConfig(默认值如下),但进行memtester测试都是pass的,请问是否有其它风险? Re: imx8mp内存控制器的BoardDataBusConfig修改是否必须? MX8M_Plus_DDR4_RPA_v9.xlsx里的BoardDataBusConfig里的做相应的调整? A:对的,是要做调整的,i.MX8MP的内存控制器允许 BYTE 内交换,为了 Layout 方便,一般会进行 BYTE 内交换,这里要在data bus里按照实际的布线来填写。 我帮你检查了一下,你这边的配置是正确的,是根据你的硬件连接调整过的,如果不对会报错的,你这边是已经调整好了的,没有问题。
View full article
MCUXpreso 无法通过 J-Link 或 CMSIS-DAP 连接到 MIMXRT1060-EVKB 板 这是我第一次尝试使用 MIMXRT1060-EVKB。我尝试运行示例“helo word”,但无法上传程序。J-Link 和 CMSIS-DAP 也不连接到 MIMXRT1060-EVKB。我不知道下一步该做什么。请帮助我做我能做的事情。
View full article
imxrt1052 32bit pwm can i use pwm with 32it count? 回复: imxrt1052 32bit pwm Hi @ccc_clive , Thanks for your interest in NXP MIMXRT series! PWM only provides 16 bit counter, we can't do a 32bit counter using hardware alone. Please refer to this post: 已解决: i.MX.RT1052 - Is it possible to create a 32bit PWM module using 2 quad timers? - NXP Community Maybe you can design the software to realize, eg, when the counter 16 bit is overflowed, then in the overflowed interrupt, you use a software count flag to record it. when the 16 bit overflow 0xffff times, it means the counter 32 bit is reached. Besides this, actually, PIT is the 32bit counter, maybe you can use the PIT associate with the GPIO to realize the PWM generation. Wish it helps you! Best regards, Gavin
View full article
SJA1110 SDK のインストール こんにちは、SJA1110 RTD SDKをインストールしたいです。S32プラットフォームV3.5.12用のS32DSをインストールしました。SW32G_SJA11XX_ETH_SWITCH_4.4_1.0.0_DS_updatesite_D2306.zip、SW32SJA1110_XJA11XX_ETH_PHY_4.4_1.0.5_DS_updatesite_D2405.zip、SJA11XX_RTD_4.4_1.0.1_P01_D2404_DS_updatesite.zipをダウンロードしてインストールしました。SJA11XX_RTD_4.4_1.0.1_D2312_DS_updatesite.zip、SJA11XX_ETH_SWITCH_4.4_1.0.0_DS_updatesite_D2306.zipですが、 Re:SJA1110 SDKのインストール こんにちは、SDKの使用に苦労しました。いくつかの(古い?)文書によると、S32 Design Studio for S32プラットフォームヘルプ-> S32 DSの拡張と更新リストに表示されるはずだそうです。 そうではありません。.zipファイルを抽出してS32 SDKをインストールする必要がありましたそしてヘルプ-> 新しいソフトウェアのインストール...-> " 追加..." と " ローカル..."。" Archiveは試しませんでした..." と.zipセレクション、これもうまくいくかもしれません。 よろしく
View full article
L4Re compile fail Hi, NXP Experts, According to the description of the L4Re build environment in section ‘5.9.2.3 Build Environment‘ of the ‘UG_S32ZE_GreenVIP.pdf‘, the L4Re source code pulled via Hammer has not been modified. However, when attempting to compile the project, the following error is reported. How to solve this issue?   Re: L4Re compile fail Thanks, Liek. L4Re works good now. Re: L4Re compile fail Hi Siyan, Seems the SW package on github is not correct. I already send you the one which is OK on my side.
View full article
MCUXpreso は J-Link または CMSIS-DAP 経由で MIMXRT1060-EVKB ボードに接続できません これはMIMXRT1060-EVKBでの私の最初の試みです。例の「helo word」を実行しようとしましたが、プログラムをアップロードできませんでした。J-Link、CMSIS-DAPもMIMXRT1060-EVKBには接続しません。次に何をすべきかわかりません。私に何ができるか助けてください。
View full article
Unable to use Codewarrior debugging for BL2 (button grayed out) Hello, I am using an LS1046ardb board, and I'm attempting to use Codewarrior to debug my BL2 image. I'm booting from qspi flash, and I would like to attach to the running program. I've been following this guide for U-Boot: https://community.nxp.com/t5/CodeWarrior-for-QorIQ-Knowledge/Use-CodeWarrior-for-ARMv8-to-Debug-U-boot-and-Linux-Kernel-and/ta-p/1114872 The issue is when I setup the debug configuration profile I get an error message and the "debug" button is grayed out: As you can see, I'm trying to use the "GDB hardware debugging" configuration with my bl2.elf symbol image, but cannot select the debug button. My TAP works correctly, I am able to inspect the running system and read/write the flash, so I don't understand why this doesn't work. Please find my codewarrior version below: Thank you for your help! Re: Unable to use Codewarrior debugging for BL2 (button grayed out) I have found the solution. The problem is I had the target connection activated under the "Target connections" tab. The solution was to go to the "Target Connections" tab, then select the active connection, then press "Deactivate", then import the bl2.elf using the steps provided by @yipingwang. The target connection will be specified in the debug configuration under the "Debugger" tab, and will automatically connect when the debug configuration is run. So there is no need to use the "Target Connections" window and there should be no active connection.   Re: Unable to use Codewarrior debugging for BL2 (button grayed out) Please open CodeWarrior IDE in a new workspace, then import bl2.elf to create a bare board project. Then click Run->Debug Configurations, the debug button should be active. If your problem persists, please try to install CodeWarrior for ARMv8 on another PC to do verification. Re: Unable to use Codewarrior debugging for BL2 (button grayed out) @yipingwang  Thank you for the document. Unfortunately I am facing the same error message and the button is still greyed out Re: Unable to use Codewarrior debugging for BL2 (button grayed out) @yipingwang  Thank you for the document. Unfortunately I am facing the same error and the button is still greyed out: Re: Unable to use Codewarrior debugging for BL2 (button grayed out) For atf debugging, please refer to my latest step by step document. https://community.nxp.com/t5/Layerscape-Knowledge-Base/Debugging-ATF-and-u-boot-with-CodeWarrior-for-ARMv8/ta-p/1684233
View full article
SJA1110 SDK installation Hi I want to install SJA1110 RTD SDK. i've installed S32DS FOR S32 PLATFORM V3.5.12, I have downloaded and installed SW32G_SJA11XX_ETH_SWITCH_4.4_1.0.0_DS_updatesite_D2306.zip, SW32SJA1110_XJA11XX_ETH_PHY_4.4_1.0.5_DS_updatesite_D2405.zip, SJA11XX_RTD_4.4_1.0.1_P01_D2404_DS_updatesite.zip, SJA11XX_RTD_4.4_1.0.1_D2312_DS_updatesite.zip, SJA11XX_ETH_SWITCH_4.4_1.0.0_DS_updatesite_D2306.zip, but I still can't find the ‘switch_config_s32g_vnp_rdb’ examples in Re: SJA1110 SDK installation Hi, I struggled using the SDK because some (outdated?) documents told me it should show up in the S32 Design Studio for S32 Platform Help -> S32 DS Extensions and Updates list. This is NOT the case. I needed to install the S32 SDK via file extraction of the .zip and then Help -> Install new software ... -> "Add..." and then "Local...". I did not try "Archive..." and .zip selection, may be this works also. Best regards Re: SJA1110 SDK installation Hi,  this example is within SJA1110 SDK, can be downloaded from https://www.nxp.com/webapp/swlicensing/sso/downloadSoftware.sp?catid=SWSJA1110-SDK01E, latest version is S32 SDK for SJA1110 RTM 1.0.2. Download update zip package and add it to your S32DS. Read package release note document for the info about installation. BR, Petr
View full article
MCUXpreso cannot connect to MIMXRT1060-EVKB board via J-Link or CMSIS-DAP This is my first attempt with MIMXRT1060-EVKB. I tried to run the example "helo word" and I could not upload the program. J-Link and CMSIS-DAP do not connect to MIMXRT1060-EVKB either. I do not know what to do next. Please help me what I can do. Re: MCUXpreso cannot connect to MIMXRT1060-EVKB board via J-Link or CMSIS-DAP Thanks for the quick response. A little effort and I solved the problem. Everything was in the article "Using J-Link with MIMXRT1060-EVKB or MIMXRT1040-EVK" https://community.nxp.com/t5/i-MX-RT-Knowledge-Base/Using-J-Link-with-MIMXRT1060-EVKB-or-MIMXRT1040-EVK/ta-p/1452717 J-Link works ok. Ryszard Re: MCUXpreso cannot connect to MIMXRT1060-EVKB board via J-Link or CMSIS-DAP Hi @Ryszard  Are you using the MCUXpresso IDE? If you use it. You can download the SDK_2_15_100_MIMXRT1060-EVKB SDK on the NXP official site. Select Board | MCUXpresso SDK Builder (nxp.com) And import the downloaded SDK in MCUXpresso. And import the example in SDK. And click the debug to run the hello world. Hope this will help you. BR Hang
View full article
SJA1110 SDK安装 您好,我想安装 SJA1110 RTD SDK。我已经安装了S32DS FOR S32 PLATFORM V3.5.12,我已经下载并安装了 SW32G_SJA11XX_ETH_SWITCH_4.4_1.0.0_DS_updatesite_D2306.zip、SW32SJA1110_XJA11XX_ETH_PHY_4.4_1.0.5_DS_updatesite_D2405.zip、SJA11XX_RTD_4.4_1.0.1_P01_D2404_DS_updatesite.zip,SJA11XX_RTD_4.4_1.0.1_D2312_DS_updatesite.zip、SJA11XX_ETH_SWITCH_4.4_1.0.0_DS_updatesite_D2306.zip,但我仍然无法在《S32G-VNP-RDB2以太网启用指南》中找到“switch_config_s32g_vnp_rdb”示例 回复:SJA1110 SDK 安装 你好, 我在使用 SDK 时遇到了困难,因为一些(过时的?)文档告诉我它应该出现在 S32 Design Studio 的 S32 平台帮助 -> S32 DS 扩展和更新列表中。 事实并非如此。我需要通过提取.zip文件来安装S32 SDK然后帮助->安装新软件...->“添加...”然后“本地...”。我没有尝试“存档...”和.zip选择,也许这也是有效的。 此致
View full article
Change HSE Lifecycle Hi, I'm developing software based on S32K3xx Demo app. In order to Update Secure Life Cycle, ADKP need to be is programmed. After ADKP is programmed, the secure debug feature is enabled. I got 2 questions: Does the secure debug feature always enabled when HSE Life cycle is OEM_PROD/IN_FIELD? Can secure debug feature be disabled when HSE Life cycle is OEM_PROD/IN_FIELD? (No debug authorization script needed) Thanks a lot. Re: Change HSE Lifecycle Hi @HaiHoangSoftware  Here are two screenshots from the manual:   So, it is mandatory to configure ADKP when advancing the life cycle and it's not possible to disable secure debug because it's programmed to OTP. Regards, Lukas
View full article
SHE Keys configuration in S32K3xx Hello, I am using Crypto_43_HSE module from RTD v5.0.0, and I would like to configure the SHE keys according to the AUTOSAR standard. Is there any example or demo project provided by NXP that shows how to do so with EB TResos or with the S32DS Configuration tool (.mex) file? I did not find anything useful in the available examples. Re: SHE Keys configuration in S32K3xx Many thanks. Re: SHE Keys configuration in S32K3xx Hi @strofald  I have an example for older RTD 2.0.2 which uses SHE keys. See please attachment. Regards, Lukas
View full article
S32K344-If the DERR_SUP field is set to 1, will a single-bit error be repaired? Hello I read in the chip manual that if the DERR_SUP field in register PFCR4 is set to 1, single-bit and double-bit ECC events will not be reported. Will single-bit errors be repaired? BestRegards, Simon Re: S32K344-If the DERR_SUP field is set to 1, will a single-bit error be repaired? Yes, it has nothing to do with a single-bit ECC. Regards, Daniel Re: S32K344-If the DERR_SUP field is set to 1, will a single-bit error be repaired? Hello @danielmartynek  Thank you for your answer. I have a similar question: If the DMEEE bit in the same register PFCR4 is set, will a single-bit error be repaired? BestRegards, Simon Re: S32K344-If the DERR_SUP field is set to 1, will a single-bit error be repaired? Hi @Simon-Liu, Single bit errors are still corrected. Regards, Daniel
View full article
Fs26 keeps mcu(s32k344-wb) in sleep mode. Hi, Some time ago i've uploaded the S32k3_wb_f26 example to the whiteboard. It worked! I could press buttons to toggle sleep mode. But then I pressed the wrong button(s). And now I can't wake up my whiteboard ( S32K344-WB)  My board looked like this; for the jumpers. You can also check the led on the board. If I measure the FS26_VLDO1 on J7 (pin2), I get 5.0v(So the FS26 is powering LDO1). When removing the Jumper on J89. The following lights up  But then the MCU reset(JTAG_RST(PTA5_MCU_RESETB)) keeps high. Even when pulled low(by pressing the SW1 btn)? When measuring RSTB on the FS26 its at a low level; same as for the FS0B, which states it is in error mode? (nr off errors exceeds allowed number of errors). Re: Fs26 keeps mcu(s32k344-wb) in sleep mode. Yea you're right... VCC2_5V0 is pulling 0.8A. And the FS26 gets really hot.  thnx for the help. Re: Fs26 keeps mcu(s32k344-wb) in sleep mode. As long as VDD_HV_A is connected to FS26_VLDO1, D11 is off. I'm afraid that VDD_HV_A consumes too much current (maybe S32K3 is damaged), causing the FS26_VLDO1 voltage to drop and D11 to turn off. It is recommended to measure the FS26_VLDO1 voltage. Or measure the current consumed by VDD_HV_A through J89 to see if it is too large. Re: Fs26 keeps mcu(s32k344-wb) in sleep mode. 1. I was testing Standby mode. 2. LED1(D28 PTF8) and LED2(D29 PTF9) are always off. Even when rebooting. 3. Yes, ive got an 12V 1A power supply. (i dont turn on the HB200X) 4. When measuring pin 2 of J7 i get 5V. TP2 does generate an interrupt.   Re: Fs26 keeps mcu(s32k344-wb) in sleep mode. Hi Please read the description of this demo application. Connect the wires as described below. 1. STANDBY mode or LPOFF mode test? 2. After power-on, MCU is normal running. Then user need push button SW3(WB) to trigger entry of Standby mode or LPOFF mode depending on MACRO definition. If you do not press SW3, what is the status of LED1(D28 PTF8) and LED2(D29 PTF9)? I see that the program turns off LED1(D28 PTF8) and LED2(D29 PTF9) to indicate MCU enters Standby only after pressing SW3. 3. Did you apply 12v and then turn on the switch SW10? 4. Strange, I don't see D11 light up red. According to what you said, FS26_VLDO1 has measured 5V from J7 or J89. 5. Do not remove J89, this power the VDD_HV_A which is used to support standby mode. Best Regards, Robin ------------------------------------------------------------------------------- Note: - If this post answers your question, please click the "ACCEPT AS SOLUTION" button. Thank you! - We are following threads for 7 weeks after the last post, later replies are ignored Please open a new thread and refer to the closed one, if you have a related question at a later point in time. -------------------------------------------------------------------------------
View full article
S32K311 Bootloader Code Example Similar to Shared Link Hi , I'm currently working on a project using the NXP S32K311 and I'm looking for a bootloader code example for this MCU. I came across a useful implementation elsewhere, and I'm trying to find something similar here on the NXP Community or through official resources. The following link is the project I used. Unified bootloader Demo - NXP Community Specifically, I'm looking for: A working bootloader for S32K311 (preferably CAN-based) Any guidance or documentation related to flash routines, Memory layout and linker configuration (for application and bootloader), or security handling in bootloader Proper clock configuration (for system/core/peripherals) Correct pin initialization (especially for UART/CAN interfaces used for communication) Startup/initialization issues to watch for (e.g., ITCM, MPU, etc.) If anyone has worked on something similar or can point me to a shared project, SDK example, or GitHub repo, I’d really appreciate it. Thanks in advance for your help! Re: S32K311 Bootloader Code Example Similar to Shared Link Hi @DiaDev, There are some examples for S32K312 for a bootloader to application jump in this post: Example S32K312 Bootloader to Application Jump DS3.5 RTD300 - NXP Community. But as far as I know, the unified bootloader is the only example with CAN support. There are no examples specifically for the S32K311, since we need to test them in our evaluation boards, but the S32K312 derivative is fairly similar, the Unified Bootloader and the examples I shared previously both support the S32K312. You must port the example over to the S32K311 yourself. If you have any issues while implementing CAN or the bootloader, you can ask in the community and we will help you. But, if you have questions about the application itself, you can contact the owner through their GitHub page: GitHub - ecubus/EcuBus-Pro: A powerful automotive ECU development tool. UDS, CAN-TP, DOIP, LIN , Script(TS) like CAPL, HIL Test. Best regards, Julián
View full article