Multi Source Translation Content

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

Multi Source Translation Content

讨论

排序依据:
MIMXRT1170SDK 中的 CONFIG_WIFI_SMOKE_TESTS 有什么用途? 我正在尝试了解 SDK (2_16_100) MIMXRT1170-EVKB 中的 wifi_examples/wifi_cli 示例。谁能告诉我 CONFIG_WIFI_SMOKE_TESTS 的用途是什么?我看到这会将以太网接口拉入 wifi_cli 构建中,但我不太明白其目的是什么。 有什么想法吗? 回复:MIMXRT1170SDK 中的 CONFIG_WIFI_SMOKE_TESTS 有什么用途? 再试一次... 有关于此的最新消息吗? 回复:MIMXRT1170SDK 中的 CONFIG_WIFI_SMOKE_TESTS 有什么用途? 谢谢。我一直在看代码,但很难弄清楚这个宏的用途。 目前我正在使用 Embedded Artists 2EL M.2 模块(WIFI_IW612_BOARD_MURATA_2EL_M2);但这可能会改变。 回复:MIMXRT1170SDK 中的 CONFIG_WIFI_SMOKE_TESTS 有什么用途? 有最新消息吗?
查看全文
MK60F12 - Unable to lock JTAG by securing flash through FSEC I'm trying to lock the JTAG on the MK60F12 by through the Flash Configuration loaded from program flash at 0x400 at startup. However, no matter what I put in the SEC field of flash configuration FSEC (0b00, 0b01 or 0b11), the FTFL_FSEC register always loads with 0b10 (unsecured). I tried changing other fields of FSEC (KEYEN, MEEN, etc.) and that works, but FSEC is always 0b10. I'm using the SEGGER J-Link JTAG programmer. Would anybody have any clue to why I'm not able to secure FSEC? Kinetis K Series MCUs Re: MK60F12 - Unable to lock JTAG by securing flash through FSEC Hi @LRawlyk  Thank you for reaching out! Let me provide my first recommendation, so you could double check.  In the device selection, please try to select the Allow security option option for your part. Here is an example for the Segger J-Link commander. I do not know about the tools that you are using, but please ensure to select that option, per my experience, with this it will allow you to manipulate FSEC.  Just beware of the MEEN, the if the mass erase is not enabled, you won't be able to write a new image with the FSEC enabled again. I hope this could help you!  Diego
查看全文
What is the purpose of CONFIG_WIFI_SMOKE_TESTS in the MIMXRT1170SDK? I'm trying to get to know the wifi_examples/wifi_cli example in the SDK (2_16_100) MIMXRT1170-EVKB.  Can anyone tell me what the purpose of the CONFIG_WIFI_SMOKE_TESTS is for?  I see that this pulls in the Ethernet interface into the wifi_cli build, but I don't quite follow what the purpose is. Any thoughts? Re: What is the purpose of CONFIG_WIFI_SMOKE_TESTS in the MIMXRT1170SDK? Hi, This macro is for internal use only. Please ignore it. Regards, Daniel Re: What is the purpose of CONFIG_WIFI_SMOKE_TESTS in the MIMXRT1170SDK? Trying again... Any updates on this? Re: What is the purpose of CONFIG_WIFI_SMOKE_TESTS in the MIMXRT1170SDK? Thanks. I've been looking at the code, but it's just tough to figure out what that macro is for. Right now I'm using the Embedded Artists 2EL M.2 module (WIFI_IW612_BOARD_MURATA_2EL_M2); but that may change. Re: What is the purpose of CONFIG_WIFI_SMOKE_TESTS in the MIMXRT1170SDK? Hi, I am still checking this. I going to ask internally. Please let me know the Wi-fi chipset you are using. Regards, Daniel Re: What is the purpose of CONFIG_WIFI_SMOKE_TESTS in the MIMXRT1170SDK? Any update on this? Re: What is the purpose of CONFIG_WIFI_SMOKE_TESTS in the MIMXRT1170SDK? Let me check. Regards, Daniel.
查看全文
MK60F12 - FSEC を介してフラッシュを固定することで JTAG をロックできない 私は、起動時に0x400でプログラムフラッシュからロードされたフラッシュ設定を介して、MK60F12のJTAGをロックしようとしています。 ただし、フラッシュ構成FSEC(0b00、0b01、または0b11)のSECフィールドに何を入れても、FTFL_FSECレジスタは常に0b10(保護されていない)でロードされます。 FSECの他のフィールド(KEYEN、MEENなど)を変更してみましたが、それは機能しますが、FSECは常に0b10です。 SEGGER J-Link JTAGプログラマを使用しています。 誰かが私がFSECを保護できない理由についての手がかりを持っていますか? Kinetis KシリーズMCU
查看全文
MK60F12 - 无法通过 FSEC 保护闪存来锁定 JTAG 我正在尝试通过在启动时从 0x400 的程序闪存中加载的闪存配置来锁定 MK60F12 上的 JTAG。 但是,无论我在闪存配置 FSEC 的 SEC 字段中输入什么(0b00、0b01 或 0b11),FTFL_FSEC 寄存器总是加载 0b10(不安全)。 我尝试更改 FSEC 的其他字段(KEYEN、MEEN 等),并且可行,但 FSEC 始终为 0b10。 我正在使用 SEGGER J-Link JTAG 编程器。 有人知道为什么我无法获得 FSEC 吗? Kinetis K系列MCU
查看全文
MIMXRT1170SDK CONFIG_WIFI_SMOKE_TESTSの目的は何ですか? 私はSDK(2_16_100)MIMXRT1170-EVKBのwifi_examples / wifi_cliの例を知ろうとしています。誰かがCONFIG_WIFI_SMOKE_TESTSの目的を教えてもらえますか?これにより、イーサネットインターフェイスがwifi_cliビルドに引き込まれることがわかりますが、目的が何であるかはよくわかりません。 何か考えはありますか? Re:MIMXRT1170SDKでのCONFIG_WIFI_SMOKE_TESTSの目的は何ですか? 再試行しています... これに関する最新情報はありますか? Re:MIMXRT1170SDKでのCONFIG_WIFI_SMOKE_TESTSの目的は何ですか? 感謝。私はコードを見てきましたが、そのマクロが何のためにあるのかを理解するのは難しいです。 現在、Embedded Artists 2EL M.2モジュール(WIFI_IW612_BOARD_MURATA_2EL_M2)を使用しています。しかし、それは変わるかもしれません。 Re:MIMXRT1170SDKでのCONFIG_WIFI_SMOKE_TESTSの目的は何ですか? これに関する最新情報はありますか?
查看全文
[I.MX93] eMMC design : pull-up & pull-down resistor Dear NXP Community, I am currently working on the eMMC PCBA design for the I.MX93 and noticed some differences between the NXP EVK design and our initial design. I would like to seek clarification on this matter. Based on the eMMC design guidelines I reviewed, it appears that pull-up resistors are generally required for CMD and DAT0-DAT7, and a pull-down resistor is needed for DS. However, upon referencing your design in the SPF-94611_B1.pdf, I noticed that these additional external resistors are not present in the eMMC circuitry. Could you kindly confirm if the absence of these external resistors is due to the presence of internal pull-up or pull-down resistors for DAT0-DAT7 and CMD within the I.MX93? If this understanding is correct, could you also advise whether configuring the internal pull-up or pull-down settings appropriately in the software will be sufficient to meet the design requirements? Thank you for your support, and I look forward to your guidance! Best regards, Howard  Re: [I.MX93] eMMC design : pull-up & pull-down resistor Hi @Chou! Thank you for contacting NXP Support! in iMX93-EVK board we configure the internal pull up resistors in those pins,. but I recommend to put external pull-up resistors to guarantee the logical state. This is a reference schematic The pull-up resistors are configured in u-boot device tree and maintain the configuration on Linux device tree Best Regards! Chavira
查看全文
Clk2Cs parameter on Tresor issue Hello everyone, I'm trying to create a SPI code for S32K344 microcontroller using Tresos. On RTD I was able to create without error (.mex file), but when I try to do the same configuration on Tresos, I got error. The error shows that 1.0E-4 is out of range. But in the description it allow from 30ns up to 0.01s. Can someone help me to fix this problem, please? Thanks, MVR Re: Clk2Cs parameter on Tresor issue Hi MVR, I checked the file. This is an old implementation, so it's different with the RTD currently. Basically, the code not report any errors. It will set the minimum value (as 0) if you put delay time lower than minimum range, and set maximum value (as 255) if you put delay time higer than the maximum range. When you put the delay time as 0, the code will immediately return 1, then the bestSckPcs will be 0 -> Register CCR_SCKPCR = 0 In case you put the value not 0 but lower than minimum range, the for loop will return with sckpcs = 1, due to the abs() function will increase when sckpcs increase. Then the return value still 1, and bestSckPcs = 0 then. As your case, when you put the value higher than maximum range, the abs() will lowest when sckpcs = 256. So the DeviceInfo of CCR will be 255, as your current code. So from my opinion, for the current RTD driver, the errors is better (for customer), and you can set the maximum value of range for the 255 value of register CCR As i said, you can see the tool automatically calculate the maximum range, also you can calculate it easily as my previous done one. Thank you, Nam. Re: Clk2Cs parameter on Tresor issue Re: Clk2Cs parameter on Tresor issue Hello @NamLee  I will test with the new version.  Sure, follow attached the .c that you requested.  It is located in "C:\NXP\S32DS.3.4\eclipse\mcu_data\components\PlatformSDK_S32K3_2022_07\Spi" Thank you!! MVR Re: Clk2Cs parameter on Tresor issue Hi MVR, - Yes. Seems like your version is old one. Can you help me to test with RTD_updatesite 4.0.0 in your side? - Yes, for the 255 as maximum delay time you should put it as maximum in EB Tresos. The value range will be reported in the tool, so you can follow the range basically. One more point, in the 2.0.1 that you're using, can you help me to share the file Lpspi_Ip_PBcfg.c? It should be located in Spi component of PlatformSDK in C:\NXP\S32DS.3.5\eclipse\mcu_data\components\PlatformSDK_S32K3\Spi\Lpspi_Ip_PBcfg.c I wanna check the implementation of the SpiTimeClkCs. Thank you, Nam. Re: Clk2Cs parameter on Tresor issue Hello @NamLee  I'm using SW32K3_RTD_4.4_2.0.1_DS_updatesite_D2207. The problem is that when I define  1.0E-6, my application doesn't work... But when I define  1.0E-5 like the picture, it works but the SSCK is 255... As I could understand with this old version, when selected a value out of range it is automatically set 255, right? So in the new version, which value should I set for my application works? Should be 1/40M x (255 + 1) = 6.4E-6? I still doesn't have the hardware to test, but as soon as I receive back the hardware, I will test again. Thanks, MVR. Re: Clk2Cs parameter on Tresor issue Hi MVR, In my tested RTM 4.0.0, the error will be reported as i explained. I thought you're using RTD 4.0.0 also? Which is RTD_updatesite version that you're using right now? I'm using SW32K3_S32M27x_RTD_R21-11_4.0.0_D2311_DS_updatesite One more point, please help me to check the implementation of SpiTimeClk2Cs code gen. It should be located in file C:\NXP\S32DS.3.5\eclipse\mcu_data\components\PlatformSDK_S32K3\Spi\Lpspi_Ip_PBcfg.c I think you're using an old version, and the design at that time as i said, when you put a value higher than maximum then the register value will be set as 255, as in possible range. The number stands for delay time required between Clock and Cs signal. E.g: in my test, PCSSCK is 39 -> the delay time is 1/40M x (39 + 1) = 1.0E-6 With Busclock for LPSPI2 is 40M Hz. So in 4.0.0, if you wanna keep the maximum delay time (as current sequence) then you just put the maximum value for those nodes (as 6.4E-6) My point is, this is correct implementation in current design driver. Thank you, Nam. Re: Clk2Cs parameter on Tresor issue Hey @NamLee , The SDK that I'm using is "S32K3_RTD_2_0_1_D2207_ASR_REL_4_4_REV_0000_20220707". So maybe this version has this problem, right? So in the end, what value do these "255" represent? I know that this is the maximum value, but how is the reverse calculation so I can find out the correct value to configure in Tresos? Thanks, MVR Re: Clk2Cs parameter on Tresor issue Hi MVR, I checked with RTD K3 4.0.0 RTM The flow quite the same, when the SpiTimeClkCs value as input for GenerateExternalDeviceInfo function And we have the same flow of generate value, as when the time is too high or too low, than the error be loged out. In DS, when i set value Clk2Cs as 1.0E-5, the error reported. Because the range is maximum as 6.4E-6 (as calculation before) Same flow with Cs2Clk. when i put it as 1.0E-6, value is in range and no errors reported. To confirm about this, the generated values are matching with expectation 1> The SCKDIV is 78 -> as Scaler is 78 as calculation before. I'm using SLOW_CLK as 40M Hz for LPSPI2 channel 2> PCSSCK is 39 -> the delay time is 1/40M x (39 + 1) = 1.0E-6 3> SCKPCS is 0 as initialized value of Device.OptimalSCKPCS, only error log be updated. From my view, there's no problem with driver in both EB Tresos and DS tool. Thank you, Nam. Re: Clk2Cs parameter on Tresor issue Hello @NamLee, It makes sense, as soon as possible I will try with 6.4E-6. Now I don't have more the hardware because it is being used in other place. But when I get back it I will test. Also I will try to measure it.  Thank you! MVR Re: Clk2Cs parameter on Tresor issue Hi MVR, Thank you so much for your detailed answers. It's not a configure tool issue because the value of node still in range, but invalid corresponding to the Clock and Baudrate. Maybe in EB Tresos enable the feature Verify configuration everytime you change a node. It'll report errors before you hit generate. But it doesn't matter. The root cause is the delay time is longer than maximum range. I saw the value of CCR register, specially LPSPI_CCR_SCKPCS: - The SCKDIV is 78, which confirm that the calculation of ScalerValue is correct here. Your configuration is fine. - The SCKPCS/PCSSCK/DBT field is 255. Which is maximum of the range. From my guess, in DS, if the configured delay value is higher than the possible delay time amount, then the code gen will set 255 as maximum value for those delay times. I'll check the DS driver and code gen about this point. In additionally, can you set the value of SpiTimeClk2Cs in EB to 6.4E-6? I suppose the generated code will be the same (with the code from DS), and all sequences will run normally. Please help me to try this workaround. I'll also try in DS. Thank you, Nam. Re: Clk2Cs parameter on Tresor issue Only complementing (I can't edit what I sent): - Do you use DesiredBaudrateConfig and apply another Baudrate different with 500K? This might change the value of PrescalerValue. R: I didn't use "DesiredBaudrateConfig" and also I didn't try to apply another baudrate. Re: Clk2Cs parameter on Tresor issue Hello @NamLee , thank you by your support. First of all, I'm facing error before to generate the code on Tresos: Note: - I attached the SPI and MCU modules configuration. And answering your questions: - Do you use DesiredBaudrateConfig and apply another Baudrate different with 500K? This might change the value of PrescalerValue. R: I didn't use. - In case you enable DualClock mode, the BusClock will be BusClockAlternate R: I didn't enabled this option - Do you use the same package RTD 4.0.0 HF01 in DS? R: Yes and also I tested with the lastest version "4.00 HF02_D2407", which I get the same error. - In DS when you configure the value of Clk2Cs, can you give me the range of this node (in DS) in this time? R: Is it your request? -> - In generated code, can you give me value of LPSPI_CCR_SCKPCS? R: Configuration that works (Generated by DS tool): Configuration that doesn't work for me (generated by Tresos, with 😞 Thanks, MVR Re: Clk2Cs parameter on Tresor issue Hi MVR, I'm Nam from NXP RTD, i'm in charge of topic from Daniel so i comment directly here to discuss easier. I saw the error came from Generate code, not Configure tool. The Configuration not report error, but the Generate value is not in range of delay time in PrescaledClock About the value of TimeClk2Cs, it's the value of delay time in SCKPCS field, in range of 1~255 clock cycle which calculated with Prescaler as the field in TCR register. The clock be calculated from Bus clock (which is 40M Hz if you not choosing Dual Clock of SPI), and the PrescalerValue is 2^(Prescaler) which calculated here: With Busclock as 40M and DesiredBaudrate as 500K, the devide value should be 80, which mean the PrescalerValue is 1 (as 2^0) and the SckDiv will be 78. I tried to enable the DesiredBaudrateConfig with corresponding values, confirmed it's correct. So with PrescalerValue as 1, the PrescaledClock will equal with BusClock which is 40M Hz, and the Delaytime will have to in range of 2.5E-8 ~ 6.4E-6 As my view, i don't see problem with EB Config in my side, compare with RM of SPI. I'm doubting about your configuration in DS (.mex file) in 2 points: - Do you use DesiredBaudrateConfig and apply another Baudrate different with 500K? This might change the value of PrescalerValue. - Your clock of SPI be changed somewhere. Normally, the BusClock will be the reference clock which configured in this node, refered to Mcu In case you enable DualClock mode, the BusClock will be BusClockAlternate You should not enable the AlternateClockRef node. Can you help me check these 2 points? I have few questions with your DS tool configuration:  - Do you use the same package RTD 4.0.0 HF01 in DS? - In DS when you configure the value of Clk2Cs, can you give me the range of this node (in DS) in this time? - In generated code, can you give me value of LPSPI_CCR_SCKPCS? Thank you, Nam. Re: Clk2Cs parameter on Tresor issue Hello @MVR, No need for a new thread. But this case is currently pending on the RTD team, and it might take some time before it is analyzed by them and even longer to update the SW if needed. Re: Clk2Cs parameter on Tresor issue Hello @danielmartynek  Should I open a new topic? Thank you. MVR Re: Clk2Cs parameter on Tresor issue Hi @MVR, It has been reported to the RTD development team. I will update the thread once I have some feedback. BR, Daniel Re: Clk2Cs parameter on Tresor issue Can someone help me, please? I closed the ticket but I found a new issue. Re: Clk2Cs parameter on Tresor issue Take a look the error: And this is the clock configured: Re: Clk2Cs parameter on Tresor issue Hello @danielmartynek  It makes sense. But I set the same configuration (clock and baudrate) that I set on RTD (.mex file) but I can't define the same range, do you know why? I'm trying to set 1.0E-5 in LPSPI_1, using 4.0E7 of clock (AIPS_SLOW_CLK) and 500000.0 of baudate. Why on S32DS tool it works but on Tresos it doesn't work? Thanks. Re: Clk2Cs parameter on Tresor issue I see now, I can reproduce it. The range that the tool reports depends on the selected clock and baudrate. So, if you change the baudrate, you should see that the range moves. The delay is configurable in the CCR register and it depends on TCR[PRESCALE]. Regards, Daniel Re: Clk2Cs parameter on Tresor issue I'm using 29 as well. That's strange... Re: Clk2Cs parameter on Tresor issue Hi @MVR, What EB Tresos version do you use? I can set 1.0E-4 in Tresos 29. I imported this example: ...\SW32K3_S32M27x_RTD_R21-11_4.0.0_HF01\eclipse\plugins\Spi_TS_T40D34M40I0R0\examples\EBT\S32K3XX\Spi_Transfer_S32K344 Regards, Daniel Re: Clk2Cs parameter on Tresor issue Some other notes: RTD configuration (here it works): I'm using this version of AUTOSAR MCAL:
查看全文
s32k3 secure debug interface? Hi Nxp,     i've set S32K312  LC to OEM_PROD and secure debug is active.  i only got jlink now and have some question : 1. to open the secure debug,  is interface JTAG / SWD both available or ONLY JTAG? 2. is there any scripts for jlink to authurize secure debug?   Re: s32k3 secure debug interface? thanks, use pylink to implement CR auth works. Re: s32k3 secure debug interface? Hi @victory  1. To open secure debugging, are JTAG/SWD or JTAG ONLY interfaces available? Both JTAG and SWD interfaces are available. 2. Is there any script for jlink to enable secure debugging? I am afraid J-Link does not support secure debugging of applications with password authentication or with challenge/response authentication. BR, VaneB
查看全文
S32k142中的默认启动模式和启动引脚 我正在研究S32k142 MCU。我希望启动模式是从Flash启动。 S32k14x MCU 中的默认启动模式是什么?而且我在引脚排列中没有找到任何启动引脚,启动模式配置是如何完成的? 谢谢, 杰万
查看全文
尝试使用 EGL_image_external 进行渲染时出现 GPU 错误 在 iMX.8QuadMax 上运行,我正在尝试部署一个 Gstreamer 管道,该管道解码 HEVC 帧,然后将其传递给“glupload”,这是一个能够生成 EGL_image 支持的 GL 纹理的 Gstreamer 元素。 根据其调试和日志输出,glupload 在从 DMA 缓冲区创建 EGL 图像时似乎设置了正确的参数。 但是,当我尝试在 GLES 中渲染解码后的帧并从 EGL_image 支持的纹理中进行采样时,出现错误: [ 1] ES30: 验证过程中出现一些绘制错误并被跳过 此外,在从纹理中采样的过程中,偶尔会出现 SEGFAULT。调用堆栈是: #0 0x0000fffff5a48e68 在 ?? () 中来自 /usr/lib/libGAL.so #1 0x0000fffff59edcb4 在 gcoSURF_DisableTileStatus () 中来自 /usr/lib/libGAL.so #2 0x0000fffff5a036e8 在 gco3D_SetTarget () 中来自 /usr/lib/libGAL.so 我可以得到一些帮助来找出问题所在吗? 回复:尝试使用 EGL_image_external 进行渲染时出现 GPU 错误 我解决了这个问题。Gstreamer 插件使用它们自己的 GL 上下文而不是共享我的渲染上下文,因此我获得的纹理 ID 尽管在渲染上下文中是有效的纹理 ID,但实际上并不是相同的对象。因此,尝试将这些纹理采样为 EGLImage 外部支持纹理是错误的。 回复:尝试使用 EGL_image_external 进行渲染时出现 GPU 错误 我真的不认为这是一个内存空间限制。纹理为 200x200 RGBA。我正在播放的视频流中有 3 帧。总共只有 160KB。 我已阅读 Gstreamer 指南。它主要讨论使用 gst-launch 构建管道,但在这里没有帮助。 “验证过程中某些绘制出现错误并被跳过”是什么意思?我如何获得有关实际*错误*的更多详细信息? 我也尝试了 VIV_DEBUG=-MSG_LEVEL:WARNING,但没有打印任何新内容。
查看全文
EGL_image_externalでレンダリングしようとするとGPUエラーが発生しました iMX.8QuadMaxで実行し、私は、HEVCフレームをデコードし、それを「glupload」、つまりEGL_imageに裏打ちされたGLテクスチャを生成できるGstreamer要素に渡すGstreamerパイプラインをデプロイしようとしています。 glupload は、デバッグおよびログ出力に基づいて、DMA バッファーから EGL イメージを作成するときに正しいパラメーターを設定しているようです。 ただし、デコードされたフレームを GLES 内でレンダリングしようとすると、EGL_image で裏付けられたテクスチャからサンプリングすると、次のエラーが発生します。 [ 1] ES30:一部の描画取得エラーと検証中にスキップ また、テクスチャからサンプリングするドロー中にSEGFAULTが発生することがあります。呼び出し履歴は次のとおりです。 #0 0x0000fffff5a48e68 で ??()を/usr/lib/libGAL.soから #1 gcoSURF_DisableTileStatus() の 0x0000fffff59edcb4 (/usr/lib/libGAL.so から) #2 gco3D_SetTarget () の 0x0000fffff5a036e8 /usr/lib/libGAL.so から 何が問題なのかを理解するのに助けてもらえますか? Re:EGL_image_externalでレンダリングしようとするとGPUエラーが発生します 問題を解決しました。Gstreamerプラグインは、レンダリングコンテキストを共有する代わりに独自のGLコンテキストを使用していたため、レンダリングコンテキストで有効なテクスチャIDであるにもかかわらず、取得していたテクスチャIDは実際には同じオブジェクトではありませんでした。したがって、これらのテクスチャを EGLImage の外部バッキング テクスチャとしてサンプリングしようとすると、エラーが発生しました。 Re:EGL_image_externalでレンダリングしようとするとGPUエラーが発生します メモリスペースの制限だとは思いません。テクスチャは200x200 RGBAです。再生中のビデオストリームには3つのフレームがあります。これは合計でわずか 160KB です。 Gstreamerのガイドを読みました。主に gst-launch を使用したパイプラインの構築について説明しており、ここでは役に立ちません。 「一部の抽選でエラーが発生し、検証中にスキップされました」とはどういう意味ですか?実際の*エラー*の詳細を取得するにはどうすればよいですか? 私もVIV_DEBUG=-MSG_LEVEL:WARNINGを試しましたが、新しいものは何も印刷されませんでした。
查看全文
S32 Design tool Launching issue Hello Community, As I am start to work with NXP s32 design studio IDE for my Client project, I have installed s32 IDE after installation I trying to open the IDE,but facing the issue. Kindly help me on this Please find the attachment.  Re: S32 Design tool Launching issue Hi @KarthickArumin  The issue you are encountering seems to be related to an installation problem. To help diagnose this, it would be useful to review the installation logs from both the base tool and any associated packages. You can find the installation logs in the following directories: - C:\NXP\S32DS.3.6.0\_S32 Design Studio for S32 Platform 3.6.0_installation\Logs\S32_Design_Studio_for_S32_Platform_3.6.0_Install_MM_DD_YYYY (date)_HH_MM_SS(time).log - C:\Users\workspaceS32DS.3.6\.metadata\.log If you prefer, you can also try reinstalling S32 Design Studio to resolve the issue. BR, VaneB
查看全文
GPU error attempting to render with EGL_image_external Running on an iMX.8QuadMax, I am trying to deploy a Gstreamer pipeline that decodes HEVC frames that are then passed to "glupload", a Gstreamer element capable of producing EGL_image-backed GL textures. glupload appears to be setting the correct parameters when creating the EGL image from the DMA buffer, based on its debug and logging output. However, when I attempt to render the decoded frame inside GLES, sampling from the EGL_image-backed texture, I get the error: [ 1] ES30: some draw get error and skipped during validation Also, it will occasionally SEGFAULT during the draw which samples from the texture. The call stack is: #0 0x0000fffff5a48e68 in ?? () from /usr/lib/libGAL.so #1 0x0000fffff59edcb4 in gcoSURF_DisableTileStatus () from /usr/lib/libGAL.so #2 0x0000fffff5a036e8 in gco3D_SetTarget () from /usr/lib/libGAL.so Can I get some help figuring out what is wrong? Re: GPU error attempting to render with EGL_image_external I solved the issue. The Gstreamer plugins were using their own GL context instead of sharing my render context, so the texture IDs I was getting, despite being valid texture IDs in the render context, were not actually the same objects. Hence, attempting to sample those textures as EGLImage external backed textures was an error.  Re: GPU error attempting to render with EGL_image_external I really don't think it's a memory space limitation. The texture is 200x200 RGBA. The video stream I'm playing back has 3 frames in it. That is only 160KB total. I've read the Gstreamer guide. It mostly talks about constructing pipelines with gst-launch and isn't helpful here. What does "some draw get error and skipped during validation" mean? How do I get more details on the actual *error*? I also tried VIV_DEBUG=-MSG_LEVEL:WARNING and that didn't print anything new. Re: GPU error attempting to render with EGL_image_external Hello, For supported formats one can refer to the Release Notes, and the graphics user guide. pay attention to Table 15. i.MX GStreamer 1.0 plugins. Also if you are receiving segmentation fault is due to your don't have enough memory to run the graphics check this part. Regards
查看全文
S32G399A - MDIO configuration in the Device Tree Dear NXP fellows, I am using BSP41.0 and a board based on S32G399ARDB3. Looking at the Linux Kernel Device Tree Configuration file, I see this PFE MDIO2 definition: &pfe_mdio2 { /* AR8035 */ pfe_mdio_b_phy4: ethernet-phy@4 { reg = <4>; }; /* SJA1110's phys: 0x09-0x0e */ }; Then I see this PFE_MAC2 interface definition: &pfe_netif2 { phy-mode = "rgmii-id"; phy-handle = <&pfe_mdio_b_phy4>; }; It uses as PHY handle the pfe_mdio_b_phy4 declared above. What concerns me are the comments. According to the User Guide we have this configuration as default: In this configuration, the PFE_MAC2 interface is connected through RGMII to the PHY Micrel KSZ9031. The PHY Atheros AR8035 is connected through RGMII to the ports 2 and 3 of the SJA1110 switch. The switch is accessed by default through SGMII in its port 4 by PFE_MAC0. So what is the relation between PFE MDIO2 and the SJA1110? Why is the SJA1110 PHY MDIOs in PFE_MAC2 interface if the PFE_MAC2 is not even connected to the switch? Thank you very much for the support, Best regards Guilherme Re: S32G399A - MDIO configuration in the Device Tree Hello @alejandro_e , Thank you for your reply. Yes, this certainly worth a try. Best regards, Guilherme Re: S32G399A - MDIO configuration in the Device Tree Hello @GuilhermeS32G3 , I have received the following answer from the internal team: " Yes, if ethernet-switch@1 is enable ,then the PHYs driver of Port 2 &3, and 6 * 100BaseT Ports of SJA1110 will be loaded when Linux kernel boots and The ports could be viewed with command "ifconfig -a" " Let me know if this information solves your questions. Re: S32G399A - MDIO configuration in the Device Tree Hello @alejandro_e , Thank you very much for your reply, Yes, I think it answers my question, and it complements Pavel's reply in my other question. In the default case (AR8035 connected to the SJA1110) there is no need to configure the AR8035 PHY in the Linux Kernel Device Tree, as this is responsibility of the SJA1110 firmware. As we are discussing this, another question arises. Still in the s32gxxxa-rdb.dtsi file, line 761, it defines the spi5 configuration. Within spi5, there are 3 nodes relative to SJA1110: sja1110-uc@0  (line 772), sja1110-sw@1 (line 780), and ethernet-switch@1  (line 795).  The former two are the SPI interfaces for reading the SJA1110 microcontroller firmware and switch configuration. But the latter one, ethernet-switch@1,  is an alternative, that requires the other two to be disabled before enabling it. I would like to know in which cases ethernet-switch@1 is used? If I enable this node, can I configure the PHYs connected to Ports 2 and 3 in the same way as the PHY connected to pfe_netif2? Best regards, Guilherme Re: S32G399A - MDIO configuration in the Device Tree hello @GuilhermeS32G3 , I have received an answer from the internal team: " There are two MDIO interfaces in SJA1110, the one is SMI_OUT_MDC and SMI_OUT_MDIO, the SMI_OUT interface is intended to be used to configure external PHY devices from the SJA1110 internal M7 core. The other is SMI_AP_MDC and SMI_AP_MDIO, The SMI access point (SMI-AP) interface allows S32G to access SJA1110 internal 100BASE-T1 PHYs. From the schematics of SJA1110 part in S32G-RDB3 board, the SMI_OUT_MDC and SMI_OUT_MDIO connected to 2 external PHYs  AR8035, and PFE_MDIO2 connected to SMI-AP of SJA1110, so that S32G could access the internal SJA1110 100BASE-T1 PHYs (address from 0x09~0x0e): Notes: the phy address in the node pfe_mdio2 of device tree is really for pfe2 PHY KSZ9031. " Let me know if this answers your question Re: S32G399A - MDIO configuration in the Device Tree Hello @GuilhermeS32G3, I will try to reach the internal team in charge of the component and come back to you. I appreciate your patience. Best regards
查看全文
Default boot mode and Boot pins in S32k142 I am working on S32k142 MCU. I want the boot mode to be from Flash. What is the default Boot Mode in S32k14x MCUs and also i did not found any Boot pins in the Pinout, How is the Boot mode configuration done? thanks, jeevan Re: Default boot mode and Boot pins in S32k142 Hi @Jeevansagar  S32K1xx devices have only one boot mode - from internal flash from address 0 (0x0 initial SP_main and 0x4 initial PC). There are no other options, so there are no boot pins. Regards, Lukas    
查看全文
DMA For ADC I am using DMA to transfer data from FIFO1 and FIFO2 into a buffer. I am utilizing fixed DMA configurations for this data transfer. when completion of the transfer, the following functions will be called: Bctu_Ip_Bctu0Fifo1DmaComplete Bctu_Ip_Bctu0Fifo2DmaComplete              The system functions correctly when I use an interrupt from RTD (IntCtrl_Ip_Init). However, for my project, I am using a different file to configure the interrupt handler, set priority, and enable the handler. For DMA0_CH1 &DMA0_CH16,i am using IRQ :  DMATCD1_IRQn / Dma0_Ch1_IRQHandler / Priority DMATCD16_IRQn / Dma0_Ch16_IRQHandler / Priority It works for BCTU_IRQn and PIT0_IRQn. It also works with DMA when it is triggered by PIT using the following configurations:   However, it does not show any indication if the transfer has begun or not, and it is not raising an interrupt when the transfer is completed for DMA while reading data from FIFO using the fixed RTD configuration setup for DMA transfer (Bctu_FifoSetupDma).        What additional configurations are needed to get the system working?   Re: DMA For ADC Hi, I do not expect issue with clock gating. You can check DMA TCD dest address if is has desired value. 1-2) No, it is always enabled 3) if Dcache is enabled and buffer not placed in non cacheable area, then you should use it flush/invalidate cache if needed 4) depend on application, if peripheral is used/accessed must not be clock gated.  BR, Petr Re: DMA For ADC Hi@PetrS Thanks for the information. Here is the list of clocks enabled in my project: TRGMUX BCTU 0 eMIOS 0 eMIOS 1 eMIOS 2 ADC 0 ADC 1 ADC 2 PIT 0 PUPD MC_ME_CTL_KEY_KEY(0x5AF0) MC_ME_CTL_KEY_KEY(0xA50F) eDMA - Control & Status eDMA - Transfer Control Descriptor 0 to 31 DMA Channel Multiplexer 0 DMA Channel Multiplexer 1 MSCM STM0 SIUL2 CMU 0-6 PLL FlexCAN 0 to 3 LPI2C 0 to 1 LPSPI 0 to 3 CRC PCUD 1 )Does XRDC need clock enabling? If yes, can you provide the information on how to enable it? 2) Does Crossbar need clock enabling? If yes, can you provide the information on how to enable it? 3)Do i need to Adde Cache_Ip driver into the project ? 4)Are there any other clocks that need to be enabled? Re: DMA For ADC Hi, error may happen in case destination address points to memory range that is inaccessible - it means either access to reserved memory space or to disabled or un-clocked peripheral or protected by any kind of protection leading in bus error (MPU, XRDC). BR, Petr Re: DMA For ADC Hi@PetrS I have tested the system and identified Destination Bus Errors on channels 1 and 16.” Do you have any idea about the cause of this ? Re: DMA For ADC Hi, not sure of the code you execute, probably just IntCtrl_Ip_InstallHandler and IntCtrl_Ip_EnableIrq. But the same is done in IntCtrl_Ip_Init as well. Try to check/compare in debugger NVIC content and assigned handler in vector table for both ways. BR, Petr
查看全文
S32k142のデフォルトのブートモードとブートピン S32k142 MCUに取り組んでいます。ブートモードを Flashからにしたいです。 S32k14x MCUの デフォルトのブートモード とは何ですか、またピン配置に ブートピン が見つかりませんでしたが、ブートモードの設定はどのように行われますか? 感謝 ジーバン
查看全文
could you share the link to get rtos code for LS1017/LS1028 Hi,  Our hareware engineer is designing the develop board with LS1017. Could you share me rtos code or uboot code to bring up the develop board?  Re: could you share the link to get rtos code for LS1017/LS1028 Hello,  You can use as reference the LLDPUG to bring up your board, please find the link of the document below: https://www.nxp.com/docs/en/user-guide/UG10081_LLDP_6.1.55_2.2.0.pdf 
查看全文
PCA9555 - 20kHz PWM signal for driving low side MOSFET Hello, I am looking for a I2C/SPI interfaced PWM expander IC to to generate 20kHz PWM signal (30% duty cycle to 100% duty cycle) to multiple low side MOSFETs to drive solenoid valve. It seem PCA can generate  up to 97 kHz PWM signal with a duty cycle that is adjustable from 0 % to 99.6 %. I see to achieve 100% duty cycle is a concern. Is it possible to use PCA9635 chip as a PWM expander to drive multiple low-side MOSFET.  We need automotive qualified component. If this IC doesn't work, do you have other solution to generate multiple 20kHz PWM signal using I2C or SPI interface.  Thank you Re: PCA9555 - 20kHz PWM signal for driving low side MOSFET Hi Labib, yes, it should work. There is an example in the PCA9685 datasheet, in the page 29. using external MOSFET to drive LEDs, with required bit settings. I guess you can also use it to drive solenoid.  With Best Regards, Jozef   Re: PCA9555 - 20kHz PWM signal for driving low side MOSFET We wan to drive solenoid like this, it it possible to drive like this   Re: PCA9555 - 20kHz PWM signal for driving low side MOSFET Hi Jozef, Thank you very much for your prompt response.  It seems MC33816, PT2001, and PT2000 would be over kill for our application. I really like PCA9635 and PCA9745B. Can I drive LS MOSFET a attached herewith? I am concerned about whether all LED channels are sinking pins.      Re: PCA9555 - 20kHz PWM signal for driving low side MOSFET Hello Labib, we have programmable controllers for solenoid control applications, with adjustable frequency and adjustable duty cycle up to 100%. They are MC33816, PT2000 and PT2001.  The MC33816, PT2001, and PT2000 are all designed for automotive applications, particularly for engine and powertrain control, but they have differences in functionality and performance that can guide your choice based on your specific needs for controlling a direct injection diesel engine. 1. MC33816 Type: Programmable Solenoid Controller Application: Designed for engine control, such as driving injectors in gasoline and diesel direct injection engines. Features: Capable of driving both peak-and-hold current for fuel injectors, allowing control of injection timing and quantity. Offers dual injector drivers and is programmable for adaptive fuel control. Integrated diagnostics, including under-voltage, over-temperature, and short-circuit protection. Has built-in digital signal processing for precise control. Supports custom engine control algorithms. Flexibility: The MC33816 is more versatile and programmable, making it suitable if you need highly adaptive control, advanced diagnostics, and customization.   2. PT2001 Type: Injector Driver IC Application: Primarily for fuel injectors in internal combustion engines. Features: Designed to drive solenoids with peak-and-hold currents, typically for gasoline or diesel injection systems. Provides both the injector current profile and diagnostics. It integrates an advanced level of protection (over-current, short-to-ground, short-to-battery). Offers precise current control and supports external microcontroller interfacing. Targeted Design: The PT2001 is aimed at applications that require robust injector driving with safety mechanisms, but it is less flexible than MC33816 in terms of programmability.   3. PT2000 Type: Solenoid Driver IC Application: General-purpose solenoid driver, often used in automotive engine management for fuel injectors and transmission control. Features: Provides peak-and-hold control for solenoid driving applications. More basic compared to the PT2001 and MC33816, with fewer programmable options. Ideal for straightforward applications without the need for advanced customization. Includes basic protection features like over-temperature and over-voltage protection. Simplicity: PT2000 is suited for simpler injector control tasks where extensive programmability or advanced diagnostics are not required. How to Choose: MC33816: Choose this if your application demands high precision, customization, or advanced engine control strategies. It’s ideal for future-proofing designs where adaptability is crucial. PT2001: This is suitable if you need a robust, reliable injector driver with good protection and diagnostics but don’t need as much flexibility or programmability as the MC33816 offers. PT2000: Opt for the PT2000 if you are working on simpler applications where the focus is on cost-effectiveness and basic injector control, without the need for advanced customization or features. The PCA9635 you mentioned comes from LED drivers portfolio. Most of them have the duty cycle adjustable maximally to 99.6%.  For the LED drivers with PWM output and duty cycle up to 100% We have PCA9745B. PWM frequency fixed to 31.25kHz. PCA9685. PWM frequency adjustable from 24Hz to 1526Hz.  With Best Regards, Jozef
查看全文