Multi Source Translation Content

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Multi Source Translation Content

ディスカッション

ソート順:
FXLS8967AF Datasheet error: SENS_CONFIG1 default value descriptions The current datasheet listed on the website is Rev 1.5 of Mar 11, 2022: https://www.nxp.com/products/sensors/accelerometers/2g-4g-8g-16g-low-power-12-bit-digital-accelerometer:FXLS8967AF Table 47 shows that the SENS_CONFIG1 register default value depends on the BT_MODE pin: This affects the FSR and ACTIVE fields. The Table 48 descriptions fail to mention this, and use inconsistent options for the 2 fields: The description of FSR uses the BT_MODE=VDD default value, 01; The description of ACTIVE uses the BT_MODE=GND default value, 0 Re: FXLS8967AF Datasheet error: SENS_CONFIG1 default value descriptions Hello andrewneil, I hope all is great with you. Thank you for using the NXP communities. Correct, I also think that Table 48 doesn't mention this. It is not clear. I just wanted to let you know that I have already shared your feedback with the corresponding team. Thank you very much for your comments. Regards, David
記事全体を表示
Receive DMX512 on LPUART1 S32k146 Hi all, I'm trying to read DMX512 Messages with the LPUART1 (PTC8, PTC9) from the S32k146.  The data is generated by a Slesa-U9 and could be measured and decoded from the oszillator as UART. My problem is, that as GPIO I can receive the data, but as LPUART there is no data in the LPUART1->Data Register. So my question is, if there's any existing project for receiving DMX on a S32k microcontroller.  If not, can you please help me and find my mistake?  Best regards Sandra Re: Receive DMX512 on LPUART1 S32k146 Hi @12914A, Currently there are no DMX512 examples for the S32K1xx's devices. If no data is being received, make sure the LPUART module is being correctly configured for the DMX protocol, as start bits, parity, baud rate, stop bits, etc. You can find inside the AN5413: S32K1xx Series Cookbook an example application for UART over registers. This example performs a simple UART 9600 baud transfer to a COM port on a PC. You could try sending singular bytes to test communication. Best regards, Julián
記事全体を表示
S32G274A FlexRay Nodes Not Coldstarting Hi there, I am trying to get 2x S32G274A boards to communicate with each other over their LLCE Flexray. I am using the LLCE Node1 and Node2 code from the examples and am able to get them to work with default network settings. However, when I change the setting to the settings of the FlexRay network I need to interface with, they don't get past their initialization and don't go into FR_POCSTATE_NORMAL_ACTIVE. Attached is the network settings I am trying to use. Further, their state reports that they are in FR_STARTUP_INTEGRATION_LISTEN, when I would expect them to be in one of the COLDSTART_* states. Much appreciate any help! David Network Settings I'm trying to Use: Re: S32G274A FlexRay Nodes Not Coldstarting Resolved. pKeySlotID can't be the same across nodes. Payload length of Individual Buffers and static slot paylength must match in configuration. Re: S32G274A FlexRay Nodes Not Coldstarting Hi, We might be misunderstanding the overall inquiry, if so, we do apologize. We understand that you are able to run the NXP example with the S32G no problem, but once you change the network settings, it fails, is this correct? Furthermore, we understand that if you adapt our network to the one already configured under Config Tools, you are able to run the example successfully, is this correct? If so, then we understand that there is a problem with the overall configuration, but not with the example itself nor S32G. Are you able to confirm that your network settings are working without the S32G?  As for sharing your settings, we understand that, if Config Tools is not generating an error, they are "correct". You need to pair correctly your nodes, since FlexRay is a more delicate communication protocol, in which your configurations need to be perfectly matched. Again, under the example and using only S32G we understand that you are seeing no problems. An additional note is that the FlexRay Host interface has the following compliance [Page 2628, S32G2 Reference Manual, Rev. 8, February 2024]: "The FlexRay communication controller implements the FlexRay Communications System Protocol Specification, Version 2.1 Rev A." Just to confirm that your other interface is also complaint. More information on regards of the available features (i.e. data rate) for the FlexRay controller under the S32G can be found under Chapter 56 FlexRay Communication Controller (FlexRay) [Page 2833, S32G2 Reference Manual, Rev. 8, February 2024] Please, let us know. Re: S32G274A FlexRay Nodes Not Coldstarting I should add, with the default network config, I can see bits on the bus directly after Fr_43_LLCE_StartCommunication(FrConf_FrController_FrController_0); when I start only 1 of the nodes. But with my new network config, this is not the case. Therefore, the FlexRay controller must not be starting its communication correctly even though it doesn't return an error.
記事全体を表示
linux bsp download Hi,nxp team: When I referred to this document "TP-S32G-VNP-RDB3.pdf" to download the Linux BSP, I encountered the following problem, as shown in the figure below But I visited this site and my network is fine My environment is ubuntu22.04 LTS  S32G3  Re: linux bsp download Hi, @chenyin_h @GuilhermeS32G : Thank you for your suggestions. My problem has been solved. It was due to network fluctuations. I can use it after using a VPN. Re: linux bsp download Hello @jiajun_cheng , Although the Google Repo tool may be convenient for Downloading the sources, it is not strictly essential. Alternatively, you may try to manually clone the Git repos of the Yocto layers and checkout the correct commit id. I see that you are trying to download the BSP 38.0 sources. So, according to: https://github.com/nxp-auto-linux/auto_yocto_bsp/blob/release/bsp38.0/default.xml you can run the following commands: mkdir sources && cd sources git clone https://git.yoctoproject.org/meta-freescale/ && cd meta-freescale && git checkout 6f04cf1fce13c9852d4ec86b66a3858c42b7c7c9 && cd .. git clone https://git.openembedded.org/meta-python2 && cd meta-python2 && git checkout f02882e2aa9279ca7becca8d0cedbffe88b5a253 && cd .. git clone https://git.yoctoproject.org/meta-security && cd meta-security && git checkout d398cc6ea6716afd3a3a6e88ad8fbdc89510ef23 && cd .. git clone https://git.yoctoproject.org/meta-virtualization && cd meta-virtualization && git checkout b3b3dbc67504e8cd498d6db202ddcf5a9dd26a9d && cd .. git clone https://git.openembedded.org/meta-openembedded && cd meta-openembedded && git checkout bdad2a789e30703a825b876279665720d06d55dc && cd .. git clone https://git.yoctoproject.org/poky/ && cd poky && git checkout f53ab3a2ff206a130cdc843839dd0ea5ec4ad02f && cd .. git clone https://github.com/nxp-auto-linux/meta-alb/ && cd meta-alb && git checkout 814fa233f9d5e4502090b38bd4a64d15650328e1 && cd .. && cp meta-alb/nxp-setup-alb.sh . And this is equivalent to the repo functionality. Best regards, Guilherme Re: linux bsp download Hello, @jiajun_cheng  Thanks for your post. I did not met such issue on local host(20.04), and tody I find a Ubuntu22.04 host to further test on it, but cannot reproduce the issue. Seems it is a network connection issue, may I know if you could have another trial? BR Chenyin
記事全体を表示
UInable to create simulator project in Gui Guider-1.8.1-GA I'm unable to create simulator project in Gui guider 1.8.1. I was trying with company network connected it says "Download is failed, please check your network". I even tried with my personal network(Mobile hotspot). it's still same. I have attached screenshot. Please help me with this. Re: UInable to create simulator project in Gui Guider-1.8.1-GA Hello Celeste, Yes you are right. It is an issue with firewall. Got it resolved with my IT Team. Thank you for your support. BRs Sangamesh   Re: UInable to create simulator project in Gui Guider-1.8.1-GA Hello @sangamesht , I tried it and didn't encounter the problem you mentioned. Please try several more times or check if it is caused by additional network configurations such as proxies. BRs, Celeste
記事全体を表示
FS23: reset time question Hello, I would like to ask a question regarding the system reset time when the watchdog is not refreshed. The configured watchdog is: /* WdWindowReg */ ((uint16)0x0000U) | SBC_FS23_FS_WDW_PERIOD_64MS | SBC_FS23_FS_WDW_RECOVERY_64MS //| SBC_FS23_FS_WDW_EN_MASK | SBC_FS23_FS_WDW_REC_EN_MASK After the system exits the init phase normally, I measured the system restart waveform while not refreshing the watchdog in the task, and the waveform indicates that the reboot time is approximately 340ms. Could you please explain how to calculate the 340ms time in the current configuration? Later, I tried to disable WDW_REC_EN, but I found that the experimental phenomenon remained the same, and the reboot time was still around 340ms. Thanks! Re: FS23: reset time question Hello Gumu, please refer to the sections 19.2.1.2 and 19.2.2 in the full FS23 datasheet. By incorrect or none Watchdog refresh, Watchdog error counter is incremented by 2. By default the Watchdog error counter limit is set to 6. To reach the limit three incorrect or none watchdog refreshes are needed. Please check the WD_ERR_LIMIT[1:0] bits setting. Have you left them in default value 6? The green waveform in your scope is from the RSTB pin, right?  If you have left the WD_ERR_LIMIT[1:0] to 6, then three incorrect or none WD refreshes would be needed (3*64ms=192ms), if to 8 then four (4*64ms=256ms).   Then if the WD recovery is set to 64ms, this would add to the time above. Please check the WDW_REC_EN bit setting. Have you set it to 1? For the MCU fault recovery strategy please refer to the section 19.2.5.  Please check how have you set the FCCUx error impact configuration. Have you left it to default? If yes, please probe the FS0B pin. To compare it with the RSTB pin. When the WD_ERR_LIMIT[1:0] has reached it's maximum value, the FS0B should be pulled low and Error phase should start. Please refer to the Figure 45.  With Best Regards, Jozef
記事全体を表示
IMX VPU Wrapper documentation I'm currently using an IMX.8MP with the vpu wrapper on Yocto Kirkstone 5.10.35+g5f6f502e525b. I can see the libfslvpuwrap.so.3.0.0 shared library in my usr/lib but I cannot see any associated header files in my usr/include directory. I'm on the vpu_wrapper github repository attempting the get the vpu_wrapper.h header file for my version, but I can't find any release/tagged version with 3.0.0, I'm also using IMX VPU Reference manual but it looks to be for a more recent release than I am using. Where can I find the appropriate IMX VPU reference manual for my release? vpu lib version : major.minor.rel=1.1.1 vpu fw version : major.minor.rel_rcode=1.1.1_r0 vpu wrapper version : major.minor.rel=3.0.0 i.MX 8 Family | i.MX 8QuadMax (8QM) | 8QuadPlus Re: IMX VPU Wrapper documentation Hello, You can find the 5.10.35 documentation at: https://www.nxp.com/webapp/sps/download/preDownload.jsp Regards
記事全体を表示
从 S32G2 Linux 映像切换 GPIO 大家好, 我正在使用 fsl-auto-image,我想编写 ac 文件,该文件可用于切换我的 S32G-VNP 开发板上的 LED 引脚(使用 libgpiod)。任何资源都可以。我正在寻找一个基本的模板片段,我不需要整个代码,因为我对嵌入式 Linux 还很陌生。 我已经看过 NXP linux BSP 33 pdf 中的 GPIO 部分,但那些只显示需要从终端调用的库 API。 另外,这仅仅是代码吗,还是我还必须在 dts 中进行更改? @chenyin_h标记您是因为您总是能提供很多帮助。 最好的, 毗湿奴
記事全体を表示
使用 systemd 启动 GStreamer。 使用 systemd 启动 GStreamer 时出现问题。 输入以下命令会产生错误消息,并且视频不会出现。 帮我找到解决办法。 root@imx8mpevk:~# systemctl 启动 myservice root@imx8mpevk:~# systemctl status myservice * myservice.service - 测试服务 已加载:已加载(/etc/systemd/system/myservice.service;已禁用;预设:已禁用) 活跃:自 2024 年 5 月 14 日星期二 02:12:25 UTC 以来 7 秒前处于活跃状态(正在运行) 主 PID:834(myservice.sh) 任务:2(限制:5574) 内存:5.1M CGroup:/system.slice/myservice.service |-834 /bin/bash /home/root/myservice.sh `-841 睡眠 10 5月14日 02:12:25 imx8mpevk systemd[1]: 已启动测试服务。 5月14日 02:12:25 imx8mpevk myservice.sh[834]: gst 启动!! 5月14日 02:12:25 imx8mpevk myservice.sh[835]: 将管道设置为暂停状态... 5月14日 02:12:25 imx8mpevk myservice.sh[835]: 无法将管道设置为暂停状态。 5月14日 02:12:25 imx8mpevk myservice.sh[835]: 将管道设置为 NULL ... 5月14日 02:12:25 imx8mpevk myservice.sh[835]: 释放管道... 相同的 shell 脚本在控制台中执行时工作正常,我可以看到视频。 root@imx8mpevk:~# ./myservice.sh 消费税开始!! 将管道设置为暂停状态... 管道是活的,不需要预滚...... 管道采用预卷... 将管道设置为播放... 新时钟:GstSystemClock [1033.191967] 绕过 CSC [1033.194381] 输入格式 YUV4 [1033.197096] 输出格式 YUYV 重新分配延迟... 0:00:00.8 / 99:99:99. 这是我的“myservice.service”和“myservice.sh”文件。 myservice.service [Unit] Description=GStreamer After=multi-user.target [Service] Type=simple User=root ExecStart=/home/root/myservice.sh RemainAfterExit=yes GuessMainPID=no myservice.sh #!/bin/bash export XDG_RUNTIME_DIR=/run/user/0/ echo gst start!! gst-launch-1.0 v4l2src device=/dev/video2 ! waylandsink 请帮忙!! 回复:使用 systemd 启动 GStreamer。 尽管没有人感兴趣,但我自己找到了一个解决方案,并在此进行了总结。 我的程序.服务 [单元] 描述=我的上次服务 之后=weston.service [服务] 用户=root 环境=“WAYLAND_DISPLAY = /运行/ wayland-0” 环境=“XDG_RUNTIME_DIR = /运行/用户/ $(id -u root)” ExecStart=/home/root/run.sh 失败时重启 标准输出=日志 标准错误=日志 [安装] WantedBy=多用户.目标 运行 echo 开始 GST!! gst-启动-1.0v4l2src设备=/dev/video2!韦兰辛克 注册服务 systemctl 守护进程重新加载 systemctl 启用 myprogram.service 这样,对我来说效果很好。当我重新启动时,相机屏幕自动出现。
記事全体を表示
printf and RAM consumption issue 129 printf("%d %ld %u\n", 999, 9999, 99); 0xfe8a5b: 900063 LD D2,#99 0xfe8a5e: 0402 PSH D2 0xfe8a60: 90270F LD D2,#9999 0xfe8a63: 0402 PSH D2 0xfe8a65: 9003E7 LD D2,#999 0xfe8a68: 0402 PSH D2 0xfe8a6a: 98001217 LD X,#4631 0xfe8a6e: 0442 PSH X 0xfe8a70: BBFEF8F2 JSR 16709874 printf (0xfef8f2) 0xfe8a74: 0A69 LEA S,(9,S) CodeWarrior for MCU Version: 10.7 Build Id:160721 When compiled, the string "%d %ld %u\n" is located in flash. During startup, it will be copied from flash to RAM, so you can see a RAM address 4631 (0x1217) is set to X register. Is the copy operation required? If yes, there are many many printf functions in our code, they will consume many many RAM space. Re: printf and RAM consumption issue Hi, strings are considered as data by default. To avoid copydown you can place pragma below: #pragma readonly_strings on e.g. add a prefix file (e.g. myPrefix.h): #ifndef MYPREFIX_H_ #define MYPREFIX_H_ #pragma readonly_strings on #endif /* MYPREFIX_H_ */  to include it to every source file in your project you add the prefix file here: Now the object that represents strings (@148 in my example)is located at flash: Hope it helps, Stan Re: printf and RAM consumption issue Hi, It is copy down function. The evidences are listed below: 1. If we set a watchpoint at the RAM address (4631 (0x1217)), the program will stop there during DoCopyDown execution. 2. The string "%d %ld %u\n" is located at both RAM and flash: 3. The COPYDOWN section Re: printf and RAM consumption issue Hi, it is not copy down function. I understood your issue wrong. It is just saving parameters onto stack for passing them to the function. It is standard parameters passing. Copy down function is a part of startup code - it is different story. Of course, if you have repeating values and or strings you can create a set of outputs and send them all as a strings. prm file> * non-paged FLASHs */ ROM = READ_ONLY 0xFE0200 TO 0xFFFDFF; ROM_STRINGS = READ_ONLY 0xFE0000 TO 0xFE01FF; .... ... DEFAULT_RAM INTO RAM; ROM_STRINGS INTO ROM_STRINGS; .... main.c> #pragma CONST_SEG ROM_STRINGS  // part of the ROM stolen from entire ROM in the PRM file unsigned char const s1[]="string1"; unsigned char const s2[]="string2"; unsigned char const s3[]="string3"; unsigned char const s4[]="string4"; unsigned char const s5[]="string5"; #pragma CONST_SEG DEFAULT //************************************** void main(void) { for(;;) {   printf("s1 = %s\n", s1);   printf("s1 = %s\n", s2);    printf("s1 = %s\n", s3);  } } Best regard, Ladislav Re: printf and RAM consumption issue This code showcases a memory management process, illustrating how data is transferred from flash to RAM using printf. Interestingly, just like https://slope3dgame.com/ mastering the requires understanding optimal trajectories and resource allocation, effective memory handling ensures efficient performance in programming. The redundant copy operations could waste valuable RAM, just like time wasted in the game without sharp strategies. Re: printf and RAM consumption issue Hi, You may not know what I mean. The format string "%d %ld %u\n" should be a constant, and it has been placed in the flash. During the startup, I mean in the initialization, or to be exact, in the function DoCopyDown(), (in the startup code, file starts12z.c) this string content is copied to RAM again. In the disassembly window, we can see this string is copied to memory address 4631 (0x1217), so 4631 is loaded to X pointer register. Why not pass the flash address of this format string to printf, why we need the copy operation? Re: printf and RAM consumption issue Hi, everything depends on your variable definition. If it is RAM variable then it will be copied to the RAM and used as a RAM variable. If it is defined as a volatile constant and placed into EEPROM space or any rom or const segment then it will be used from this space. You can create your special space for text constants (or not) in the PRM file ( can be found in the Linker Files folder of your project ) and then use it for constants placement. Best regards, Ladislav Re: printf and RAM consumption issue I ran into the same concern on an embedded project using CodeWarrior (10.x) for an HCS12. Our fix was placing string literals in flash with a const qualifier and using a printf variant that reads from ROM, avoiding RAM copies. Otherwise, stack/RAM usage ballooned fast. If you can’t change printf, consider a tiny logger with format tokens. For stress-testing memory behavior, I oddly used Solar Smash as a playful metaphor app during breaks—it helped me think about “controlled destruction.”
記事全体を表示
コンフィグ ツールを使用した MIMXRT1010-EVK ボードの SAI1 の設定 MIMXRT1010-EVKボードを購入し、例を少し使ってみました。今、私は自分のプロジェクトを作成したいと思っています。 私が理解しているように、Config Toolsを使用することが推奨される作業方法です。 オンボードオーディオDACに接続されているSAI1を使用したいです。 しかし、SAI1 の例では Peripheral ツールと Clock Config Tools を使用していない ことに気付きました。 Peripheral Config Tool を使用して SAI1 をセットアップしたいのですが。しかし、入力するフィールドが多く、接続されているDACの詳細がわかりません。では、この SAI1 を Peripheral Config Tool を使用してこのボードで使用する例はありますか。
記事全体を表示
i.MX8x failed to convert H264 video to YUV video using mxc_v4l2_vpu_enc.out! MD5 check failed! Hi NXP, We used the mxc_v4l2_vpu_enc.out tool to decode successfully, but the MD5 check failed! mxc_v4l2_vpu_enc.out decode successfully: /unit_tests/V4L2_VPU/mxc_v4l2_vpu_enc.out \  parser --key 0 --name sp2_bt_b.h264 --fmt h264 \ decoder --key 1 --source 0 \  convert --key 2 --source 1 --fmt I420 \ ofile --key 3 --source 2 --name output.dec.yuv MD5 failed: The following videos all have the same problem: sp2_bt_b.zip SP1_BT_A.zip MR4_TANDBERG_C.zip MR5_TANDBERG_C.zip FM1_FT_E.zip CVFC1_Sony_C.zip h. 264 video source website: https://www.itu.int/wftp3/av-arch/jvt-site/draft_conformance/AVCv1/ Software version: Yocto Project LF5.15.32_2.0.0 Could you please help me see the cause of the problem?  Thank you very much! All log files are attached: i.MX 8 Family | i.MX 8QuadMax (8QM) | 8QuadPlus Re: i.MX8x failed to convert H264 video to YUV video using mxc_v4l2_vpu_enc.out! MD5 check failed! update: the next firmware would fix this issue, you can use MR5_TANDBERG_C with next firmware, would be release in the Q1 of 2025 Re: i.MX8x failed to convert H264 video to YUV video using mxc_v4l2_vpu_enc.out! MD5 check failed! Hi @joanxie , Ok, I see. Thank you for your reply! Re: i.MX8x failed to convert H264 video to YUV video using mxc_v4l2_vpu_enc.out! MD5 check failed! no solution for this yet even you upgrade to the latest bsp, you can consider current bsp couldn't support this Re: i.MX8x failed to convert H264 video to YUV video using mxc_v4l2_vpu_enc.out! MD5 check failed! Hi @joanxie,  Thank you for your reply!So is there a solution to this?  Re: i.MX8x failed to convert H264 video to YUV video using mxc_v4l2_vpu_enc.out! MD5 check failed! confirmed that this issue isn't related to the profile, this is current vpu firmware couldn't support this streaming, because recorder depth of this streaming is bigger than the max size which is calculated by the vpu firmware, so the result md5sum isn't correct, you can use MR3_TANDBERG_B Re: i.MX8x failed to convert H264 video to YUV video using mxc_v4l2_vpu_enc.out! MD5 check failed! Hi @joanxie  We use Linux 6.6.36_2.1.0 firmware. The conversion of CVFC1_Sony_C.zip was successful. However, the conversion of MR5_TANDBERG_C.zip, MR5_TANDBERG_C.zip, FM1_FT_E.zip still fails. But MR5_TANDBERG_C.zip, MR5_TANDBERG_C.zip, FM1_FT_E.zip are Baseline profile. Is SOC supported? /unit_tests/V4L2_VPU/mxc_v4l2_vpu_enc.out \  parser --key 0 --name CVFC1_Sony_C.jsv --fmt h264 \ decoder --key 1 --source 0 \  convert --key 2 --source 1 --fmt I420 \ ofile --key 3 --source 2 --name output.dec.yuv   Re: i.MX8x failed to convert H264 video to YUV video using mxc_v4l2_vpu_enc.out! MD5 check failed! ok, I know what you mean, I just send the command example to you for reference,  so could you open the  output.dec.yuv correctly? my understanding is that you can open this yuv file correctly, but the MD5 checksum is different, then you use ffmpeg to convert, the MD5 checksum is same, right? if yes, do you mind using decode unit test to test again? case 1: decode h264 stream to test.yuv ./mxc_v4l2_vpu_dec.out ifile decode.264 ifmt 1 ofmt 1 ofile test.yuv besides of testing by decode, do you mind upgrading the bsp to the latest version? must you use 5.15 bsp version?  Re: i.MX8x failed to convert H264 video to YUV video using mxc_v4l2_vpu_enc.out! MD5 check failed! Hi @joanxie  I have a feeling you misunderstood what I meant. I need to convert H.264 video to YUV video.  My test steps are as follows: 1. Download MR5_TANDBERG_C.zip and unzip it 2. cd MR5_TANDBERG_C directory 3.  convert H.264  to YUV: /unit_tests/V4L2_VPU/mxc_v4l2_vpu_enc.out \  parser --key 0 --name MR5_TANDBERG_C.264 --fmt h264 \ decoder --key 1 --source 0 \  convert --key 2 --source 1 --fmt I420 \ ofile --key 3 --source 2 --name output.dec.yuv 4. The md5sum command compares the MD5 checksum: The check value of the YUV video is the same after the correct conversion. However, the MD5 checksum is different now. We can use ffmpeg to achieve the conversion, the command: ffmpeg -i MR5_TANDBERG_C.264-pix_fmt yuv420p output.yuv So we want to find out why the VPU failed to convert this video. Thank you very much!  Re: i.MX8x failed to convert H264 video to YUV video using mxc_v4l2_vpu_enc.out! MD5 check failed! the below commands were tested by us, do you mind trying again? unit_tests/V4L2_VPU/mxc_v4l2_vpu_enc.out \ ifile --key 0 --name test.yuv --fmt I420 --size 1920 1080 \ convert --key 1 --source 0 --fmt nv12 \ encoder --key 2 --source 1 --size 1920 1080 --framerate 30 \ ofile --key 3 --source 2 --name test_.264 unit_tests/V4L2_VPU/mxc_v4l2_vpu_enc.out \ ifile --key 0 --name test.yuv --fmt I420 --size 1920 1080 \ convert --key 1 --source 0 --fmt nv12 \ encoder --key 2 --source 1 --crop 960 540 640 480 --size 640 480 --framerate 30 \ ofile --key 3 --source 2 --name test_crop.264 Re: i.MX8x failed to convert H264 video to YUV video using mxc_v4l2_vpu_enc.out! MD5 check failed! Hi @joanxie  Thank you for your reply!I have used i.MX8QXP and i.MX8QM to test the decoding. Their situation is the same. So I think they all have the same VPU. Re: i.MX8x failed to convert H264 video to YUV video using mxc_v4l2_vpu_enc.out! MD5 check failed! your title is imx8x, but refer to the log, you tested on the imx8qm,so what processor do you use? refer to the I.MX8QM reference manual, the VPU has two H.264 AVC Encoders which Constrained Baseline, Main and High profile @1080p30. let me install this bsp and reproduce this then tell you the result later Re: i.MX8x failed to convert H264 video to YUV video using mxc_v4l2_vpu_enc.out! MD5 check failed! Hi NXP, I found that the profile for SP1_BT_A.zip and sp2_bt_b.zip are Extended profile. Is this SOC not supported? But MR5_TANDBERG_C.zip, MR5_TANDBERG_C.zip, FM1_FT_E.zip are Baseline profile. Is SOC supported? And CVFC1_Sony_C.zip is the Constrained Baseline Profile, which is supported by this SOC. The configuration is shown in the following figure:
記事全体を表示
How to get a refund from मोबिक्विक?4466 MobiK.wik contact number ,988ᗱ×77lO×ᕤᕤ will not refund or reverse a payment erroneously made by YOU. All sales of prepaid recharge on the Mobi.Kwi(+(+(+(+*+** DSC Re: How to get a refund from मोबिक्विक?4466 MobiK.wik contact number ,988ᗱ×77lO×ᕤᕤ will not refund or reverse a payment erroneously made by YOU. All sales of prepaid recharge on the Mobi.Kwi(+(+(+(+*+**,,,
記事全体を表示
RT117x: reset all peripherals but not the core Hi, At particular times, in my FW I would need to reset all the peripherals but not the core. Actually I would need to get back to the state it is in as soon as the rom bootloader yields control to our FW and jumps to ResetISR (so some peripherals have to work, e.g. FlexSPI). Of course, I also have to disable the NVIC interrupts, but for that I was thinking of doing it with a for loop (but tell me if there is a better way) do you have any suggestions? best regards Max Re: RT117x: reset all peripherals but not the core Hi @mastupristi, I'm afraid there isn't a straightforward way of doing this. You would have to manually de-initialize all of the modules, which implies that ideally you already know exactly what modules were initialized in the first place. Is there a particular reason why doing a SW reset would not be compatible with what you are looking for? BR, Edwin.
記事全体を表示
What's the difference between SpiDataWidth and SpiEEMaxLenght Hi NXP Team, i'm developing a project using MBDT on S32K358 board. I was wondering waht's the difference between SpiDataWidth and SpiEbMaxLenght when configuring the Spi peripheral. Thanks, Simon Re: What's the difference between SpiDataWidth and SpiEEMaxLenght Hi @simon98  In the transmission I made, I set SpiDataWidth to 8 bits, which matches the size of each data element I am transmitting. I also defined SpiEbMaxLength as 100, which represents the maximum number of data elements that can be transmitted in a single operation. Although I transmitted an array of 10 data elements, each 8 bits wide, since SpiEbMaxLength was set to 100, I have the capacity to transmit up to that limit. In this case, since I only sent 10 data elements, we did not reach the maximum allowed, but if necessary, I could transmit up to 100 data elements in a single operation without any issues. Re: What's the difference between SpiDataWidth and SpiEEMaxLenght Hi VaneB, I've tried to send a 3 byte data buffer setting up a data store memory of 3 elements uint8 on MBDT. I've configured the SpiDataWidth = 8 and SpiEbMaxLength = 1000 (as the MBDT spi example): I've found out that it transmit corrrectly a frame with 3 bytes... So i'm a bit confused over the real purpose of these two configuration parameters... For example if i need to send a frame with 3 byte of data, a possible configurations that would come to mind could be SpiDataWidth = 24 SpiEbMaxLength = 3 but i don't understand why it works even with the example configuration. Could you explane me with a practical example how these works? Thanks, Simon Re: What's the difference between SpiDataWidth and SpiEEMaxLenght Hi @simon98  The SpiDataWidth parameter represents the frame size in terms of the number of bits. For MCAL, the maximum frame size is 64 bits, as it is designed to be compliant with AUTOSAR 4.7, according to the "Specification of SPI Handler/Driver" documentation provided by AUTOSAR. The SpiEbMaxLength refers to the maximum number of data elements that can be stored in the external buffer. BR, VaneB
記事全体を表示
[FLash] About the FLASH_DRV_EraseSector interface Dear NXPS: Chip: S32K146 OS: without OS Q: When the FLASH_DRV_EraseSector interface returns a value other than STATUS_SUCCESS, I want to call the FLASH_DRV_EraseSector interface again. How much time should pass between the two calls? Re: [FLash] About the FLASH_DRV_EraseSector interface Hello @Gideon, There is no delay required, it can be called again immediately. If you need the time required to erase one sector, refer to the S32K1xx DS, Table 35. Flash command timing specifications for S32K14x series Regards, Daniel
記事全体を表示
RT064 upnp 関数の例 こんにちは、NXPテクニカルサポート: MIMXRT1064DVL6Bチップを使用して、IARとAzure RTOS NetX Duoを使用してプロジェクトを構築しています。UPNP 機能を使用する必要があります。正常に実行できる適切な参照ルーチンを提供できますか? よろしくお願いいたします i.MXRT 106倍
記事全体を表示
Project template for S32K144 Hello, I want to create a project from scratch in S32DS 3.6.0. However the main.c file seems too blank to me. There is no clock settings or Mcal_Init() function in it. Should I set this field manually or are there any template projects for it ?  I know there is a examples in RTD but I need empty project with mandatory functions calls like mcu_init or clock_init. /*================================================================================================== * Project : RTD AUTOSAR 4.7 * Platform : CORTEXM * Peripheral : S32K14X * Dependencies : none * * Autosar Version : 4.7.0 * Autosar Revision : ASR_REL_4_7_REV_0000 * Autosar Conf.Variant : * SW Version : 2.0.0 * Build Version : S32K1_RTD_2_0_0_P01_D2308_ASR_REL_4_7_REV_0000_20230804 * * Copyright 2020-2023 NXP Semiconductors * * NXP Confidential. This software is owned or controlled by NXP and may only be * used strictly in accordance with the applicable license terms. By expressly * accepting such terms or by downloading, installing, activating and/or otherwise * using the software, you are agreeing that you have read, and that you agree to * comply with and are bound by, such license terms. If you do not agree to be * bound by the applicable license terms, then you may not retain, install, * activate or otherwise use the software. ==================================================================================================*/ /** * @file main.c * * @addtogroup main_module main module documentation * @{ */ /* Including necessary configuration files. */ #include "Mcal.h" volatile int exit_code = 0; /* User includes */ /*! \brief The main function for the project. \details The startup initialization sequence is the following: * - startup asm routine * - main() */ int main(void) { /* Write your code here */ for(;;) { if(exit_code != 0) { break; } } return exit_code; } /** @} */ Re: Project template for S32K144 Thank you for your help Peter Re: Project template for S32K144 Hello, I want to create a project from scratch in S32DS 3.6.0. However the main.c file seems too blank to me. There is no clock settings or Mcal_Init() function in it. Should I set this field manually or are there any template projects for it ? You wont probably find specific template with such functions included. Closest to what you are looking for would be MCU example in MCU plugin: I always prefer blank project where I will start one by one putting code so I can evaluate each step if it is working. Simply copy init function from example and put it into the blank project. Or you can use API documentation and write the code / call functions by yourself. Best regards, Peter
記事全体を表示
automotive electrification abbreviation Hello,  In https://www.nxp.com/design/training/automotive-electrification-introduction:TIP-TD-AUT202 What are the meaning of the follow terms? p. 26 BSG? TCU? p. 28 INV? p. 29 OBC? p. 38 SO? AD? Thanks Re: automotive electrification abbreviation OK, thank you, Daniel. Re: automotive electrification abbreviation Hi, Below will be some comments on regards of your questions: What are the meaning of the follow terms? p. 26 BSG? TCU? [DA]: BSG -> Basic software configuration source code generator (Automated Generation of AUTOSAR ECU Configurations Using Xtend: Watchdog Driver Example (sae.org)); TCU -> Telematics Control Unit p. 28 INV? [DA]: INV -> Inverter p. 29 OBC? [DA]: On-Board Charger p. 38 SO? AD? [DA]: SO -> Service Oriented; AD -> Autonomous Drive Please, let us know.
記事全体を表示
Added support for GD25LQ128D qspi flash Now I am developing based on BSP34 branch and want to add GD25LQ128D qspi flash support under uboot. The device tree configuration is as follows, but I failed to read JEDEC, and I found that only macronix and micron products are supported based on this branch. What do I need to do if I want to support GD25LQ128D? Re: Added support for GD25LQ128D qspi flash Hello, Yes, you have to add you hardware to the device tree and create the drivers is needed it, but the BSP include driver for SPI you must check it. Regards
記事全体を表示