Multi Source Translation Content

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

Multi Source Translation Content

Discussions

Sort by:
LPSPI0 和 EMAC 的焊盘类型 您好, 根据S32K344技术参考手册,支持最大开关频率的焊盘类型有4种,如下所示: - 标准:10 MHz - 标准增强版:25 MHz - 中频:50 MHz - 高速:120 MHz 我正在尝试了解选择标准焊盘和标准加强焊盘会对 LPSPI 和 EMAC 外设造成哪些限制。 1.对于 EMAC,当使用 RMII 接口时,参考时钟为 50 MHz。这意味着 RX/TXCLK、TXD0、TXD1、RXD0 和 RXD1 引脚应支持 50 MHz 信号。然而,在 S32K344_257bga 引脚配置中,所有 RX/TXCLK、TXD0、TXD1、RXD0 和 RXD1 引脚要么位于标准焊盘上,要么位于标准加焊盘上。这是否意味着 S32K344 不支持 RMII? 2. 对于 EMAC,当使用 MII 接口时,100 Mbps 以太网的参考时钟为 25 MHz,10 Mbps 以太网的参考时钟为 2.5 MHz。这是否意味着,如果我们想使用 MII 接口实现 100Mbps 以太网,就应该使用标准加型焊盘? 3. 对于 LPSPI,能否提供 LPSPI0 和 LPSPI1-5 在标准焊盘和标准加强型焊盘上可靠支持的最大速率? 谢谢! 普亚
View full article
ISP support for iMX95 FRDM Evaluation kit Hi Team, I am trying to port a Bayer sensor on the i.MX95 FRDM platform. Following the software setup guide below, I was able to connect and stream video using the NXP-supported OS08A20 camera module which was provided in the NXP website. Now, I would like to port and stream a different Bayer sensor. Is there any documentation available that explains: Where to obtain the libcamera source code and how to build it for the i.MX95 platform? How to generate ISP-specific YAML and configuration files for a new Bayer sensor? What camera driver parameters and controls are required to support a Bayer sensor on the i.MX95 FRDM platform? The complete software flow for integrating a new Bayer sensor with the NXP ISP pipeline? Can you please let me know at the earliest. Thanks Re: ISP support for iMX95 FRDM Evaluation kit Hello, Please refer to the following guide: https://www.nxp.com/docs/en/user-guide/UG10215.pdf Best regards/Saludos, Aldo.
View full article
Debug application started by the MCUBOOT Dear Everyone, the board we use is IMXRT1176. I would like to debug my application which is started by mcuboot. I would like the debugger to flash a signed application and debug it afterwards. Let me show you what i did: 1. Original build produced me an app.elf 2. I converted an app.elf to app.bin and singed it with imgtool to create app_signed.bin 3. I used arm-none-eabi-objcopy to wrap app_signed.bin into app_signed.bin.elf 4. I used this lanuch.json configuration ``` { "type": "mcuxpresso-debug", "name": "Debug bootloader app", "request": "launch", "cwd": "${workspaceFolder}", "executable": " /app.elf", "isAttach": false, "probeType": "LinkServer", "stopAtSymbol": "main", "skipBuildBeforeDebug": true, "extraSymbolFiles": [     " /app.elf",     " /bootloader.elf", ], "postLaunchCommands": [     "load /app_signed.bin.elf 0x30100000" ], "gdbInitCommands": [    "set remotetimeout 600",     "set debug-file-directory",     "set non-stop off", ], "gdbServerConfigs": {     "linkserver": {          "device": "MIMXRT1176xxxxx:MIMXRT1170-EVKB",          "core": "cm7", }, "segger": {}, "pemicro": {} }, }, ``` It seems to work, meaning i can debug both bootloader and app, but it feels like a hack. What I don't like the most is that flash is written twice. Once for executable where we write unsigned binary and one for load where we write signed binary (which has the same core code obviously). Could you please tell me if i missed something obvious? Do you think there is a cleaner way to achieve that. Just as an info, I know how to attach to already flashed image, the process above is more about convenience to start debugging in one step, I mention this to express what my goal is. Thanks a lot in advance for any help and suggestions! Best Regards, Jakub
View full article
T1024 RESET_REQ 无故注册 您好,我们最近几个月在使用T1024 CPU时遇到了一些问题。 先感谢您。 问题描述: 我们的工业PLC内部使用了T1024NSE7KQA CPU。 直到去年我们还在使用 MQX OS(单核实现),然后我们用 SDKLINUX 将其移植到双核 Linux 实现(该操作系统大部分是由第三方实现的)。 硬件在物理上与之前的MQX操作系统版本相同。 所有单元在 Linux 启动期间都出现问题:MCU 卡住(MCU 本身发出 RESET_REQ_B 信号)。 该事件并非确定性的:只有 10% 的启动周期会受到影响,但它总是发生在操作系统启动的同一阶段。 我们通过周期性的启动/关机序列重现了该问题。 如果事件发生在开机后,则总是在硬件启动/初始化后约 40 秒,操作系统启动完成后 5-8 秒发生(由于操作系统进程调度略有变化,从启动到事件发生的时间略有变化)。 否则,该事件将不会再次出现,我们需要等待几次断电重启才能再次发生。 RCW 正确,PBL 阶段正确完成。 事件发生前,我们用示波器检查了 O1VDD、OVDD、G1VDD、VDD、VDDC 电源轨电压,结果显示电压稳定,且在 CPU 容差范围内。 事件期间,我们测量到 RESET_REQ_B:H->L 转换。 我们中断了 RESET_REQ_B 与板载电路之间的任何板载连接(这样 RESET_REQ_B 就不会强制 HRESET_B 或 PORESET_B 发生转换),以便在同一启动周期或下一个启动周期中读取 DCFG_CCSR_RSTRQSR1 寄存器,但结果始终为0x0值。我们确信CPU内部正在请求RESET,但我们找不到原因。 我们已将操作系统日志的详细程度设置为最高,但在问题启动事件发生之前,我们并未发现任何异常(与正常启动相比):没有内核消息,没有进程消息,没有异常,…… 我们正在通过 UART 定期记录 DCFG_CCSR_RSTRQSR1 寄存器:事件发生后,CPU 无法再写入任何内容。 我们尝试屏蔽所有RESET原因(将 DCFG_CCSR_RSTRQMR1 的所有非保留位设置为 1),但问题仍然存在。 问题: • 是否存在未映射到 DCFG_CCSR_RSTRQSR1 的 RESET_REQ_B 原因?我提醒一下,我们已经屏蔽了 DCFG_CCSR_RSTRQMR1 中的所有非保留位,但没有成功; • 我们如何才能深入了解是哪个 CPU 机制请求了 RESET_REQ_B? • CPU 是否可能进入低功耗电源管理单元状态,从而发出 RESET_REQ_B 信号? 谢谢你的解释。 贾科莫·加斯帕里尼。 Re: T1024 RESET_REQ without any cause registered 顺便问一下,我无法访问我的官方账号:请问你们处理这类问题的参考邮箱地址是什么?谢谢
View full article
i.MXRT1176: 外部SRAMへのアクセスに関する質問 こんにちは、 外部のSRAMにアクセスするのに問題が発生しています。SRAMはCSX1(パッドL14 – GPIO_AD_26)を介して選択されますが、私のテストプログラムは常にメモリ管理フォルトを引き起こします。私のコードのどこが間違っていたのでしょうか?ご協力ありがとうございます。 /* * 著作権 2017 NXP * 無断転載を禁じます。 * * SPDX-License-Identifier: BSD-3-Claise */ #include "board.h" #include "fsl_debug_console.h" #include "fsl_device_registers.h" #include "pin_mux.h" #include "fsl_semc.h" #include "clock_config.h" /**** * 定義 **********************************************************************************/ #define EXAMPLE_SEMC SEMC #define EXAMPLE_SEMC_CLK_FREQ CLOCK_GetRootClockFreq(kCLOCK_Root_Semc) /**** * プロトタイプ **********************************************************************************/ extern status_t BOARD_InitSRAM ( void ) ; /**** * 変数 **********************************************************************************/ /**** * コード **********************************************************************************/ #define SRAM_BASE 0x60000000 //#define SRAM_BASE 0x81000000 status_t BOARD_InitAsyncSRAM_CS1 ( void ) { semc_config_t設定; semc_sram_config_t xsram_config ; uint32_t clockFrq = kCLOCK_Root_Semc ; SEMC_GetDefaultConfig ( & config ) ; config.dqsMode = kSEMC_Loopbackdqspad ;​​ SEMC_Init ( SEMC , & config ) ; memset ( & config , 0 , sizeof ( semc_config_t )) ; memset ( & xsram_config , 0 , sizeof ( semc_sram_config_t )) ; xsram_config.address = 0x60000000 ;​​ xsram_config . memsize_kbytes= 512 ; xsram_config . addrPortWidth= 16 ; xsram_config 。 portSize = kSEMC_PortSize16Bit ; xsram_config.addrMode = kSEMC_AddrDataNonMux ;​​ xsram_config.syncMode = kSEMC_AsyncMode ;​​ xsram_config . advActivePolarity= kSEMC_AdvActiveLow ; xsram_config . advLevelCtrl= kSEMC_AdvLow ; xsram_config.burstLen = kSEMC_Nor_BurstLen1 ;​​ xsram_config . tWeLow_Ns= 25 ; xsram_config . tWeHigh_Ns= 25 ; xsram_config . tReLow_Ns= 25 ; xsram_config . tReHigh_Ns= 25 ; xsram_config . tTurnAround_Ns= 10 ; xsram_config.cePinMux = kSEMC_MUXCSX1 ;​​ xsram_config.waitEnable = true ;​​ xsram_config.waitSample = true ;​​ xsram_config . tCeSetup_Ns= 25 ; xsram_config . tCeHold_Ns= 20 ; xsram_config . tAddrSetup_Ns= 25 ; xsram_config . tAddrHold_Ns= 25 ; xsram_config . tWriteSetup_Ns= 25 ; xsram_config . tWriteHold_Ns= 25 ; xsram_config.readCycle = 30 ;​​ xsram_config . readHoldTime_Ns= 25 ; xsram_config . tCeInterval_Ns= 25 ; xsram_config . tAddr2WriteHold_Ns= 25 ; xsram_config.latencyCount​​= 3 ; xsram_config.delayChain = 25 ;​​ xsram_config.addr27 = kSEMC_MORA27_NONE ;​​ SEMC -> IOCR |= 0x00908BB6 ; // SEMC->IOCR |= 0x08; return SEMC_ConfigureSRAMWithChipSelection ( SEMC , kSEMC_SRAM_CS1 , & xsram_config , clockFrq ) ; } /*! * @brief メイン機能 */ int main ( void ) { /* ハードウェア初期化。*/ BOARD_ConfigMPU () ; BOARD_InitPins () ; BOARD_BootClockRUN () ; BOARD_InitDebugConsole () ; BOARD_InitAsyncSRAM_CS1 () ; SEMC -> IOCR |= SEMC_IOCR_MUX_CSX1 ( 0x08 ) ; PRINTF ( "\r\n SEMC SRAM MSpec を WAIT 書き込みテストで開始します。\r\n" ) ; PRINTF ( "CCM_OBS_SEMC_CLK_ROOT: %d\r\n" , CLOCK_GetFreqFromObs ( CCM_OBS_SEMC_CLK_ROOT )) ; ////////////////////////////////////////////////////////////////////////////////////////////// volatile uint16_t * sram_ptr = ( volatile uint16_t * ) 0x60000000 ; uint16_t i = 0 ; * sram_ptr = 0 ; for ( i = 0 ; i <= 10 ; i ++ ) { * sram_ptr = i ; } for ( i = 0 ; i <= 10 ; i ++ ) { PRINTF ( "\r\n sram = %d \r\n" , sram_ptr ) ; } }
View full article
RT1176 LVGL + VGLITE:字体渲染错误 我正在尝试将 VGLITE 应用于我的代码中,该代码基于 RT1176 上的 LVGL。我正在运行演示基准测试。 当我设置时: #define LV_USE_DRAW_SW 1 #define LV_USE_DRAW_VGLITE 0 渲染效果很好。 当我启用 VGLITE 时 #define LV_USE_DRAW_SW 0 #define LV_USE_DRAW_VGLITE 1 字母被破坏了,它们看起来像是外星字体,即使在某些帧中它们被正确渲染。启用 VGLITE 后,演示程序会在场景 14 卡住。 我应该从哪里开始调查? Re: RT1176 LVGL + VGLITE: Bad font rendering 嘿@P3r3gr1nus ,我启用 vglite 时也遇到了同样的问题(文本渲染错误),请问您是否已经解决了这个问题? Re: RT1176 LVGL + VGLITE: Bad font rendering 你好@EdwinHz ,我发现问题与字符串中的字符数有关。我按顺序展示: 字符串 123 字符串 1234 字符串 12345 字符串 123456 字符串 1234567 字符串 12345678 字符串 123456789 字符串 1234567890 恰好从“String 12345”到“String 12345678”的字符串损坏了(字体异常),其他字符串都正常。该序列会重复出现,且行为是确定性的。当我将字体大小从lv_font_montserrat_14 更改为 lv_font_montserrat_12 时,也会出现同样的问题。 此时,了解 LVGL9 + VGLITE 是否已经过验证对我来说应该很有用。 Re: RT1176 LVGL + VGLITE: Bad font rendering 这里有一个关于这个问题的简短视频。似乎只影响文本。即使过了一会儿演示画面卡住了。 Re: RT1176 LVGL + VGLITE: Bad font rendering 你好@EdwinHz , 是的,如果我按照您的建议,在 conf.h 文件中禁用 VGLITE: LV_USE_DRAW_VGLITE 0 LV_USE_DRAW_SW 1 一切都很好。 然而,我的目标是启用 VGLITE GPU 加速。我使用了 demo_benckmark 作为参考,但最终目标将是我的应用程序。 此外,我没有使用 RGB888,而是使用了 LV_COLOR_DEPTH 16 缓冲区设置为 RGB565。 我忘了提一下,我的项目是基于 RT1176 的,我使用的是 FREERTOS。 你认为VGLITE有可能与LVGL一起使用吗? Re: RT1176 LVGL + VGLITE: Bad font rendering 嗨@P3r3gr1nus , 如“lvgl_examples_readme.md”中所述文件: “ GPU 和 PXP 不支持 8 位,请取消选中 `LV_USE_DRAW_VGLITE` 和 `LV_USE_PXP`。 在 Kconfig 中,或者像这样修改 mcux_config.h: ``` #define CONFIG_LV_USE_DRAW_VGLITE 0 #define CONFIG_LV_USE_PXP 0 #define CONFIG_LV_ATTRIBUTE_MEM_ALIGN_SIZE 1 #define CONFIG_LV_DRAW_SW_DRAW_UNIT_CNT 1 ” BR, 埃德温。
View full article
MCUXpresso IDE v25.6:CMSISパックのインストール/パックのインポートオプションはどこにありますか? 私はMIMXRT1064-EVK上でMCUXpresso IDE v25.6を使っていて、IDEにCMSISパック(.packファイル)をインストールしようとしています。 Open-CMSIS-Packsのドキュメントには「ディスクからパックをインポートする」オプション付きのCMSISパックマネージャーが記載されていますが、私のインストールのどこにも見当たりません。おそらく、v25.xリリースでメニューが古い11.xのドキュメントと比べて変更されているのではないかと思います。 - ウィンドウ>「その他」で「cmsis」や「pack」を検索しても何も表示されません。 - ウィンドウ> Perspective > Open Perspective > Other(その他)にはCMSISパックマネージャが記載されていません。 - プロジェクト>右クリックのSDKマネジメントの下には、「SDK コンポーネントの管理」、「SDK コンポーネントの更新」、「SDKパーツサポートの追加」しか表示されず、Open-CMSISパックを追加するオプションはありません。 - .パックを引きずるインストール済みSDKビューに「Import SDK Git」ウィザードが開き、gitマニフェストフォルダを求めます。 MCUXpresso IDE v25.6のCMSISパックインストール/「ディスクからパックをインポート」オプションはどこにありますか?また、ローカルの.packをインストールする方法はどうやってですか?ファイルでそのコンポーネントを「Manage SDK Components」の下に表示させるのに? Re: MCUXpresso IDE v25.6: where is the CMSIS pack install / Import Packs option? こんにちは、 MCUXpresso IDE内でのOpen-CMSISパックのマネジメントサポートは、バージョン25.06で削除されました(MCUXpresso IDE 25.06リリースノート(RN00128)に記載されています。 一つの選択肢は、MIMXRT1064-EVK用のSDKを使うことです。CMSISドライバはすでに含まれており、プロジェクト作成時に追加できます。 よろしくお願いします、 パブロ
View full article
IOLにおけるI2CラインのVOLは3mAです。 こんにちは、 こちらはアルムガムです。I2Cラインで考慮すべきVOLの最大電圧を教えていただけますか?0.7V @1mA または 3mA のどちらを考慮すべきでしょうか よろしくお願いします。 アルムガム Re: VOL for I2C lines at IOL 3mA こんにちは@Arumugam1982 I2CラインのVOL/VOHレベルは、パッド電源レールと、選択されたピン構成の対応する電気的仕様によって異なります。LPI2Cパッドはピンの多重接続やパッド割り当てに応じてVDD_HV_AまたはVDD_HV_Bから供給されるため、これはデバイスのIOMUX情報を用いて検証する必要があります。 データシートには、入力しきい値(VIH/VIL)がGPIOのDC電気特性表に直接定義されています。しかし、VOH/VOLは通常、IOHやIOLなどの出力駆動電流の状態を通じて間接的に定義されます。 実際には、特定の電流値(mA)を仮定するのではなく、選択したパッド構成に対応するIOH/IOLパラメータに関連付けられたVOH/VOL条件に依存することが推奨されるアプローチです。特定の電流値は、その電気特性に関するデータシートに明示的に定義されている場合にのみ使用すべきです。 BR、VaneB
View full article
MCUBOOTによって開始されたデバッグアプリケーション 皆様へ 私たちが使用しているボードはIMXRT1176です。 私は、mcubootで起動した自分のアプリケーションをデバッグしたいと思っています。デバッガに署名されたアプリケーションをフラッシュしてからデバッグさせたいです。私がやったことをお見せしましょう: 1. オリジナルビルドでapp.elfが生成されました 2. app.elfをapp.binに変換し、imgtoolで焼き付けてapp_signed.bin 3. arm-none-eabi-objcopyを使ってapp_signed.binをapp_signed.bin.elfにラップしました 4. このlanuch.json構成を使いました ``` ヤージュ "type": "mcuxpresso-debug", "名前": "デバッグブートローダーアプリ", 「リクエスト」: 「起動」 "cwd": " ${workspaceFolder} ", "実行可能ファイル": " /app.elf", 「isAttach」: false、 「プローブタイプ」: 「リンクサーバー」 "stopAtSymbol": "main", "skipBuildBeforeDebug": true、 「extraSymbolFiles」: [ " /app.elf", " /bootloader.elf", ], 「postLaunchCommands」: [ "load /app_signed.bin.elf 0x30100000" ], "gdbInitCommands": [ 「set remotetimeout 600」 「デバッグファイルディレクトリを設定」 「ノンストップでオフに設定」 ], "gdbServerConfigs": { "Linkserver": { 「device」:「MIMXRT1176xxxxx:MIMXRT1170-EVKB」、 「コア」:「CM7」 }, 「セッガー」: {}, 「ペミクロ」: {} }, }, ``` 動作しているようで、ブートローダーとアプリの両方をデバッグできるのですが、まるでハックのように感じます。 私が一番気に入らないのは、Flashが2回書かれていることです。実行用には署名なしバイナリを書き込み、ロード用には署名付きバイナリを書き込みます(コアコードは当然同じです)。 何か明らかな見落としがあったら教えていただけますか?それを実現するための、もっとクリーンな方法があると思いますか? 参考までに申し上げますが、既に書き込まれたイメージにアタッチする方法は知っています。上記の手順は、デバッグを1ステップで開始できるようにするための利便性に関するものであり、私の目的を説明するために述べました。 ご協力やご提案をいただければ幸いです。どうぞよろしくお願いいたします! よろしくお願いします、 ヤクブ
View full article
i.MXRT1176: Question about accessing an external SRAM Hello, I'm having trouble accessing an external SRAM. The SRAM is selected via CSX1 (Pad L14 – GPIO_AD_26), and my test program always triggers a MemoryManage Fault. What mistake did I make in my code? Thank you in advance for your help. /* * Copyright 2017 NXP * All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #include "board.h" #include "fsl_debug_console.h" #include "fsl_device_registers.h" #include "pin_mux.h" #include "fsl_semc.h" #include "clock_config.h" /******************************************************************************* * Definitions ******************************************************************************/ #define EXAMPLE_SEMC SEMC #define EXAMPLE_SEMC_CLK_FREQ CLOCK_GetRootClockFreq(kCLOCK_Root_Semc) /******************************************************************************* * Prototypes ******************************************************************************/ extern status_t BOARD_InitSRAM(void); /******************************************************************************* * Variables ******************************************************************************/ /******************************************************************************* * Code ******************************************************************************/ #define SRAM_BASE 0x60000000 //#define SRAM_BASE 0x81000000 status_t BOARD_InitAsyncSRAM_CS1(void) { semc_config_t config; semc_sram_config_t xsram_config; uint32_t clockFrq = kCLOCK_Root_Semc; SEMC_GetDefaultConfig(&config); config.dqsMode = kSEMC_Loopbackdqspad; SEMC_Init(SEMC, &config); memset(&config, 0, sizeof(semc_config_t)); memset(&xsram_config, 0, sizeof(semc_sram_config_t)); xsram_config.address = 0x60000000; xsram_config.memsize_kbytes = 512; xsram_config.addrPortWidth = 16; xsram_config.portSize = kSEMC_PortSize16Bit; xsram_config.addrMode = kSEMC_AddrDataNonMux; xsram_config.syncMode = kSEMC_AsyncMode; xsram_config.advActivePolarity = kSEMC_AdvActiveLow; xsram_config.advLevelCtrl = kSEMC_AdvLow; xsram_config.burstLen = kSEMC_Nor_BurstLen1; xsram_config.tWeLow_Ns = 25; xsram_config.tWeHigh_Ns = 25; xsram_config.tReLow_Ns = 25; xsram_config.tReHigh_Ns = 25; xsram_config.tTurnAround_Ns = 10; xsram_config.cePinMux = kSEMC_MUXCSX1; xsram_config.waitEnable = true; xsram_config.waitSample = true; xsram_config.tCeSetup_Ns = 25; xsram_config.tCeHold_Ns = 20; xsram_config.tAddrSetup_Ns = 25; xsram_config.tAddrHold_Ns = 25; xsram_config.tWriteSetup_Ns = 25; xsram_config.tWriteHold_Ns = 25; xsram_config.readCycle = 30; xsram_config.readHoldTime_Ns = 25; xsram_config.tCeInterval_Ns = 25; xsram_config.tAddr2WriteHold_Ns = 25; xsram_config.latencyCount = 3; xsram_config.delayChain = 25; xsram_config.addr27 = kSEMC_MORA27_NONE; SEMC->IOCR |= 0x00908BB6; // SEMC->IOCR |= 0x08; return SEMC_ConfigureSRAMWithChipSelection(SEMC, kSEMC_SRAM_CS1, &xsram_config, clockFrq); } /*! * @brief Main function */ int main(void) { /* Hardware initialize. */ BOARD_ConfigMPU(); BOARD_InitPins(); BOARD_BootClockRUN(); BOARD_InitDebugConsole(); BOARD_InitAsyncSRAM_CS1(); SEMC->IOCR |= SEMC_IOCR_MUX_CSX1(0x08); PRINTF("\r\n Start SEMC SRAM MSpec with WAIT write test.\r\n"); PRINTF("CCM_OBS_SEMC_CLK_ROOT: %d\r\n", CLOCK_GetFreqFromObs(CCM_OBS_SEMC_CLK_ROOT)); ////////////////////////////////////////////////////////////////////////////////////////////// volatile uint16_t *sram_ptr = (volatile uint16_t *)0x60000000; uint16_t i = 0; *sram_ptr = 0; for (i = 0; i <= 10; i++) { *sram_ptr = i; } for (i = 0; i <= 10; i++) { PRINTF("\r\n sram = %d \r\n", sram_ptr); } }
View full article
LX2160A XSPI(シングルモード) - 未使用ピン こんにちは、 XSPIをシングルモードで動作するように構成する場合、DAT2~DAT7信号の構成がどうなるかは明らかではありません。 CANは繋がらせずに置いておけますか? ノアム
View full article
RT1176 LVGL + VGLITE: フォントのレンダリングが不良 私はRT1176上のLVGLをベースに、VGLITEを自分のコードに適用しようとしています。デモベンチマークを実行しています。 私が設定したとき: #define LV_USE_DRAW_SW 1 #define LV_USE_DRAW_VGLITE 0 レンダリングは問題ありません。 VGLITEを有効にすると #define LV_USE_DRAW_SW 0 #define LV_USE_DRAW_VGLITE 1 文字は破壊され、異質なフォントのように見える。ただし、一部のフレームでは正しくレンダリングされている場合もある。VGLITEが有効になっている場合、デモはシーン14で停止します。 どこから調査を始めればいいでしょうか? Re: RT1176 LVGL + VGLITE: Bad font rendering @P3r3gr1nus さん、こんにちは。vglite を有効にするとテキストのレンダリングがうまくいかないという同じ問題が発生しています。もしかして、この問題は解決しましたか? Re: RT1176 LVGL + VGLITE: Bad font rendering こんにちは、@EdwinHz さん。問題は文字列の文字数に関係していることがわかりました。順に示します。 文字列123 文字列 1234 文字列 12345 文字列 123456 文字列 1234567 文字列 12345678 文字列 123456789 文字列 1234567890 「String 12345」から「String 12345678」までの文字列が破損(異質なフォント)していることが判明しましたが、その他の文字列は正常です。このシーケンスは繰り返され、挙動はデターミニスティックです。フォントサイズをlv_font_montserrat_14からlv_font_montserrat_12に変更した場合も同様です。 この時点で、LVGL9 + VGLITEが既に検証済みかどうかを知ることは私にとって有益でしょう。 Re: RT1176 LVGL + VGLITE: Bad font rendering この問題に関する短い動画はこちらです。テキストのみに影響するようです。たとえしばらくするとデモがフリーズしても。 Re: RT1176 LVGL + VGLITE: Bad font rendering こんにちは、 @EdwinHz さん。 はい、ご提案どおりconf.hで設定してVGLITEを無効にすれば、 LV_USE_DRAW_VGLITE 0 LV_USE_DRAW_SW 1 すべて順調です。 しかし、私の目標はVGLITE GPUアクセラレーションを有効にすることです。demo_benckmarkを参考にしましたが、最終的な目標は自分のアプリケーションです。 さらに、私はRGB888を使っていません。 LV_COLOR_DEPTH 16 バッファはRGB565に設定されています。 言い忘れていましたが、私のプロジェクトはRT1176をベースにしており、FREERTOSを使用しています。 VGLITEをLVGLと併用できる可能性はあると思いますか? Re: RT1176 LVGL + VGLITE: Bad font rendering こんにちは、 @P3r3gr1nus さん。 「lvgl_examples_readme.md」に記載されているとおりファイル: " GPUとPXPは8ビットをサポートしていません。「LV_USE_DRAW_VGLITE」と「LV_USE_PXP」を選択し外してください。 Kconfigで、またはmcux_config.hのように修正したりします。 ``` #define CONFIG_LV_USE_DRAW_VGLITE 0 #define CONFIG_LV_USE_PXP 0 #define CONFIG_LV_ATTRIBUTE_MEM_ALIGN_SIZE 1 #define CONFIG_LV_DRAW_SW_DRAW_UNIT_CNT 1 」 BR、 エドウィン。
View full article
i.MXRT1176:关于访问外部SRAM的问题 你好, 我无法访问外部SRAM。通过 CSX1(Pad L14 – GPIO_AD_26)选择 SRAM,我的测试程序总是触发信号 MemoryManage Fault。我的代码哪里出错了?提前感谢您的帮助。 /* * 版权所有 2017 NXP * ALL RIGHTS RESERVED. * * SPDX 许可证标识符:BSD-3-Clause */ #include "board.h" #include "fsl_debug_console.h" #include "fsl_device_registers.h" #include "pin_mux.h" #include "fsl_semc.h" #include "clock_config.h" /******************************************************************************* * 定义 ******************************************************************************/ #define EXAMPLE_SEMC SEMC #define EXAMPLE_SEMC_CLK_FREQ CLOCK_GetRootClockFreq(kCLOCK_Root_Semc) /******************************************************************************* * 原型 ******************************************************************************/ extern status_t BOARD_InitSRAM ( void ) ; /******************************************************************************* * 变量 ******************************************************************************/ /******************************************************************************* * 代码 ******************************************************************************/ #define SRAM_BASE 0x60000000 //#define SRAM_BASE 0x81000000 status_t BOARD_InitAsyncSRAM_CS1 ( void ) { semc_config_t config ; semc_sram_config_t xsram_config ; uint32_t clockFrq = kCLOCK_Root_Semc ; SEMC_GetDefaultConfig ( & config ) ; config.dqsMode = kSEMC_Loopbackdqspad ;​​ SEMC_Init ( SEMC , &配置) ; memset ( & config , 0 , sizeof ( semc_config_t )) ; memset ( & xsram_config , 0 , sizeof ( semc_sram_config_t )) ; xsram_config.address = 0x60000000 ;​​ xsram_config.memsize_kbytes​​= 512 ; xsram_config.addrPortWidth​​= 16 ; xsram_config 。端口大小= kSEMC_PortSize16Bit ; xsram_config.addrMode = kSEMC_AddrDataNonMux ;​​ xsram_config.syncMode = kSEMC_AsyncMode ;​​ xsram_config.advActivePolarity​​= kSEMC_AdvActiveLow ; xsram_config.advLevelCtrl​​= kSEMC_AdvLow ; xsram_config.burstLen = kSEMC_Nor_BurstLen1 ;​​ xsram_config.tWeLow_Ns​​= 25 ; xsram_config.tWeHigh_Ns​​= 25 ; xsram_config.tReLow_Ns​​= 25 ; xsram_config.tReHigh_Ns​​= 25 ; xsram_config.tTurnAround_Ns​​= 10 ; xsram_config.cePinMux = kSEMC_MUXCSX1 ;​​ xsram_config.waitEnable = true ;​​ xsram_config.waitSample = true ;​​ xsram_config . tCeSetup_Ns= 25 ; xsram_config.tCeHold_Ns​​= 20 ; xsram_config.tAddrSetup_Ns​​= 25 ; xsram_config.tAddrHold_Ns​​= 25 ; xsram_config.tWriteSetup_Ns​​= 25 ; xsram_config.tWriteHold_Ns​​= 25 ; xsram_config.readCycle = 30 ;​​ xsram_config.readHoldTime_Ns​​= 25 ; xsram_config.tCeInterval_Ns​​= 25 ; xsram_config.tAddr2WriteHold_Ns​​= 25 ; xsram_config.latencyCount​​= 3 ; xsram_config.delayChain = 25 ;​​ xsram_config.addr27 = kSEMC_MORA27_NONE ;​​ SEMC -> IOCR |= 0x00908BB6 ; // SEMC->IOCR |= 0x08; return SEMC_ConfigureSRAMWithChipSelection ( SEMC , kSEMC_SRAM_CS1 , & xsram_config , clockFrq ) ; } /*! * @brief 主函数 */ int main ( void ) { /* 硬件初始化。*/ BOARD_ConfigMPU () ; BOARD_InitPins () ; BOARD_BootClockRUN () ; BOARD_InitDebugConsole () ; BOARD_InitAsyncSRAM_CS1 () ; SEMC -> IOCR |= SEMC_IOCR_MUX_CSX1 ( 0x08 ) ; PRINTF ( "\r\n启动 SEMC SRAM MSpec,执行 WAIT 写入测试。\r\n" ) ; PRINTF ( "CCM_OBS_SEMC_CLK_ROOT:%d\r\n" , CLOCK_GetFreqFromObs ( CCM_OBS_SEMC_CLK_ROOT )) ; ////////////////////////////////////////////////////////////////////////////////////////////// volatile uint16_t * sram_ptr = ( volatile uint16_t * ) 0x60000000 ; uint16_t i = 0 ; * sram_ptr = 0 ; for ( i = 0 ; i <= 10 ; i ++ ) { * sram_ptr = i ; } for ( i = 0 ; i <= 10 ; i ++ ) { PRINTF ( "\r\n sram = %d \r\n" , sram_ptr ) ; } }
View full article
RT1176 LVGL + VGLITE: Bad font rendering I am trying to apply VGLITE to my code, based on LVGL on RT1176. I am running the demo benchmark.  When I set: #define LV_USE_DRAW_SW 1 #define LV_USE_DRAW_VGLITE 0 the rendering is fine.  When I enable VGLITE  #define LV_USE_DRAW_SW 0 #define LV_USE_DRAW_VGLITE 1 the letters are destroyed, they appears as alien fonts, even if in some of the frames these are  correctly rendered.  Modeover when VGLITE is enabled the demo hangs on scene 14.  From where can I start to investigate? Re: RT1176 LVGL + VGLITE: Bad font rendering Hey @P3r3gr1nus , I am facing the same issue (bad text rendering) when enabling vglite, did you by any chance resolve the issue? Re: RT1176 LVGL + VGLITE: Bad font rendering Hello @EdwinHz , I found that the issue is related to the number of characters in the string. I show in sequence: String 123 String 1234 String 12345 String 123456 String 1234567 String 12345678 String 123456789 String 1234567890 It happen that the strings from "String 12345" to "String 12345678" are damaged (alien font) the others are fine. The sequence is repeated and the behavior is deterministic. The same when I change font size from lv_font_montserrat_14 to lv_font_montserrat_12. At this point it should be useful for me to know if the LVGL9 + VGLITE has been already validated.  Re: RT1176 LVGL + VGLITE: Bad font rendering Here a small video about the issue. It seems to affect only text. Even if after a while the demo freezes.  Re: RT1176 LVGL + VGLITE: Bad font rendering Hello @EdwinHz ,      yes, if I disable the VGLITE as you suggest by setting in conf.h: LV_USE_DRAW_VGLITE 0  LV_USE_DRAW_SW  1 everything is fine.  However my goal is to enable the VGLITE GPU acceleration. I used demo_benckmark as a reference but the final target will be my application.  Moreover I am not using RGB888, having  LV_COLOR_DEPTH 16  the buffer is set ti RGB565.  I forgot to mention my project is based on RT1176 and I am using FREERTOS.  Do you think there is any chance to use VGLITE with LVGL? Re: RT1176 LVGL + VGLITE: Bad font rendering Hi @P3r3gr1nus, As mentioned on the "lvgl_examples_readme.md" file: " GPU and PXP don't support 8-bit, unselect `LV_USE_DRAW_VGLITE` and `LV_USE_PXP` in Kconfig, or modify mcux_config.h like: ``` #define CONFIG_LV_USE_DRAW_VGLITE 0 #define CONFIG_LV_USE_PXP 0 #define CONFIG_LV_ATTRIBUTE_MEM_ALIGN_SIZE 1 #define CONFIG_LV_DRAW_SW_DRAW_UNIT_CNT 1 " BR, Edwin.
View full article
VOL for I2C lines at IOL 3mA Hello, This is Arumugam. May I know the VOL max voltage to consider for I2C lines. Should I consider as 0.7V @1mA or 3mA Thanks Arumugam Re: VOL for I2C lines at IOL 3mA Hi @Arumugam1982  The VOL/VOH levels for the I2C lines depend on the pad supply rail and the corresponding electrical specification of the selected pin configuration. The LPI2C pads can be supplied from either VDD_HV_A or VDD_HV_B, depending on the pin muxing and pad assignment, so this should be verified using the device IOMUX information. The datasheet defines the input thresholds (VIH/VIL) directly in the GPIO DC electrical characteristics tables. However, VOH/VOL are usually defined indirectly through the output drive current conditions, such as IOH and IOL. In practice, the recommended approach is to rely on the VOH/VOL conditions linked to the corresponding IOH/IOL parameters for the selected pad configuration, rather than assuming a specific current value (mA). A specific current should only be used if it is explicitly defined in the datasheet for that electrical characteristic. BR, VaneB
View full article
LX2160A XSPI in Single Mode - Unused pins HI, It is not clear what would be the configuration of the DAT2-DAT7 signals when configuring the XSPI to operate in a Singl Mode. Can they be left unconnected? Noam
View full article
ISP 对 iMX95 FRDM 评估套件的支持 大家好, 我正在尝试将拜耳传感器移植到 i.MX95 FRDM 平台上。按照下面的软件设置指南,我能够使用 NXP 网站上提供的 NXP 支持的 OS08A20 摄像头模块连接并传输视频。 现在,我想移植并传输另一个拜耳传感器的数据。是否有相关文件解释以下内容: 如何获取 libcamera 源代码以及如何为 i.MX95 平台制作版本? 如何为新的拜耳传感器生成特定于 ISP 的 YAML 和配置文件? 要在 i.MX95 FRDM 平台上支持拜耳传感器,需要哪些相机驱动程序参数和控制? 将新型拜耳传感器集成到 NXP ISP 流水线中的完整软件流程是什么? 请您尽早告知。谢谢 Re: ISP support for iMX95 FRDM Evaluation kit 你好, 请参考以下指南: https://www.nxp.com/docs/en/user-guide/UG10215.pdf 此致敬礼/Saludos, 阿尔多。
View full article
T1024 RESET_REQ without any cause registered Hi, there are some months we have a problem with T1024 CPU. Thank you in advance. PROBLEM DESCRIPTION: We use T1024NSE7KQA CPU inside our industrial PLC. Until last year were using MQX OS (single-core implementation), then we had it ported to a dual-core Linux implementation using SDKLINUX (the OS has been mostly implemented by a third-party). The HW is physically the same of the previous MQX OS version. All units show a problem during Linux startup: the MCU get stuck (the MCU itself asserts RESET_REQ_B). The event is not deterministic: only 10% of startup cycles are affected but it happens always in the same OS startup phase. We replicated the problem with a periodic startup/power down sequence. If the event appears after powerup, it happens always ~40 s after HW startup/initialization and 5-8 s after the OS startup has completed (the time from the startup to the event slightly changes due to a slight variability in the OS process schedule). Otherwise, the event won’t show up again and we need to wait for some power cycles for it to happen. The RCW is correct and the PBL phase completes correctly. With oscilloscope we checked the O1VDD, OVDD, G1VDD, VDD, VDDC rail voltage before the event but they are stable and inside CPU tolerances. During the event we measured a RESET_REQ_B:H->L transition. We interrupted any on-board connection from RESET_REQ_B to onboard circuitry (so that RESET_REQ_B does not force a transition of HRESET_B nor PORESET_B) in order to read the DCFG_CCSR_RSTRQSR1 register in the same startup cycle or in the following one but it results to be always 0x0 value. We are sure that CPU is internally requesting the reset but we cannot find its reason. We set the max verbosity to the OS log but just before the event during a problematic startup we cannot see nothing different (compared to a startup without the issue): no kernel messages, no process message, no exceptions, … We are logging periodically the DCFG_CCSR_RSTRQSR1 register via UART: after the event the CPU cannot write anything more. We tried to mask all reset causes (set to 1 all non-reserved bit of DCFG_CCSR_RSTRQMR1) but the issue keeps happening. QUESTIONS: • Are there any RESET_REQ_B causes not mapped to DCFG_CCSR_RSTRQSR1? I remind that we masked all non-reserved bits in DCFG_CCSR_RSTRQMR1 but without luck; • How could we dig down to understand which CPU mechanism requested the RESET_REQ_B? • Could the CPU enter in a low consumption Power management state and therefore assert the RESET_REQ_B ? Thank you for clarification, Giacomo Gasparini. Re: T1024 RESET_REQ without any cause registered by the way I cannot access to my official account: which is your reference mail to support these type of issues? thank you
View full article
iMX95 FRDM評価キットに対するISPサポート こんにちは、チームのみなさん。 i.MX95 FRDMプラットフォームにBayerのセンサを移植しようとしています。以下のソフトウェアセットアップガイドに従い、NXPのウェブサイトに提供されているNXP対応のOS08A20カメラモジュールを使って動画を接続しストリーミングできました。 今、別のBayerセンサを移植してストリーミングしたいと思っています。以下を説明するドキュメントはありますか? libcameraのソースコードはどこで入手でき、i.MX95プラットフォーム向けにどう構築すればよいですか? 新しいBayerセンサのISP固有のYAMLや設定ファイルを生成するにはどうすればいいですか? i.MX95 FRDMプラットフォーム上でバイエルセンサーをサポートするには、どのようなカメラドライバーのパラメータやコントロールが必要ですか? 新しいBayerセンサをNXP ISPパイプラインに統合するための完全なソフトウェアフローは? できるだけ早く教えていただけますか?ありがとう Re: ISP support for iMX95 FRDM Evaluation kit こんにちは、 以下のガイドをご参照ください。 https://www.nxp.com/docs/en/user-guide/UG10215.pdf よろしくお願いいたします。 アルド。
View full article
LX2160A XSPI 单模式 - 未使用的引脚 您好, 当配置 XSPI 以单路模式运行时,DAT2-DAT7 信号的配置尚不明确。 它们可以不连接吗? 诺姆
View full article