Multi Source Translation Content

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

Multi Source Translation Content

讨论

排序依据:
LPSPI_DRV_MasterStartTransfer() Disclaimer: I am fairly new to S32DS I was given a repository of code from a project that hasn't been touched in a long time. Upon opening the project, I was greeted with this error. When hovering my mouse over the error, it says "undefined reference to LPSPI_DRV_MasterStartTransfer". I am using ARM v2.0 as that is what the code was written in. Do I need to download any extra libraries, SDKs or drivers to make this code work?  Re: LPSPI_DRV_MasterStartTransfer() Thank you. I added an include to that C file which seemed to do the trick. As for why that command is used, I don't know. I was simply given this repository with very little notation so I'm not sure how anything works. Re: LPSPI_DRV_MasterStartTransfer() Hi This function can be found in .../SDK/platform/drivers/src/lpspi/lpspi_master_driver.c and it is static status_t LPSPI_DRV_MasterStartTransfer() Why not use LPSPI_DRV_MasterTransfer or LPSPI_DRV_MasterTransferBlocking? Best Regards, Robin ------------------------------------------------------------------------------- Note: - If this post answers your question, please click the "Mark Correct" button. Thank you! - We are following threads for 7 weeks after the last post, later replies are ignored Please open a new thread and refer to the closed one, if you have a related question at a later point in time. -------------------------------------------------------------------------------
查看全文
How can I use S32K3 BMS GEN1 SDK on S32K1 series? Hey all,  I want to use S32K3 BMS GEN1 SDK AUTOSAR 4.4 R21-11 Version 1.0.3 with my S32K144EVB however I can not see the BMS driver in Peripherals tool while using  S32K1xx SDK 3.0.3.  When I configured the S32K3 BMS GEN1 SDK with the S32K3 Real-Time Drivers AUTOSAR R21-11 Version 3.0.0, all the configurations and SDK components appeared correctly without any issues. I believe this happens because of the S32K1 RTD. I know that the BMS bundle compatible with the S32K3 RTD but thats not mean it is impossible to use with S32K1?  If its possible and it doesn't require to much effort could you please navigate me? Also, I tried to install S32K3 BMS GEN1 manually (attaching SDK) but I failed then I gave up.  I think it should not be so difficult to use this bundle on S32K1 and there should be informative documentation about implementing on S32K1 Thanks in advance. Re: How can I use S32K3 BMS GEN1 SDK on S32K1 series? Hey, Thank you for your response, @petervlna . I'm aware that the BMS package was developed for the S32K3 platform, but I was hoping it would be configurable for use with S32K1 series—even those outside the NXP ecosystem MCUs. This limitation unfortunately narrows the scope of my project and creates a strong dependency on the S32K3 series. I was hoping to find some guidance or support regarding the adaptation of the BMS SDK to non-S32K3 MCUs. That said, my question has been answered, so I’ll go ahead and close the post. Re: How can I use S32K3 BMS GEN1 SDK on S32K1 series? Hello, Unfortunatelly such is not possible. the BMS package was developed for S32K3 and all its includes and references use the S32K3 driver package. in other words you wont be to able compile it with S32K1 SDK. There are even different cores used. please respect the release notes. Even different version of SDK or S32DS will make you hard time to compile the project.\ best regards, Peter
查看全文
Does meta-imx-fastboot support iMX91P Hello, NXP   I want to know if the meta-imx-fastboot(https://github.com/nxp-imx-support/meta-imx-fastboot) support fast boot for iMX91P.  The README file told only support for iMX93 and iMX95. Best Regards. Re: Does meta-imx-fastboot support iMX91P Hi Rita_Wang, Thanks a lot. Have a nice day! Re: Does meta-imx-fastboot support iMX91P Dear @bakbad , By not do not supprt the i.MX91, only support the : •i.MX 8 family (i.MX 8QuadXPlus LPDDR4 MEK, i.MX 8ULP LPDDR4 EVK) •i.MX 8M family (i.MX 8M Quad LPDDR4 EVK, i.MX 8M Mini LPDDR4 EVK, i.MX 8M Nano LPDDR4 EVK, andi.MX 8M Plus LPDDR4 EVK) • i.MX 9 family (i.MX 93 LPDDR4 EVK and i.MX 95 LPDDR5 EVK) Deatails you can see in the AN14093 Fast Boot on i.MX 8 and i.MX 9 Using Falcon Mode and Kernel Wish you have a nice day Best Regards Rita
查看全文
[i.MX93] play video(MP4) Hi, I want to play video on i.MX93 evk but failed. root@imx93evk:~# gplay-1.0 ../weston/videoplayback.mp4 FSL_GPLAY2_01.00_LINUX build on May 10 2023 01:50:04 playbin3 is enabled ====== AIUR: 4.8.0 build on May 10 2023 01:50:04. ====== Core: MPEG4PARSER_06.20.12 build on Feb 2 2023 06:07:55 file: /usr/lib/imx-mm/parser/lib_mp4_parser_arm_elinux.so.3.2 ------------------------ Track 00 [video_0] Enabled Duration: 0:04:43.016066000 Language: und Mime: video/x-h264, parsed=(boolean)true, alignment=(string)au, stream-format=(string)avc, width=(int)464, height=(int)360, framerate=(fraction)30000/1001, codec_data=(buffer)0142c016ffe1001a6742c016da0742ff97016a020202800001f480007530078b175001000468ce3c80 ------------------------ ------------------------ Track 01 [audio_0] Enabled Duration: 0:04:43.074467000 Language: und Mime: audio/mpeg, mpegversion=(int)4, channels=(int)2, rate=(int)44100, bitrate=(int)0, stream-format=(string)raw, codec_data=(buffer)12100000000000000000000000000000 ------------------------ ====== BEEP: 4.8.0 build on May 10 2023 01:50:04. ====== Core: AAC decoder Wrapper build on Jul 25 2022 15:45:05 file: /usr/lib/imx-mm/audio-codec/wrap/lib_aacd_wrap_arm_elinux.so.3 CODEC: BLN_MAD-MMCODECS_AACD_ARM_03.09.00_ARMV8 build on Sep 16 2022 13:23:31. ===!!! Current pulsesink device is alsa_output.platform-sound-xcvr.iec958-stereo !!!=== =========== fsl_player_play() ================== FSL_GPLAY2_01.00_LINUX build on May 10 2023 01:50:04 [h]display the operation Help [p]Play [s]Stop [e]Seek [a]Pause when playing, play when paused [v]Volume [m]Switch to mute or not [>]Play next file [<]Play previous file [r]Switch to repeated mode or not [u]Select the video track [Stop (No Repeated)][Vol=1.0][00:00:00/00:04:43] [d]Select the audio track [b]Select the subtitle track [n]Select adaptive playback track [f]Set full screen [z]resize the width and height [t]Rotate [c]Setting play rate [i]Display the metadata [x]eXit State changed: buffering State changed: playing [Playing (No Repeated)][Vol=1.0][00:04:42/00:04:43]EOS Found getNextItem No next item! No more media file, exit gplay! FSL_PLAYER_UI_MSG_EXIT Exit display thread fsl_player_deinit I follow the page here and found no change. https://docs.nxp.com/bundle/AN13917/page/topics/video_playback_local_gplay.html root@imx93evk:~# ./setup_video.sh [ 889.088365] imx-dwmac 428a0000.ethernet eth1: FPE workqueue stop [ 889.099820] audit: type=1334 audit(1720686677.319:22): prog-id=17 op=LOAD [ 889.110532] audit: type=1334 audit(1720686677.327:23): prog-id=18 op=LOAD [ 889.198447] imx-dwmac 428a0000.ethernet eth1: PHY [stmmac-1:01] driver [RTL8211F-VD Gigabit Ethernet] (irq=POLL) [ 889.208662] imx-dwmac 428a0000.ethernet eth1: configuring for phy/rgmii-id link mode root@imx93evk:~# gplay-1.0 ../weston/videoplayback.mp4 FSL_GPLAY2_01.00_LINUX build on May 10 2023 01:50:04 playbin3 is enabled ====== AIUR: 4.8.0 build on May 10 2023 01:50:04. ====== Core: MPEG4PARSER_06.20.12 build on Feb 2 2023 06:07:55 file: /usr/lib/imx-mm/parser/lib_mp4_parser_arm_elinux.so.3.2 ------------------------ Track 00 [video_0] Enabled Duration: 0:04:43.016066000 Language: und Mime: video/x-h264, parsed=(boolean)true, alignment=(string)au, stream-format=(string)avc, width=(int)464, height=(int)360, framerate=(fraction)30000/1001, codec_data=(buffer)0142c016ffe1001a6742c016da0742ff97016a020202800001f480007530078b175001000468ce3c80 ------------------------ ------------------------ Track 01 [audio_0] Enabled Duration: 0:04:43.074467000 Language: und Mime: audio/mpeg, mpegversion=(int)4, channels=(int)2, rate=(int)44100, bitrate=(int)0, stream-format=(string)raw, codec_data=(buffer)12100000000000000000000000000000 ------------------------ ====== BEEP: 4.8.0 build on May 10 2023 01:50:04. ====== Core: AAC decoder Wrapper build on Jul 25 2022 15:45:05 file: /usr/lib/imx-mm/audio-codec/wrap/lib_aacd_wrap_arm_elinux.so.3 CODEC: BLN_MAD-MMCODECS_AACD_ARM_03.09.00_ARMV8 build on Sep 16 2022 13:23:31. ===!!! Current pulsesink device is alsa_output.platform-sound-xcvr.iec958-stereo !!!=== [Stop (No Repeated)][Vol=1.0][00:00:00/00:04:43]=========== fsl_player_play() ================== FSL_GPLAY2_01.00_LINUX build on May 10 2023 01:50:04 [h]display the operation Help [p]Play [s]Stop [e]Seek [a]Pause when playing, play when paused [v]Volume [m]Switch to mute or not [>]Play next file [<]Play previous file [r]Switch to repeated mode or not [u]Select the video track [d]Select the audio track [b]Select the subtitle track [n]Select adaptive playback track [f]Set full screen [z]resize the width and height [t]Rotate [c]Setting play rate [i]Display the metadata [x]eXit State changed: buffering State changed: playing [Playing (No Repeated)][Vol=1.0][00:00:27/00:04:43]^C Aborted by signal[2] Interrupt... FSL_PLAYER_UI_MSG_EXIT Exit display thread fsl_player_deinit THANKS~~ Joe Re: [i.MX93] play video(MP4) LICENSE_FLAGS_ACCEPTED:append += "commercial" IMAGE_INSTALL:append = "gstreamer1.0-libav" PACKAGECONFIG:append_pn-gstreamer1.0-libav = "x264" This works, but need to fix dependency of other packages. But we will fix that later, thanks for help. THANKS~~ Joe Re: [i.MX93] play video(MP4) There is no hardware decoder for i.MX93.  The SW decoder can be enabled in the build by making the following changes to the  conf/local.conf file: LICENSE_FLAGS_ACCEPTED += "commercial" IMAGE_INSTALL:append = "gstreamer1.0-libav" PACKAGECONFIG:append_pn-gstreamer1.0-libav = "x264"
查看全文
after pin assign, do i have to add all of assign pins in port container? i will use pwm, adc, gpio, can, uart and so on.. and i assign pins. after pin assign, do i have to add all of assign pins in port container? if i don't add in port container and don't init port, that pins don't work?? thanks for regards. Re: after pin assign, do i have to add all of assign pins in port container? Hi Yes. /*! * @brief Initializes the pins with the given configuration structure * * This function configures the pins with the options provided in the * provided structure. * * @param[in] pinCount The number of configured pins in structure * @param[in] config The configuration structure * @return The status of the operation */ Siul2_Port_Ip_PortStatusType Siul2_Port_Ip_Init(uint32 pinCount, const Siul2_Port_Ip_PinSettingsConfig config[]); Only those pins that have this function by default(Direct Signals) will work, such as ADC\CMP, etc. Best Regards, Robin ------------------------------------------------------------------------------- Note: - If this post answers your question, please click the "ACCEPT AS SOLUTION" button. Thank you! - We are following threads for 7 weeks after the last post, later replies are ignored Please open a new thread and refer to the closed one, if you have a related question at a later point in time. -------------------------------------------------------------------------------
查看全文
Why can't I read the correct value after programming the fuse? Hi, After I use fuse prog  to write the SRK_HASH value, I want to use fuse read  to read the data for comparison, but the value returned is 0. But when the power is turned on again, the correct data can be read. After writing SRK_HASH, how long do I need to wait for the fuse to complete the prog program? Thanks, ZongYue i.MX 8M | i.MX 8M Mini | i.MX 8M Nano Security Re: Why can't I read the correct value after programming the fuse? Hi, The fuse values can be effective after SoC reset. Normally. For comparison, you can use the command line "fuse sense " after writing and without reset. Regards Harvey
查看全文
Can the gui guider input box add functions to realize rich text input and syntax highlighting? The current underlying implementation of the textarea treats the text as a complete label. Modifying its color is applicable to the whole text, but cannot meet some practical scenarios. For example, if it is embedded in the host computer of some industrial computers and the entire edited text has only one color, the interface cannot be user-friendly. As for span, although it has multiple labels, it does not meet the functions of online real-time editing and interaction of text. Is it under development or is there a plan for this? Or is there an internal test version that can realize this function? Re: Can the gui guider input box be enhanced to allow rich text input and syntax highlighting? You may not understand what I mean. What I want to achieve is to have multiple colors of text in the same text box.
查看全文
MIMXRT1170-EVKB slave LinkServer debug timeout I am having a trouble running debug session for the Slave session on M4 of MIMXRT1170-EVKB.  Since some samples of Master/Slave projects run just fine,. I assume I am missing some  required settings.  Enable auto-debug secondary project(s) for multicore projects checked.  I generated two new C projects from SDK for the cm7 and cm4 as described in MCUXpresso IDE User Guide. Removed flash memory mapping for the Slave project, set  "Attach only" in LinkServer Debugger section of the launch for the slave project.  Now when I run debug I see LinkServer starts the master process, connect to localhost:10989 the and I let it run, then the LinkServer discovers the second target but then it times out each time on localhost:10990.  Error in final launch sequence: Failed to execute MI command: -target-select extended-remote localhost:10990 Error message from debugger back end: localhost:10990: Connection timed out. Failed to execute MI command: -target-select extended-remote localhost:10990 Error message from debugger back end: localhost:10990: Connection timed out. Please note: I have boot_multicore_slave() call in my   project generated by IDE.  I don't see this call in multicore sample applications. Is it some obsolete API?  Do I need to use MCMGR_ instead?  Re: MIMXRT1170-EVKB slave LinkServer debug timeout Hello, my name is Pavel, and I will be supporting your case, however I note that you find the solution thanks for sharing your steps to the community. Best regards, Pavel Re: MIMXRT1170-EVKB slave LinkServer debug timeout So it looks like I am the only one who can help me here. Anyways I hope somebody will find it useful.  1. boot_multicore_slave() seems to be obsolete, however creating the Multicore projects in MCUExpresso from the MIMRT1170-EVK 2.15.100 SDK still inserts it instead of MCMGR_ functions. As mentioned here: https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Unresolved-Inclusion-quot-boot-multicore-slave-h-quot-RT1176/m-p/1276514/highlight/true#M14200 Regarding the problems when creating a multicore project from scratch, this is a problem with the SDK. The corresponding team is already checking this, so it will be fixed in future releases. In the meanwhile, instead of creating a multicore project from scratch, you will need to use as a base one of the SDK example projects and add the drivers that you want.  It was in May 2021 and does not seem to be fixed by now.  So replaced boot_multicore_slave() with  MCMGR_EarlyInit() MCMGR_Init() MCMGR_StartCore() on Master side and with  MCMGR_EarlyInit()  MCMGR_Init() MCMGR_GetStartupData() on Slave side.  2. Default available memory regions on the CM7 side don't contain 0x20200000 (size 0x20000) region which is used to map to the  SRAM_ITC_cm4 region 0x1FFE0000 on the CM4 side. Not sure why two different addresses here are used, while pretty much the rest of CM7 and CM4 memory are in the same address space.  Details are available here:  https://www.nxp.com/docs/en/application-note/AN13264.pdf So I added this alias region to CM7 memory map and set it to be used in for the slave image upload in MCU Linker/Multicore section of the CM7 project settings.  Now I can run and debug both CM4 and CM7 using LinkServer. 
查看全文
周波数測定用のEMIOS(IPWMモード)へのルーティングコンパレータ(LPCMP)出力 皆さん、こんにちは コンパレータの出力の周波数を測定する目的で、コンパレータの出力をIPWMモードに設定されたeMOSチャンネルにルーティングしようとしています。以下に示すようにTRGMUX構成を設定しましたが、eMOSチャネル1で期待どおりに応答がありません。 足りないものを特定するのを手伝ってもらえますか、またはこの設定を正しく実現する方法を教えてもらえますか? お手数ですが、よろしくお願いいたします。 Re:周波数測定用のルーティングコンパレータ(LPCMP)のEMIOS(IPWMモード)への出力 この問題を解決しました。同じものを閉じることができます
查看全文
如何创建现有 RTD 项目的副本 如何在 S32DS for S32 中创建同一工作区中具有不同名称的现有 RTD 项目的副本
查看全文
LPC845断电 大家好, 我正忙于使用 LPC-845 定制电路板来开发遥控器。 但是,我无法让系统进入设备说明书中规定的消耗电量的模式。 在断电模式下,电流不会低于 500 uA。 因此我拿 LPC845-BRK 板进行测试(没有连接外围设备,并且在 JP1 跳线上很容易测量) 仍然没有运气,尝试了一切(参见附件的源代码)来查看是否忘记了什么。 断电时为 500 uA,深度断电时为 320 uA。 那么我是不是忘记了什么? 此致, 短剑。
查看全文
i.MX RT1060 UART FIFO does not work I want to send 120 bytes via UART1 with an i.MX RT1060 (MIMXRT1061CVJ5B) using the FIFO. I've set the TX FIFO to 256 bytes, but it's not working. Is this a processor bug? Re: i.MX RT1060 UART FIFO does not work Hello, As I said, I can't do anything with these bloated examples, because I need complete control over the module, and many important functions aren't included in the API. But I was able to solve it after all: an important control bit "DREQ" wasn't set: Now it's running like crazy 😉 It's a great machine, but the API is completely inadequate... Thanks for your effort. Regards, Mark Re: i.MX RT1060 UART FIFO does not work Hi @Mark16 , Thanks for your reply. The SDK demo provides  API functions that you can call directly, which is more convenient and quicker  than you set set the registers.   I did a test for you, I think you can refer to it. I have send detail information to you Email(   Due to NXP the latest policy, I can not send your code directly, but I can send you picture).   Wish it helps you. If you still have question about it, please kindly let me know. Wish you a nice day! Best Regards MayLiu Re: i.MX RT1060 UART FIFO does not work Hello, I'm not confused. I just want to send 120 bytes over UART1 every 100ms, with minimal overhead, i.e., without interrupts, etc. With a 256-byte FIFO, this would be super easy. With a 4-byte FIFO, it won't work without interrupts or polling. I've been trying to solve it with the famous eDMA for 5 days now, but I've completely failed. I've read the relevant chapters in the manual several times, but a lot remains unclear. The example programs in the SDK and the drivers in "fsl_lpuart_edma," "fsl_edma," etc., are incredibly bloated, deeply nested, and can only be used in a specific way. They're useless for simple, straightforward applications. I have 25 years of professional experience as an embedded programmer, with a wide variety of processors, but I've never experienced anything like this. Please explain to me how to set the registers for UART1 and eDMA to easily send 120 bytes over UART1. Please use "bare metal" style, e.g.: LPUART1->CTRL = ? etc... DMA0->SERQ = ? etc... DMA0->TCD[0].SADDR = ? etc... Re: i.MX RT1060 UART FIFO does not work Hi @Mark16 , Thanks for your reply. The LPUART FIFO size of the RT1060 processor is also 16 bytes. Could you share with me the application requirements for a larger FIFO size?  and could you tell me your point of confusion? I can forward your requirements to the NXP internal team. You mentioned that "using LPUART + DMA " is also an effective transmission method. The NXP SDK demos have  a lot of examples for you to use. Best Regards MayLiu Re: i.MX RT1060 UART FIFO does not work That's a bit disappointing. Now they've built this mega-machine, with amazing features, and then they're skimping on the UART FIFO. Why is that? Even my old LPC2478 had a larger UART FIFO of 16 bytes. I want my money back 😉 Then I guess I'll have to pump the data via eDMA... Re: i.MX RT1060 UART FIFO does not work Hi @Mark16 , Thanks for your updated information. LPUART TXFIFOSIZE/RXFIFOSIZE size is fixed, you can not modify it. The value in RXWATER and TXWATER must be set to be less than the receive FIFO/buffer and transmit buffer/FIFO size, it means the value in RXWATER and TXWATER must be set to be less than 4  datawords. Best Regards MayLiu Re: i.MX RT1060 UART FIFO does not work Where can i set the value? In the Config Tool? Re: i.MX RT1060 UART FIFO does not work Where can i set the value? In the Config Tool? Re: i.MX RT1060 UART FIFO does not work Hi @Mark16 , Thank you so much for your interest in our products and for using our community. Question: I want to send 120 bytes via UART1 with an i.MX RT1060 (MIMXRT1061CVJ5B) using the FIFO. I've set the TX FIFO to 256 bytes, but it's not working. Is this a processor bug? Answer: This is not a processor bug. In IMXRT1060RM,   The maximum number of transmit/receive datawords that can be stored in the TXFIFOSIZE/RXFIFOSIZE. https://www.nxp.com/webapp/Download?colCode=IMXRT1060RM&location=null I run a  SDK demo on MIMXRT1060-EVK board for you to better understand. The LPUART RXFIFOSIZE / TXFIFOSIZE  value are 4 datawords.  The value in RXWATER and TXWATER must be set to be less than the receive FIFO/buffer and transmit buffer/FIFO size The value you set the TX FIFO to 256 bytes are not correct value, Please set the value based on the MIMXRT1060RM. Wish it helps you. If you still have question about it, please kindly let me know. Wish you a nice day! Best Regards MayLiu
查看全文
fatal error: Spi.h: No such file or directory "fatal error: Spi.h: No such file or directory" error occurs when building /BMS_K322_M7_0/RTD/include/sbc_spi_external_access.h RTD Information: SW Version: 3.0.0 Build Version: S32K3_RTD_3_0_0_P07_D2306_ASR_REL_4_7_REV_0000_20230629 SBC_FS26 Driver Info: SW Version: 3.0.0 Build Version: S32K3_RTD_3_0_0_P07_D2306_ASR_REL_4_7_REV_0000_20230629 We are not using AUTOSAR, so we are not using MCAL. Re: fatal error: Spi.h: No such file or directory Hi Since you are using non-AUTOSAR, you should not use Spi.h. Try to add USE_IPV_LPSPI in Preprocessor: Best Regards, Robin ------------------------------------------------------------------------------- Note: - If this post answers your question, please click the "ACCEPT AS SOLUTION" button. Thank you! - We are following threads for 7 weeks after the last post, later replies are ignored Please open a new thread and refer to the closed one, if you have a related question at a later point in time. -------------------------------------------------------------------------------
查看全文
FS26 未进入待机状态且初始化失败 – FS_STATE 您好,NXP 支持人员, 我正在使用您知识库中的以下示例: RTD 示例:使用 S32K3X8EVB 的 FS26 WKUP(带 PGOOD 和 EXTWAKE) 我的目标是将 FS26 和 S32K3X8 控制器置于待机模式。当控制器成功转换到待机状态时,FS26 仍保持相同状态并且不会跟随。 此外,函数调用: eReturnValue |= Sbc_fs26_InitDevice(); 返回not_ok,初始化过程失败。经过调试,我发现 Sbc_fs26_GetDeviceState() 返回 0x14 作为 FS_STATE 值。 根据 FS26 数据表,我找不到任何清楚解释该值含义的文档,特别是位 4 (即 0x14 = 0b10100)。您能否澄清一下 FS_STATE 寄存器中的第 4 位代表什么?数据表的寄存器描述部分没有提及它。 我也看到过这篇相关文章,它似乎涉及了类似的问题,但没有提供明确的解决方案: FS26 FS_STATES 和 SPI 通信 您能否协助完成以下事项: 为什么 FS26 没有与 S32K3X8 一起转换到待机模式? FS_STATE 值 0x14 表示什么,具体来说位 4 的意义是什么? Sbc_fs26_InitDevice() 返回 not_ok 的可能原因有哪些? 如能得到任何指导或说明,我们将不胜感激,尤其是有关未记录的 FS_STATE 位。 回复:FS26 未进入待机状态且初始化失败 – FS_STATE 谢谢您的回复。我检查了建议的解决方案,但仍然显示相同的问题。经过进一步调试,我发现系统正在进入 INVALID_FS 状态,并且没有从外围设备更新任何配置。我检查了默认寄存器值并确定了 SBC_FS26_FS_GRL_FLAGS_ADDR 寄存器,它指示过压故障。检查 SBC_FS26_FS_OVUV_REG_STATUS_ADDR 寄存器后,我发现这是一个 VMON_EXT 过压情况。调整电路连接、改变电阻值后,问题得到解决。系统现在正确转换到 FS_Init 状态,并且其他操作按预期工作。再次感谢您的支持。 回复:FS26 未进入待机状态且初始化失败 – FS_STATE 1. 进入待机模式之前,FS26处于什么状态?您尝试如何将其转换为待机模式? 我正在使用 S32K358 开发板,其中包括具有默认配置的 FS26。我目前正在测试 NXP 提供的示例代码[帖子中提到的链接]。但是,Sbc_fs26_InitDevice() 函数返回 NO_OK,表明初始化失败。因此,FS26 不会转换到 FS_INIT 或任何其他操作状态。当我读取 FS_STATE 寄存器时,我得到了 0x14。   2. FS_STATE 值 0x14 表示什么,特别是位 4 的意义是什么? 如果这个值与屏幕截图中显示的表中的任何条目不匹配,它是否仍然具有任何定义的含义? 另外,当所有记录的 FS 状态似乎都在 3 位之内覆盖时,为什么寄存器要使用 4 位?表中提到了“故障安全状态机的实际状态”,那么第 4 位是否表示特殊故障情况或未记录的状态? 回复:FS26 未进入待机状态且初始化失败 – FS_STATE 你好 为什么 FS26 没有和 S32K3X8 一起切换到待机模式?[gw]进入待机模式之前,FS26 的模式是什么?您是如何操作它进入待机模式的? FS_STATE 值 0x14 表示什么,具体来说位 4 的意义是什么? [gw]如果没有符合您帖子图片中的表格值,则此结果毫无意义。 Sbc_fs26_InitDevice() 返回 not_ok 的可能原因有哪些?[gw]我应该在我的 quesitons1 回复中知道答案。 回复:FS26 未进入待机状态且初始化失败 – FS_STATE @YvanR你能看一看吗?
查看全文
S32K344 - LPSPI および DMA 構成 NXPのエキスパートの皆さん、こんにちは! 私はEVKのループバックでSPI通信を開発し始めています。 SPI が Tx と Rx (マスターとスレーブの両方) の DMA で構成された例はありますか。 どうもありがとうございます! 日時:S32K344 - LPSPIおよびDMAの構成 サポートしてくれてありがとう、 このトピックを終了します。3番目の質問については、送信者と受信者を指定できる半二重モードが答えだと思います。 どうもありがとうございます! 日時:S32K344 - LPSPIおよびDMAの構成 ハード faul ハンドラは、main.c の 220 行目のタイプミスが原因で発生しました。 Lpspi_Ip_AsyncTransmit(&MASTER_EXTERNAL_DEVICE, TxMasterBuffer, RxMasterBuffer, NUMBER_OF_BYTES, TIMEOUT); コールバックでTIMEOUTを変更しましたが、LSPI間でデータが交換されません。 エラーをありがとう、そして申し訳ありません。 Re: S32K344 - LPSPI and DMA configuration 基本的なLPSPI + DMAのサンプルを提供していただきありがとうございます。S32K344MINI-EVBで6.0.0 RTDを使用するように、あなたのプロジェクトを修正しました。lpspi2の代わりにlpspi1を使用しました。lpspi0はArduinoヘッダーを介してlpspi1に接続されています。また、USBデバッグケーブル経由で経過時間を出力するためにlpuart6を追加しました。
查看全文
LS1046A L1 および L2 キャッシュ ECC ECC は、LS1046A の L1 キャッシュと L2 キャッシュに対してデフォルトで有効になっていますか? この情報はレジスタL2CTLR_EL1に含まれていることは知っていますが、プログラムでこのレジスタにアクセスできるかどうか疑問に思います よろしくお願いいたします Re:LS1046A L1およびL2キャッシュECC こんにちは@Hector_Villarruel 、 ご返信ありがとうございます。L2CTLR_EL1 レジスタは、LS1046A リファレンス マニュアルに付属の ARM® Cortex-A72® MPCore プロセッサ TRM に示されています。いずれにせよ、ECCが常に有効になっていると述べていれば、そのようなレジスタをチェックする必要はなく、解決策としてあなたの返信を受け入れることができます 敬具
查看全文
How to modify the SRAM in the LD file when installing HSE FW (AB_SWAP) on S32K311? Hello, I am installing HSE FW (AB_Swap) on S32K311 chip. I understand that 48KB SRAM needs to be reserved for HSE firmware use, but S32K311 chip only has 32KB SRAM. How should I allocate SRAM in the ld file? Re: How to modify the SRAM in the LD file when installing HSE FW (AB_SWAP) on S32K311? It is some comment related to old SBAF version. Installing AB_SWAP also updates SBAF so I would not see any issue. Re: How to modify the SRAM in the LD file when installing HSE FW (AB_SWAP) on S32K311? As described in the following figure, in addition, it can also be seen from the ld file of demo "S32K344-HSE_SW-INSTALL" that 48K SRAM is reserved. Re: How to modify the SRAM in the LD file when installing HSE FW (AB_SWAP) on S32K311? Could you point out where this information came from? I don't think HSE would require any portion of system RAM.
查看全文
Inquiry of usage eMMC for i.MX8ULP I would like to use eMMC to storage boot image for i.MX8ULP Single Boot Mode. I expect that there is certain empty memory region except eMMC region storing boot image. Could I use certain empty memory region as region to storage data of Application? I would like to use eMMC not only  flash memory for saving data but memory for saving boot image simultaneously. Re: Inquiry of usage eMMC for i.MX8ULP Hi, Salas, I have checked what you said. Thanks, Hyunwoo You Re: Inquiry of usage eMMC for i.MX8ULP Hello @hwyou0212  You can check the Yocto user's guide, there is explained how to build a partitioned image for an i.MX8ULP processor: After flashing your built image you will see two partitions, boot and root.  In root partition will be stored your data applications (Linux OS). I hope this can helps to you. Best regards, --... ...-- Salas. 
查看全文
SBC fault detection hi, experts Now we are working on SBC FS6513, and MCU is S32K324. and regarding the SBC fault detection, I have following questions: 1)what kind of SBC fault shall we detect in normal case? such as self-test fail, communication error, over voltage, under voltage and so on.. 2)how can we detect above fault(DTC report is required), only read DIAG register is enough? 3)is there any fault which will shut off regulator? in this case, MCU will not work. Re: SBC fault detection Hi Witness, for the fault tests description please refer to the Safety Manual attached.  With Best Regards, Jozef Re: SBC fault detection hi,Jozef Thanks so much for your kind reply. I have one another question, how can we test the SBC fault? is there any safety lib code or any other method we can refer?  Re: SBC fault detection Hi Withness, first please let me inform you, that for the the S32K3xx MCU family the recommended SBCs are newer FS26 and FS23. Please refer to this link. To your questions. 1)what kind of SBC fault shall we detect in normal case? such as self-test fail, communication error, over voltage, under voltage and so on. [A] In Normal operation, please check the RSTB, FS0B pins, depending on the WD_IMPACT_1:0 bits setting. If default, then only the RSTB pin. Then you can periodically check all the DIAG registers for faults. 2)how can we detect above fault(DTC report is required), only read DIAG register is enough? [A] Yes, only the DIAG registers are enough for the FS65.  3)is there any fault which will shut off regulator? in this case, MCU will not work. [A] We have FMEDA (Failure Mode Effects and Diagnostic Analysis) reports describing detailly impacts of the faults. Please download the documents from the FS65 product page, under the Secure section. Please also check the Safety Analysis Report.  High temperature fault will shutdown individual regulators. With Best Regards, Jozef
查看全文
Questions about the internal SRAM of S32G Hi, I recently tested the bootloader to boot multi-core programs and found that the bootloader will move the complete bin file of each M7 core from QSPI to internal SRAM and then execute it. However, I noticed that the internal SRAM of S32G2 is only 8M, and the space allocated to each M7 core in LD is about 1M. Question: If my M7 core program is very large, such as 10M, how should I operate it? thanks, Re: Questions about the internal SRAM of S32G Hi chenyi,     As we know, if multi-core is enabled, it takes a long time for A-core to boot Linux. During the startup of Core A, if Core M collects 100MB of data that requires saving, how should this be handled?      I'm having this problem right now.S32G QSPI issue - NXP Community Re: Questions about the internal SRAM of S32G Hello, @youke  Thanks for your reply. In common,  the 8M of SRAM should be bigger enough to run a M7 application, I suggest checking the code to reduce the size. Regarding to XIP, yes, it is theoretically supported,  but there are no example or some documentations about XIP on S32G. It's not easy and not common to implement XIP from NOR flash on S32G,  the S32G didn't have internal nor flash, so the cpu can not directly access the nor flash. you could use a bootloader to initialize the QSPI controller and DDR controller at first and then let cpu to execute the application stored in Qflash or DDR on running time. I hope it will help.  BR Chenyin Re: Questions about the internal SRAM of S32G hi, 已解决: S32G2xx M7 execute code from external flash ? - NXP Community I saw this document introducing an XIP(eXecute-In-Place) mechanism that can execute code from external flash. Do you have any relevant materials or demos? thanks Re: Questions about the internal SRAM of S32G Hello, @youke  Thanks for you reply. As per my understanding, there is not formal sample/document regarding to this topic, you may reference the ddr init code from A53 side if willing to initialize the DDR for M7 side. Sorry for your inconvenience. BR Chenyin Re: Questions about the internal SRAM of S32G hi, Do you have any relevant demos or materials within NXP? thanks Re: Questions about the internal SRAM of S32G Hello, @youke  Thanks for your reply. Yes, I think both method may work for your situation, but as far as I know , most customers do not use DDR from M core side, it is  one option to solve your specific case. BR Chenyin Re: Questions about the internal SRAM of S32G Hi, What do you mean, if the M core wants to execute a large image, there are two options: 1. M7 first transfers a portion of the code to the internal SRAM for initializing DDR. After initializing DDR, the complete code is transferred to DDR for execution; 2. The M7 core waits first, and after the A core initializes the DDR, it moves the M7 core image to the DDR and executes it; Is that so? Re: Questions about the internal SRAM of S32G Hello, @youke  Thank for the reply. If the large size image is indeed caused by code(for example, large libs linked) and cannot be resized via linker file, then it cannot be directly loaded to the SRAM to run.  if so, I think you may have to initialize the DDR for running the code. But, unlike A53 side, the DDR is not by default enabled from sample code/bootloader from M7 side. BR Chenyin Re: Questions about the internal SRAM of S32G hi, Thank you for your reply Because I have written too much code, the compiled file is very large. Based on your answer, S32G2 does not support M7 core images exceeding 8MB because they cannot be copied to internal SRAM for execution. Is that correct? Re: Questions about the internal SRAM of S32G Hello, @youke  Thanks for your reply. I am not sure why your images are so large, since they have been far larger than the 8M ram size(24 M in total). One possible method is to check the linker file, for example,  edit it to make it to 1-2M size each. Then re-build 3 images, note that do not overlap the address of each other. If the big size of image is because multi-libs linked(large sized libs), then edit the linker file may not work for the case from my understanding. BR Chenyin Re: Questions about the internal SRAM of S32G Hi, We will use three M7 cores to run separate programs here, with each core having an image size of approximately 8M, totaling 24M, Because the internal SRAM of S32G2 is only 8MB, how should I plan the LD file thanks, Re: Questions about the internal SRAM of S32G Hello, @youke  Thanks for your post. In common, the actual size of the M7 image would not be that so big, if so, I suggest modify the linker file to change the address range of each part, thus resize the image.  BR Chenyin
查看全文