Multi Source Translation Content

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

Multi Source Translation Content

ディスカッション

ソート順:
Understanding the Reference Manual pinout/How to i2c Hello, I am trying to make a simple board with just the S32K341EHT0MPAST on it and some pins to access some analog and digital i/o and the i2c. However looking at the reference manual and it seems like every GPIO pin is extremely multifunctional? I'm a bit overwhelmed and I don't understand how you would set each pin to a specific function. There are so many "ALTx" columns. I see on the attached excel file for the s32k3 series that pin 41 and 42 are LPI2C1_SCL and LPI2C1_SDA respectively, and that there is another set of LPI2C0 pins. Do I understand correctly that I should be fine to use pin 41 and 42 as SDA and SCL and that the I2C0 is another "set" of i2c pins I could access? For simple digital and analog i/o I'm also a little lost, I see ADC_Sx as "standard input" pins available, but for digital would those be FXIO_Dx pins? Re: Understanding the Reference Manual pinout/How to i2c Hi @pb632146 Yes, you can look at each I2C[X] as a different instance for the communication module to use. There are some pins routed to these functions as alt mux that can be changed depending on what modules you may need. Inside the S32K3xx's datasheet you can find how many communication, analog and human-machine interfaces there are supported for the family. For example, you can find the figure map where each module is listed for the specific MCU derivative: For analog, there are up to three Analog Comparators (CMP) and up to three 12-bit Analog-to-Digital Converters (with up to 24 channel analog inputs). For digital, you can use GPIOs. The FlexIO module is a flexible input and output to emulate communication protocols, you can use this presentation as reference: Introduction to FlexIO. Best regards, Julián
記事全体を表示
code warrior floating license 注册license时提供的ip 有限制么,局域网ip可以么 Re: Code Warrior Floating License Is there any restriction on the IP provided when registering the license? Can the LAN IP be used? Thank you so much!! Re: Code Warrior Floating License Is there any restriction on the IP provided when registering the license? Can the LAN IP be used? Did any error messages pop up during the compilation process? If no error messages appear, there should be no problem. But if errors still appear, you'd better confirm with Jorge again, license-related issues, he is an expert and can give you more professional advice. Re: Code Warrior Floating License Is there any restriction on the IP provided when registering the license? Can the LAN IP be used? Thank you very much for your reply. I can now compile the code and build the target normally. Is there any hidden danger of compilation or license compliance in the compiled files? Re: code warrior floating license 注册license时提供的ip 有限制么,局域网ip可以么 Hi Jimmy Xu, 很抱歉你的问题还没有被解决。License支持哪一个版本,standard 还是 professional, 这取决于你购买时的选择。 Professional的功能是最全的,Standard功能会少一些。 老实说,CodeWarrior license 不是我的专业领域。我看到你还有一个private ticket, 已经有license team的support在跟进了。 希望 license team 的同事能够顺利解决你的问题,如有任何新的情况,请及时告知我们。 BRs, Celeste Re: Code Warrior Floating License Is there any restriction on the IP provided when registering the license? Can the LAN IP be used? Without starting the server, lincese shows two lines of error (network problem, I can't post the picture), combined with the previous results: the lower line is activated. Does the license only support the standard edition MCU 10.5 version, but not the professional edition MCU 10.5? Re: code warrior floating license 注册license时提供的ip 有限制么,局域网ip可以么 Hello JimmyXu, 我找到了下面的链接:Floating License -Environment Variables. - NXP Community 里面提到环境变量的设置,我不确定它是否与你遇到的问题有关,你可以试一下。 除此之外,你还可以尝试一下移除license,然后重新导入并重启codeWarrior,看看是否有效果。 BRs, Celeste Re: code warrior floating license 注册license时提供的ip 有限制么,局域网ip可以么 使用code warrior floating license,在官网生成license.dat后,在服务器上运行lmtools,服务正常启动。 client 使用和server相同的license.dat ,启动code warrior后报错 如何解决? Re: code warrior floating license 注册license时提供的ip 有限制么,局域网ip可以么 Hello Jimmy, 我认为局域网是可以的,你可以尝试下。 BRs, Celeste Re: Code Warrior Floating License Is there any restriction on the IP provided when registering the license? Can the LAN IP be used? Pop-up window when opening code warrior Re: Code Warrior Floating License Is there any restriction on the IP provided when registering the license? Can the LAN IP be used? This is the picture
記事全体を表示
The image generated by the provisioning tool does not match, I did not see "FCFB ########################################################################################################## 生成构建脚本: build_image_lnx.sh 生成构建脚本: build_image_win.bat 生成构建脚本: build_image_mac.sh 正在执行脚本C:\Users\Administrator\secure_provisioning00\build_image_win.bat ###脚本: 构建镜像: C:\Users\Administrator\secure_provisioning00\build_image_win.bat Build HAB image nxpimage hab export -c "C:\Users\Administrator\secure_provisioning00\bd_files\imx_application_gen_win.bd"  -o "D:\RT1052_Example Code\Example\1.led_test\hello_world_boot.bin"  "C:\Users\Administrator\secure_provisioning00\source_images\hello_world.srec" Success. (HAB container: D:\RT1052_Example Code\Example\1.led_test\hello_world_boot.bin created.) nxpimage succeeded ### Build flashloader as unsigned bootable image ### nxpimage hab export -c "C:\Users\Administrator\secure_provisioning00\bd_files\unsigned_MIMXRT1050_flashloader_win.bd"  -o "C:\Users\Administrator\secure_provisioning00\bootable_images\unsigned_MIMXRT1050_flashloader.bin"  "C:\nxp\MCUX_Provi_v10\bin\_internal\data\targets\MIMXRT1050\flashloader.srec" Success. (HAB container: C:\Users\Administrator\secure_provisioning00\bootable_images\unsigned_MIMXRT1050_flashloader.bin created.) nxpimage succeeded ###脚本“构建镜像”的结果: 成功(返回代码= [0]成功) 操作的状态: 成功: 构建镜像 Re: The image generated by the provisioning tool does not match, I did not see "FCFB Indeed, this issue has been resolved. thank you. Re: The image generated by the provisioning tool does not match, I did not see "FCFB Hi, in your screenshot I can see the file name has "SDRAM" in it, but also in the screenshot the DCD is not configured, it might be the root cause why the application does not run. Regards, Libor Re: The image generated by the provisioning tool does not match, I did not see "FCFB Hi, may be the training video can help you. There should be all steps captured: Secure Boot on the i.MX RT10xx Crossover MCUs | NXP Semiconductors If you cannot find any information in the user guide, please let us know what information is missing. It is not possible to provide help without information: - what you want to do - what the problem is. Re: The image generated by the provisioning tool does not match, I did not see "FCFB Can't I run the LED program even after writing it in PROVISION TOOL? The image construction is incorrect. I can run it using KEIL's original image. Is it not possible to follow the official manual step by step? The documentation for this tool is not detailed enough. I can't use it. Re: The image generated by the provisioning tool does not match, I did not see "FCFB Hi, MCUXpresso Secure Provisioning tool does not generate the image with FCB, the FCB is written to flash as extra step. The FCB can be specified either as simplified or full configuration. Kindly review generated write script for details.
記事全体を表示
Minimum input voltage for edge capture Hi, In a KV4X, for a digital input, input voltage high is 0.7 x Vdd and input voltage low is 0.35 x Vdd. Which are the minimum and maximum values for edge capture? I have a sinusoidal signal of 200 mV peak in an input pin and I see that it is enough to detect falling/rising edges. Thanks in advance Re: Minimum input voltage for edge capture I have found why edges were being detected with such a low signal. Re: Minimum input voltage for edge capture Hi @zorrotz, Please maintain the edges of the captured signal between 0.7 x Vdd and 0.35 x Vdd in order to ensure a proper edge detection of the signal. Re: Minimum input voltage for edge capture I have forgotten to say that Vdd = 3.3 V
記事全体を表示
Find the Demo project of Pflash Hello, I want to use S32K311 to develop Bootloader, which involves PFlash erasing, writing, and bank switching. With the S32DS configuration tool, do you have related Demo projects? Can you share them with me?Thanks. Re: Find the Demo project of Pflash hello @CcW18, There are C40_IP and FLS MCAL RTD examples in S32DS IDE. Unfortunately, there are no examples specifically for S32K311. But still, you can refer to the examples and configure the drivers in your project accordingly. Regards, Daniel
記事全体を表示
How to build S32K3xx AutoSAR example project? Hello, I am trying to build an example project from SW32K3_S32M27x_RTD_4.4_4.0.0_P20_D2403. From its readme.txt, the build method to run "make build" from the command line. But there is video a few years ago which shows the way to use S32DS IDE to build AutoSAR example project for MPC574x MCU. https://www.nxp.com/video/introduction-to-nxp-autosar-mcal-software:AUTOSAR-OnDemand-Training-Video Is the way to use S32DS available for S32K3XX MCU? Thanks! Crane Re: How to build S32K3xx AutoSAR example project? I  downloaded the RTD and I didn't know how to find RTD head files. Now I solve the problem. Thank you Re: How to build S32K3xx AutoSAR example project? I am not sure if you have downloaded any RTD files before. For example, if you click the blue "S32K3 Standard Software Package" in the section 2.3 at this link https://www.nxp.com/document/guide/getting-started-with-the-s32k3x4evb-t172-evaluation-board-for-automotive-general-purpose:GS-S32K3X4EVB-T172?section=get-software, it will guide you to a page where you can find links to different versions of "Real Time Driver". This is for the MCU I have used before. There should be the similar page for the MCU you are using that you can find. Then you can look for the version of RTD that fit for your project on those pages. If you are asking for the specific version of RTD I used before, I don't remember any more. Hope it helps! Crane Re: How to build S32K3xx AutoSAR example project? Hello cranes, How to get RTD files, in my project I don't have the files so that I can't complie my project. Re: How to build S32K3xx AutoSAR example project? Hi, The issues is addressed and the project is built successfully by using command line. Thanks! Crane Re: How to build S32K3xx AutoSAR example project? Hello, It is from an example project. An example project, including EB config, from NXP's RTD, not a project I created myself.  Do you know who might know this? Or should I raise another question about this? Thanks! Crane Re: How to build S32K3xx AutoSAR example project? Hello, I do not have knowledge on your EB config, nor generated code. The package is defined in Resource plugin. Best regards, Peter Re: How to build S32K3xx AutoSAR example project? Hello, I found that the MCU model "S32K344" is not defined. This causes some symbols are not recognized. But this is supposed to be defined in the code generated from EB Tresos, right? I couldn't find why it is not defined in the S32K344 example project. Thanks! Crane Re: How to build S32K3xx AutoSAR example project? Hello, I personally always used GHS for code generated from EB Tresos. I will test it following days with S32DS and let you know if there are any special constraints. Best regards, Peter Re: How to build S32K3xx AutoSAR example project? Hello, Yes, that's correct. But if we look at the errors occur from the beginning as first a few in the below screenshot, which come from the files generated by EB Tresos and RTD, they are not relevant to this file. And actually adding check_example.h indeed doesn't remove any of these errors. Attached is the new build log file. At the end of the log file, there is "error: 'VV_RESULT_ADDRESS' undeclared". This macro 'VV_RESULT_ADDRESS' is in the Makefile in the example project folder. Do we need to add this file to the project generated in S32DS? If so, where to add? I already tried and it didn't work to add it in the project root folder as in the example project. Obviously it doesn't work to just copy the folders of include and src from the example project to the newly generated project in S32DS. There are many things missing, not just check_example.h. So, what is the correct way to build an example AutoSAR project from S32K3xx RTD? Just feel so weird that there is example projects in RTD but there are no guidelines about how to build the example project. What is missing here? Thanks! Crane  Re: How to build S32K3xx AutoSAR example project? Hello, I still see the same issue. You do not have all header files in the project: Best regards, Peter Re: How to build S32K3xx AutoSAR example project? Hello, Yes, it removed the previous errors, but still miss things as in the attached log. This project file structure is as below now: The RTD folder is copied from the non-AutoSAR example project for the same module. It seems that there possibly should be something else inside for AutoSAR project.  Thanks! Crane Re: How to build S32K3xx AutoSAR example project? Hello, As in any other compiler, you simply add paths for your header locations in include options: Best regards, Peter Re: How to build S32K3xx AutoSAR example project? Hello, Yes, I see that. But the issue is, I searched through the folder of the example project and files generated by EB Tresos, there are no such files. They are the files from RTD. Obviously, the example project needs the header files from RTD. Here is the file structure of an empty project created in S32DS. No RTD there, which is understandable. It can be built and run.  Here is the file structure of the example project with the files generated by EB Tresos. (include and src under generate are generated from EB Tresos.) There are no Mcl_Types.h and other header files that are needed. Then my question is, how to include RTD in the project so that the missing header files can be found by the compiler? Thanks! Crane Re: How to build S32K3xx AutoSAR example project? Hello, Your log says you are missing header files. Do you have those header file in your project? Best regards, Peter Re: How to build S32K3xx AutoSAR example project? Hello, I tried the way you mentioned. I create an empty project in S32DS, then move the folder of include and src in the example project to the empty project. It doesn't work and I got the build log as attached. Do you know who might know how to import the example project from the RTD for S32K3xx? What I am trying is an example project from the MCU's RTD package. There should be a guideline about how to build and test the example project. There is readme.txt in the example project folder, but unfortunately, it doesn't work to follow what's in it as described in my previous post. Thanks! Crane Re: How to build S32K3xx AutoSAR example project? Hello, My question is, is there a way to use S32DS to import an example project for S32K3xx MCU and build it? It doesn't work using the same way shown in the video as the example projects have a different project structure. I do not know if there is automatic import script in S32DS for tresos generated files. But you can always do it by hand. Simply create black project in S32DS and move the C and H files to the project. This way you should be able to compile project. In the past when there was no S32DS I was doing it this way with Windriver or GHS compilers. Best regards, Peter Re: How to build S32K3xx AutoSAR example project? Hello Peter, After 30 minutes of the video, it shows how to import an example project for MPC574x and build the project under S32DS.  My question is, is there a way to use S32DS to import an example project for S32K3xx MCU and build it? It doesn't work using the same way shown in the video as the example projects have a different project structure. In the readme.txt in the example project folder (C:\NXP\SW32K3_RTD_R21-11_3.0.0_P07\eclipse\plugins\Pwm_TS_T40D34M30I0R0\examples\EBT\S32K3XX\Pwm_example_S32K344, the file is attached), it shows how to build the project in Windows command prompt. (I tried but I couldn't make it work as it seems something is still missing). How can I import and build this project under S32DS as what's done in the video for MPC574 project? Thanks! Crane Re: How to build S32K3xx AutoSAR example project? Hello, I am bit confused here. The video shows EB Tresos configuration tool and how to generate project files. Those are later put into S32DS and compiled there.This is a common use case. Is the way to use S32DS available for S32K3XX MCU? I apologize, but I do not understand this question. Could you please specify it closer? Best regards, Peter
記事全体を表示
イーサネットスイッチSJA1105 SPIがデータを取得できません SJA 1105 SPIを使用してチップIDを取得すると、SDOのデータはSDIとまったく同じですが、その現象の原因は何ですか?
記事全体を表示
Is RTD 3.0.0 compatible DMA for FlexCAN I have configured and ran a example code for receiving CAN data through DMA it does not generating any receiving complete interrupt.  Re: Is RTD 3.0.0 compatible DMA for FlexCAN Hi, yes, can be aplicable. BR, Petr Re: Is RTD 3.0.0 compatible DMA for FlexCAN MPC57xx: Configuring and Using the eDMA Controller Is this application notes totally applicable for S32K322 also? Re: Is RTD 3.0.0 compatible DMA for FlexCAN Hi @PetrS  what is the difference b/w these both functions FlexCAN_Ip_RxFifo(INST_FLEXCAN_0,&recvBuff2); FlexCAN_Ip_Receive(INST_FLEXCAN_0, RX_MB_IDX, &rxData, false); and when I was reading the k3 reference manual it was not that much clear to me, Can you provide any simple document for understand the CAN DMA , message buffer usage, CAN ID filtering, CAN Interrupts, etc. Re: Is RTD 3.0.0 compatible DMA for FlexCAN Hi @PetrS  what is the difference b/w these both functions FlexCAN_Ip_RxFifo(INST_FLEXCAN_0,&recvBuff2); FlexCAN_Ip_Receive(INST_FLEXCAN_0, RX_MB_IDX, &rxData, false); Re: Is RTD 3.0.0 compatible DMA for FlexCAN Hi, yes it is. If you have some issue please share your simplified project, or refer to posted demos, e.g.  https://community.nxp.com/t5/S32K-Knowledge-Base/Example-S32K312-CAN-Transmit-amp-Receive-Using-MB-amp-FIFO-DMA/ta-p/1789196 BR, Petr
記事全体を表示
S32K312 IIC DMA slave mode maximum receiving length can only be 8 bytes Hi all  I am using the DMA function of the IIC slave, but the maximum length that IIC can receive at once is only 8 bytes. Data exceeding 8 bytes cannot be retrieved from the buffer. I have uploaded the project, can you help me identify the problem. Thanks Re: S32K312 IIC DMA slave mode maximum receiving length can only be 8 bytes Thank you for your help. Although there is a problem with this routine, it can be used to compare the errors in my current project. I have identified the cause Re: S32K312 IIC DMA slave mode maximum receiving length can only be 8 bytes Hi @Reyna_pan45  I have observed that the project is based on the application provided in Example S32K312 I2C Transmit & Receive Using DMA DS3.5 RTD300. Just to confirm, if no modifications are made to the project, presents the same behavior? Re: S32K312 IIC DMA slave mode maximum receiving length can only be 8 bytes As you said :The number of bytes that can be transmitted per transfer is not restricted. The received data length I set is 18 bytes ,Why can't I receive data exceeding 8 bytes? Re: S32K312 IIC DMA slave mode maximum receiving length can only be 8 bytes Hi @Reyna_pan45  The I2C bus specification defines that each byte transmitted on the SDA line must be 8 bits long. The number of bytes that can be transmitted per transfer is not restricted. While the hardware itself does not impose a limit on the read transfer size, it requires the software to queue multiple read commands for larger transfers. Currently, the driver can receive between 1 and 256 bytes of data, and it can also be configured to discard received data instead of storing it in the receive FIFO. BR, VaneB
記事全体を表示
MC33771C idle state Hi, after power up (no CSB activity, I saw VCOM fixed on it) MC33771C consume 6mA. shouldn't it go to idle state? Thanks! Re: MC33771C idle state Hi Alessandro, please refer to the Figure 8. in the MC33771C full datasheet. The MC33771C can switch to Idle mode only from the INIT mode if the communication is not active. If the MC33771C is not initialized within 60s, then it switches to Idle mode. Please refer to the sections 9.3.2 and 9.3.3. From Normal mode you can send it to Sleep mode by software command. Please refer to section 9.3.4. With Best Regards, Jozef
記事全体を表示
创建链接器脚本时出错 各位 我最近更新到了 MCUXpresso v11.10.0,并使用 RT1024 EVK 的 SDK 2.15,我尝试将 FlexRAM 重新配置为不同大小并摆脱外部 RAM,然而,它带有一个像附图一样的错误。我正在尝试关注链接https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs-Knowledge/Reallocating-the-FlexRAM/ta-p/1117649 ,它对我而言与 SDK 2.12 和 IDE v11.8 上的先前版本兼容。有什么变化导致它不再工作吗? 此致敬礼! Ping     回复:创建链接器脚本时出错 你好@ping1 , 感谢您提供的最新信息。 很 抱歉 , 根据 NXP 的 最新 政策 , 我 无法 将 代码 直接 发送 给 客户 。 我建议您可以参考 NXP AN 12077和https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs-Knowledge/Reallocating-the-FlexRAM/ta-p/1117649。 我认为您的第一个问题是关于创建链接器脚本时出错,现在您可以成功编译,并且您想继续开发您的项目,对吗? 请检查您的项目是否确实使用外部 SRAM,请根据您的硬件设计开发您的项目。 至于Board_ConfigMPU配置,我只是为你做了一个测试,我没有配置MPU。请根据您的实际项目配置MPU,您可以参考我发布给您的链接。 此致 刘梅 回复:创建链接器脚本时出错 嗨,梅 除了重新配置 FlexRAM 大小之外,我还删除了外部 SRAM,因为我的目标板没有它,这会导致问题吗?这正是我三年前做过的事情,没有任何问题。我注意到主要使用外部 RAM,后来我将其移下,改为使用内部 RAM。目前看来还可以,但我还没有尝试将 DTC 大小重新配置为 128K。我必须修改 Board_ConfigMPU() 才能做到这一点,你也这样做了吗?如果你能把你修改后的项目发给我,那就太好了,这样我就可以检查我做错了什么。 此致敬礼! Ping 回复:创建链接器脚本时出错 嗨,梅 按照您所做的下载并安装 - 都是 v24.12,它可以与 Hello freertos 示例一起使用,就像您说的那样,但是当我对 lwip_mqtt_freertos 示例执行相同操作时,再次出现相同的错误。 需要紧急帮助 此致敬礼! Ping 回复:创建链接器脚本时出错 谢谢,梅 我安装了几个版本的 IDE,当尝试使用链接器脚本时,不确定加载时使用哪一个,另外,我怎么知道它是否兼容? 也将尝试 IDEv24 和 SDK v24。 平 回复:创建链接器脚本时出错 我最初这样做了,并被告知 v24.xx 存在问题,因此回滚到 v11.10。顺便问一下,我在哪里可以找到RT1024_connect.scp? Ping 回复:创建链接器脚本时出错 嗨,梅 我回滚到了旧版本的 SDK(2.12) 和 IDE(11.6)根据自述文件,问题仍然存在,我对这个问题已经束手无策了,它之前在我的其他项目早期阶段使用可能更早版本的 IDE 和 SDK 时可以正常工作。无论后来发生了什么变化都可能导致错误,我还改变了一件事,那就是我现在正尝试使用 freeRTOS。 顺便说一句,使用适用于 RT1064 的 IDE v11.10 和 SDK 2.16,它可以工作!但目前,我必须使用 RT1024。 此致敬礼! Ping 回复:创建链接器脚本时出错 嗨,梅 我正在尝试使用 SDKv2.15,请问我应该使用哪个 IDE 版本? 此致敬礼! Ping 回复:创建链接器脚本时出错 嗨,梅 谢谢回复。 我正在开发新产品,并希望使用新的 SDK 和 IDE 版本。刚刚安装了 v2.15 SDK,我认为它的最低 IDE 是 v11.8,并且上面的任何内容都应该与它兼容,因为它是向后兼容的。对吗? 此致敬礼! Ping
記事全体を表示
在低级停止模式下调试 K64 应用程序 我正在为 Kinetis K64 集成一段新代码,当控制器无事可做时,它会切换到低级停止模式。模式开关工作正常:停止时电源电流降至~0,活动时跳回几十毫安。 问题是调试。开发是使用 IAR IDE 完成的,使用我们在授权时与 IDE 一起打包的 Segger pod。快速运行-停止-运行转换工作正常。停留在停止状态(我没有尝试执行任何调试器操作)会导致控制器重置。 我使用了 IDE 提供的 Segger 版本,旧的 6.30 和当前的 8.18。两人都没有快乐。 有谁能想出解决这个问题的办法吗?
記事全体を表示
slow memcpy HI i tried this code https://community.nxp.com/pwmxy87654/attachments/pwmxy87654/imx-processors/173737/1/v4lcap.c unfortunately the call to memcpy from buffers[buf.index].start[0] is very slow about 10 ms with an image size 640*480 i thing it is due to the VB2_MEMORY_MMAP mode i tried with V4L2_MEMORY_DMABUF but ioctl failed Is the slow memcpy due to the memory mode ? Is there a working exemple with V4L2_MEMORY_DMABUF and V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE ? Greeting Olivier Re: slow memcpy Hi  i use this code to use DMA instead of MMAP https://github.com/emfend/dmabuf-v4l2-demo I also verified that this patch is applied https://github.com/torvalds/linux/commit/de27891f675ed1e46e8821d2e05e036e5f97586b It works, memcpy time is less than 1 ms Olivier
記事全体を表示
Booting Dom0 and switching to DomU with BSP42 fails on S32G-RDB3-Board Dear Community Members , I am not able to boot the Dom0 and switch to DomU with BSP42 fails. I want to host two Linux -Guest OS on top of Xen-Hypervisor. I am only able to list Dom0 & create DomU as show in below  logs: __________________________________________________________________________________________________________________________________________ root@s32g399ardb3:~# xl create /etc/xen/domU1_mmc.cfg Parsing config from /etc/xen/domU1_mmc.cfg (XEN) d1v0 Unhandled SMC/HVC: 0x84000050 (XEN) d1v0 Unhandled SMC/HVC: 0x8600ff01 root@s32g399ardb3:~# (XEN) d1v0: vGICD: RAZ on reserved register offset 0x00000c (XEN) d1v0: vGICR: SGI: unhandled word write 0x000000ffffffff to ICACTIVER0 [ 118.848222] xen-blkback: backend/vbd/1/51712: using 1 queues, protocol 1 (arm-abi) persistent grants root@s32g399ardb3:~# root@s32g399ardb3:~# xl list Name ID Mem VCPUs State Time(s) Domain-0 0 512 1 r----- 11.2 domu1 1 384 1 r----- 3.8 __________________________________________________________________________________________________________________________________________ As soon as i give # Switching to DomU's console root@s32g399aevb3:~# xl console domu1 ___________________________________ It boots the normal Linux whose logs are attached in the attachment. I have followed the steps as mentioned in 24.3.3 How to enable Xen in S32 Linux BSP build / Booting Xen, Dom0 and DomU  from S32G3_Linux_42.0_User_Guide . Any inputs would be really helpful. Regards, Vishal Re: Booting Dom0 and switching to DomU with BSP42 fails on S32G-RDB3-Board Thankyou Chenyin, for the quick reply , yes it switch from domu1 to dom0.  Re: Booting Dom0 and switching to DomU with BSP42 fails on S32G-RDB3-Board Hello, @vishalg  Thanks for your post. I've checked the log you shared, I found that you have successfully created the domu1 and switched the console to domu1 from Domain-0. May I know if you want to switch the console from domu1 back to Domain-0? if so, press " CTRL-]" under domu1's console could switch back to Domain-0's console.  BR Chenyin
記事全体を表示
MS CAN S9KEA128 hi ,  we have a issue in CAN reception where we are using two 32bit filters and the masks for RTR bit  i.e mask register 3 and 7 are set to 0xFF still we are not able to receive the Extended id with RTR bit set.  Kinetis K Series MCUs Re: MS CAN S9KEA128 Hi @Shreyas_Bhat_Karkala, You can take as reference the document Using MSCAN on KE16Z MCU (AN12355) where you can find information regarding the two 32-bit identifier filters and extended data frame with a specific identifier, Also, you can find the KEA128 MSCAN driver from the following link MSCAN driver for Kinetis EA devices
記事全体を表示
iMX7ULP - Does not return a message to the A7 core when using RPMsg Hi I have tried to get the the "rpmsg_lite_str_echo_rtos" to work - and it works half the way... I have compiled and loaded the example into the CM4 processor. And after booting the EVK, and entered "modprobe imx_rpmsg_tty" at the command line of the A7 processor, I'm greeted with a message in serial terminal for the M4 saying: Nameservice sent, ready for incoming messages... Get Message From Master Side : "hello world!" [len : 12] If I send another message using: "echo test > /dev/ttyRPMSG30" this message is also received by the M4 processor - but I would expect the message to be echoed back to the A7 processor. I have tried "cat /dev/ttyRPMSG30" and also made a little script to read from the virtual port, but in either case nothing is returned. Am I reading the echoed message correct? The following code is from the "main_remote.c" of the example code. memcpy(tx_buf, app_buf, len); /* Echo back received message with nocopy send */ result = rpmsg_lite_send_nocopy(my_rpmsg, my_ept, remote_addr, tx_buf, len); if (result != 0) { assert(false); } /* Release held RPMsg rx buffer */ result = rpmsg_queue_nocopy_free(my_rpmsg, rx_buf); if (result != 0) { assert(false); }  it seems that the function "rpmsg_lite_send_nocopy" should send the message back to the A7 core. The function is returning a "0" which means that it will never get into the two if sentences? I have not tried to follow the the function "rpmsg_lite_send_nocopy" to see which output it can give in which situations... But does a "0" mean the function did not successfully send the message? BTW. why has the "multicore_examples" been removed from the latest SDK (SDK_24_12_00_EVK-MCIMX7ULP). The examples are included in SDK_2_16_000_EVK_MCIMX7ULP. i.MX7ULP Linux Re: iMX7ULP - Does not return a message to the A7 core when using RPMsg Hi @Manuel_Salas  Thanks for the answer. It was the detail about printing of the echo in the kernel debug I was missing - now it is also working for me. And also nice that you are pointing out in the driver code where the message it being printed out, since it might become useful later on, when I'm going to use this for communication between the two processors. best regards Henrik Re: iMX7ULP - Does not return a message to the A7 core when using RPMsg Hello @HenrikZ , I hope you are doing very well. You can see in the Linux driver code the function rpmsg_tty_cb, that the received data will be printed on the Kernel debug:   I tested it by my side and this is my result: CORTEX A side: You can see I sent the text "NXP Semiconductors" to Cortex M, and Cortex M sent back the same message as you can see on the log from rpmsg_tty_cb driver. And this is from Cortex M: Best regards, Salas.
記事全体を表示
After s32k144's can0 enables can fd, can1 and can2 become unusable? Hello: My environment is s32 ds, and I use PE to configure peripherals. All three cans are initialized in the code, but if I enable can0 fd in PE, the firmware cannot run after burning. If I do not enable can0 fd, the firmware can run. In addition, if I enable can0 fd but do not initialize can1 and can2, the firmware can also run. The question I want to confirm is: if can0's fd is enabled, then can1 and can2 cannot be used? Thanks! Re: After can fd is enabled on can0 of s32k144, can1 and can2 become unusable? Ok, thanks for confirming, I'll look for the reason!
記事全体を表示
Wrong Value Shown for Constant Variable During Debugging in MCUXpresso MCUXpresso v24.9 I am seeing wrong values for nearly all constant variables in MCUXpresso. It shows the wrong value when I add the variable to a watch expression or if I hover over the value. It seems all uint16_t variables show the same value of 0x3000. I set the constant variable to another constant uint16_t pointer and that seemed to fix the issue for that specific constant variable. Optimization is disabled. Is this a known issue? Is there anything I can do on my end that would fix this issue? Re: Wrong Value Shown for Constant Variable During Debugging in MCUXpresso Hello @nick_schneider  Thanks for your sharing. I checked it on my end. This is an issue with the IDE Expression view. There is no issue with the real value. You can use  PRINTF()  to print it out as follows. Feel free to contact me if still have issue. BR Alice   Re: Wrong Value Shown for Constant Variable During Debugging in MCUXpresso When I first encountered this issue I was using the MKL16Z128VFT4. I have now tried a modified example project for the FRDM-KL26Z and I am seeing the exact same behavior. I have attached the modified example project.  Please let me know if there is any other information I can provide that would be helpful. Re: Wrong Value Shown for Constant Variable During Debugging in MCUXpresso Hello @nick_schneider  Could you please specify which chip you utilized? Additionally, kindly provide a siple project that replicates the issue for my reference. I will  help to check it on my end. Thank you. BR Alice
記事全体を表示
unable to use simulink s32 configuration in S32 Design Studio (S32DS) due to version mismatch Hi, I have a Simulink project which I'm trying to debug in S32DS. The code builds, runs, and I can debug, but I'm not able to view (or edit) the configuration in S32DS. I get the attached error. Do I need to install an additional addon version or how can I resolve this? Re: unable to use simulink s32 configuration in S32 Design Studio (S32DS) due to version mismatch Hi, @Deskwork4130 , The newly added S32K3 Toolbox version 1.5.0 is compatible with: - S32 Configuration Tools version 2024.R1.7 - S32 Design Studio version 3.5 Please try this setup with the most recent toolbox version and let us know if you still have issues with Design Studio integration. Hope this helps, Dragos Re: unable to use simulink s32 configuration in S32 Design Studio (S32DS) due to version mismatch the release notes of 1.5 refer to configuration tools version v2021.R1.7. release notes for 1.4 has v2021.R1.6. so this seems like a very minor change. what version of S32DS is compatible with this version of config tools? as a side note for anyone looking in the flexnet SW center v1.5 is not in the same place as the previous versions. it is in the generic MBDT not the S32K3 specific one for some reason. Re: unable to use simulink s32 configuration in S32 Design Studio (S32DS) due to version mismatch Hi, @Deskwork4130 , We just published the MBDT for S32K3 Toolbox version 1.5.0. Installing this version and running the debug again is what I advise.  Let us know if your problem persists. Best regards, Dragos
記事全体を表示
MCUXPresso math slower than KDS math I have an application which performs a number of trig functions. Is there a way to get faster trig functions in the MCUXPresso tool chain? Below is a snip from the code. sinr_cosp = 2.0 * (qMeas0 * qMeas1 + qMeas2 * qMeas3); cosr_cosp = 1 - 2 *(qMeas1 * qMeas1 + qMeas2 * qMeas2); r = (atan2(sinr_cosp, cosr_cosp)) * DegRad; sinp = -2.0 * ((qMeas0 * qMeas2) - (qMeas3 * qMeas1)); //possible error. should be ((qMeas0 * qMeas2) - (qMeas2 * qMeas1)) 7Aug2021 negated if(fabs(sinp) >= 1)    {    if (sinp < 0)       {       p = -(fabs(M_PI / 2)) * DegRad;       }       else       {       p = (fabs(M_PI / 2)) * DegRad;       }                                         //p = copysign(M_PI / 2, sinp) * DegRad;    }    else    {    p = asin(sinp) * DegRad;    } siny_cosp = 2.0 * (qMeas0 * qMeas3 + qMeas1 * qMeas2); cosy_cosp = 1.0 - 2.0 * (qMeas2 * qMeas2 + qMeas3 * qMeas3); y = (atan2(siny_cosp, cosy_cosp)) * DegRad; This is running on a Kinetis KE04. When compiled using KDS, the above snip takes 1.6 msec to run, as measured using free-running counter captures before and after the snip. I am porting to MCUXPresso, and this same sequence takes about two times as long to run. Again, is there a way to get faster trig functions in the MCUXPresso tool chain? Andy. Re: MCUXPresso math slower than KDS math Celeste, I did the Accept as Solution incorrectly.  My apologies! Andy. Re: MCUXPresso math slower than KDS math Celeste, Thank you.  I will work with the options you have sent.  First I will look at optimizations to see whether I have missed anything there.  Thank you for your help! Andy. Re: MCUXPresso math slower than KDS math Hello @andyvoss , Thanks for your post.  Strictly speaking about the different results between the two IDEs, they are unintended and difficult to avoid. This is because of the different build systems, potential difference between build flags used in manifest-based SDK packages vs ARM GCC packages (e.g. optimization levels), different C libraries etc. Most of the build process is controlled through the SDK manifest in the MCUXpresso IDE. Even for different versions of MCUXpresso, due to differences in compiler versions and optimization levels, their speed might be vary. You can try to optimize the time by replacing the math library or adding the Angle Calculation component. The following two documents are provided for your reference: CM0MLIBUG.pdf UM11546, Angle calculation component user manual Hope it can help you. BRs, Celeste --------------------------------------------------------------------------------------------------------------- Note: If this post answers your question, please click the "ACCEPT AS SOLUTION" button. Thank you! ---------------------------------------------------------------------------------------------------------------
記事全体を表示