Multi Source Translation Content

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

Multi Source Translation Content

Discussions

Sort by:
使用 i.MX 95 EVK 19x19 的 Android 14 Automotive (NXP) 上蓝牙不工作/崩溃 你们好 按照官方网站 aaug_14.0.0_2.1.0_2024-10-02_ 14-28.pdf 上提供的文档,我成功地在 Linux 服务器中克隆并构建了 Android 14 Automotive NXP 代码。 从以下链接下载的代码: https://www.nxp.com/pages/alpha-beta-bsps-for-microprocessors:IMXPRERELEASES (安卓汽车 14.0.0_2.1.0(L6.6.23 BSP) 支持 i.mx95 19x19 EVK Alpha 链接:https://www.nxp.com/webapp/Download?colCode=automotive-14.0.0_2.1.0_image_95evk_car2& appType=License) 我已经尝试过汽车的两个版本目标。 1. evk_95_car-trunk_staging-userdebug 2. evk_95_car2-trunk_staging-userdebug 刷新主板后,该过程成功完成,我能够看到 Android 14 Automotive 用户界面。 闪存使用的命令:sudo ./uuu_imx_android_flash.sh -f imx95 -e -t emmc 但是,当我尝试在用户界面上启用蓝牙时,adb logcat 出现了崩溃。蓝牙从未启用。 附上日志:bt.log 和 bt-on.log。 主板信息: i.MX 95 19x19 evk 参考板。 我使用的是JODY-W377-00B u-blox芯片,用于WiFi 和BT。 请确认这是预期行为还是已知问题? 如果需要任何补充信息,请告诉我。我目前被封锁了,只有在英国电信正常工作的情况下,我才需要处理。 谢谢! Re: Bluetooth NOT WORKING/Crash on Android 14 Automotive (NXP) with i.MX 95 EVK 19x19 将主板的更多信息添加为安卓汽车操作系统安装成功、BT 无法运行且 WIFI 正常运行的用户界面屏幕截图。 如果需要更多信息,请告诉我。 JODY-W377: BT 不工作: 通过 Android 14 升级的 Android 汽车: WiFi 正常: Re: Bluetooth NOT WORKING/Crash on Android 14 Automotive (NXP) with i.MX 95 EVK 19x19 你好,@ni3  感谢您提供的详细信息。 请给我一点时间来检查日志和您的配置。 一旦有任何更新,我会通知你。 顺祝商祺! Christine。 Re: Bluetooth NOT WORKING/Crash on Android 14 Automotive (NXP) with i.MX 95 EVK 19x19 你好,@ni3  您共享的日志显示HAL初始化失败。 你介意试试下面的版本吗: 16.0.0_1.2.0_DEMO_95 你现在使用的是 Alpha/Beta BSP,它可能有一些问题,请尝试一下上述版本,并告诉我你的结果,谢谢。 顺祝商祺! Christine。 Re: Bluetooth NOT WORKING/Crash on Android 14 Automotive (NXP) with i.MX 95 EVK 19x19 你好@Christine_Li, 谢谢你的回复。 我仔细阅读了您的评论,这才意识到您提供的是安卓操作系统镜像,而不是我正在寻找的安卓车载系统镜像。 但我试过这张图片是因为我无法在 Android 16 上启动板。 我尝试了以下方法: 将您提供的链接中的 Android 镜像刷入系统。以下是截图: Androdi 16 DEMO images flash with UUUAndrodi 16 DEMO images flash with UUUAndrodi 16 DEMO images flash with UUUAndrodi 16 DEMO images flash with UUUAndrodi 16 DEMO images flash with UUUAndrodi 16 DEMO images flash with UUUAndrodi 16 DEMO images flash with UUUAndrodi 16 DEMO images flash with UUUAndrodi 16 DEMO images flash with UUUAndroid 16 演示版镜像通过 UUU 刷入 然后,我尝试使用了(可选的)Android Automotive 16 预构建演示镜像。以下是截图: Andrdoi automotive 16 DEMO images flash with UUUAndrdoi automotive 16 DEMO images flash with UUUAndrdoi automotive 16 DEMO images flash with UUUAndrdoi automotive 16 DEMO images flash with UUUAndrdoi automotive 16 DEMO images flash with UUUAndrdoi automotive 16 DEMO images flash with UUUAndrdoi automotive 16 DEMO images flash with UUUAndrdoi automotive 16 DEMO images flash with UUUAndrdoi automotive 16 DEMO images flash with UUUAndroid Automotive 16 演示图片,使用 UUU 刷入 我将 UART 开关设置为开启(表示 JTAG 已关闭) 我有 SW7 开关作为 1001 下载并用于 emmc 启动-1010 以下是屏幕截图: Board imageBoard imageBoard imageBoard imageBoard imageBoard imageBoard imageBoard imageBoard image板图片 到目前为止,Android 16 总是因 LIBUSB 错误而安装失败,所以我不得不切换到 Android 14 测试版镜像。 对于 Android 14-一旦我切换到 UART-在机上开启,蓝牙就会开始工作并默认启用。 现在我担心的是另一件事。 我的蓝牙扬声器无法连接主板,但只显示连接和断开连接的通知。 以下是截图: BT UIBT UIBT UIBT UIBT UIBT UIBT UIBT UIBT UIBT 用户界面 我的 iPhone 虽然能连接并处理通话和媒体内容,但我的蓝牙耳机却无法接收任何数据。 难道在 Android Automotive 中,蓝牙接收功能可以正常工作,而蓝牙发送功能却完全无法工作吗? 有没有办法将蓝牙作为音源?需要进行任何配置更改吗? 先行致谢。 Re: Bluetooth NOT WORKING/Crash on Android 14 Automotive (NXP) with i.MX 95 EVK 19x19 嗨@Christine_Li , 请查看附件中的日志,并告知是否还有其他需要采取的措施。 我还有一些疑问,这是否是由于 Android Automotive 的 BT sink profile 造成的设计限制? 1. 我可以将区域 1 的输出连接到 3.5mm 插孔,将区域 2 的输出连接到 J10 连接的外部扬声器吗?是否需要进行配置和路由更改? 2. 我是否需要使用 Pipewire 来独立定义和路由 3.5mm 插孔和 USB 声卡的音频? 整个目的是为了在 imx95 EVK REV A 板上实现音频多区域功能。如有任何建议或需要更多信息,请告知。 谢谢。 Re: Bluetooth NOT WORKING/Crash on Android 14 Automotive (NXP) with i.MX 95 EVK 19x19 你好,@ni3  请您提供一下连接耳机时失败的 HCI 日志和 logcat 日志? 在 Android 上,您可以通过启用此功能来捕获 HCI 日志。 蓝牙 HCI 窥探日志 在 开发者选项 ,切换一次蓝牙以开始捕获,然后导出日志  adb  。 步骤: 打开 开发者选项 使能够 蓝牙 HCI 窥探日志 切换蓝牙 断断续续地 正在尝试重现该问题。 使用 ADB 命令提取日志文件。 我们来看看连接失败的日志,然后找出连接失败的原因。 顺祝商祺! Christine。 Re: Bluetooth NOT WORKING/Crash on Android 14 Automotive (NXP) with i.MX 95 EVK 19x19 你好,@ni3  我查看了您当前的日志,发现 ======= Line 838: 06-19 07:25:06.044 1294 1486 I BluetoothBondStateMachine: Bond State Change Intent:XX:XX:XX:XX:67:36 BOND_BONDING => BOND_BONDED Line 841: 06-19 07:25:06.077 1181 1357 D CachedBluetoothDevice: updating profiles for XX:XX:XX:XX:67:36 Line 844: 06-19 07:25:06.084 1673 1673 D CachedBluetoothDevice: updating profiles for XX:XX:XX:XX:67:36 Line 853: 06-19 07:25:06.099 1181 1357 D CachedBluetoothDevice: No profiles. Maybe we will connect later for device XX:XX:XX:XX:67:36 Line 868: 06-19 07:25:06.284 1673 1673 D CachedBluetoothDevice: No profiles. Maybe we will connect later for device D7:88:75:A1:67:36 Line 886: 06-19 07:25:06.401 1544 1571 D CachedBluetoothDevice: updating profiles for XX:XX:XX:XX:67:36 Line 888: 06-19 07:25:06.411 1544 1571 D CachedBluetoothDevice: No profiles. Maybe we will connect later for device XX:XX:XX:XX:67:36 Line 903: 06-19 07:25:08.919 1673 1673 D CachedBluetoothDevice: No profiles. Maybe we will connect later for device D7:88:75:A1:67:36 Line 909: 06-19 07:25:09.953 1673 1673 D CachedBluetoothDevice: No profiles. Maybe we will connect later for device D7:88:75:A1:67:36 Line 911: 06-19 07:25:10.014 1294 1426 I btm_acl : packages/modules/Bluetooth/system/stack/acl/btm_acl.cc:205 - disconnect_acl: Disconnecting peer:xx:xx:xx:xx:67:36 reason:HCI_ERR_PEER_USER comment:stack::l2cap::l2c_link::l2c_link_timeout All channels closed Line 914: 06-19 07:25:10.054 1294 1426 I btif_av : packages/modules/Bluetooth/system/btif/src/btif_av.cc:4101 - btif_av_acl_disconnected: btif_av_acl_disconnected: Peer xx:xx:xx:xx:67:36 : ACL Disconnected Line 915: 06-19 07:25:10.054 1294 1426 I btif_av : packages/modules/Bluetooth/system/btif/src/btif_av.cc:1503 - FindOrCreatePeer: BtifAvPeer *BtifAvSink::FindOrCreatePeer(const RawAddress &, tBTA_AV_HNDL): Create peer: peer_address=xx:xx:xx:xx:67:36 bta_handle=0x41 peer_id=0 Line 920: 06-19 07:25:10.054 1294 1426 I btif_av : packages/modules/Bluetooth/system/btif/src/btif_av.cc:1575 - DeleteIdlePeers: DeleteIdlePeers: Deleting idle peer: xx:xx:xx:xx:67:36 bta_handle=0x41 Line 922: 06-19 07:25:10.055 1294 1460 I bt_btif_dm: packages/modules/Bluetooth/system/btif/src/btif_dm.cc:890 - btif_dm_get_connection_state: Acl is not connected to peer:xx:xx:xx:xx:67:36 这意味着它已经成功配对和连接,但由于 SDP 响应“SdpManager: sdpRecordFoundCallback: 搜索实例为 NULL”且没有配置文件,因此 ACL 链接被 Android 主机断开。 为了进一步调试,请提供 HCI 侦听日志。 请问您能帮我提供这些信息吗? 失败的 HCI 日志以及 logcat 日志 你尝试连接耳机时遇到什么问题? 在 Android 上,您可以通过启用此功能来捕获 HCI 日志。 蓝牙 HCI 窥探日志 在 开发者选项 ,切换一次蓝牙以开始捕获,然后导出日志  adb  。 步骤: 打开 开发者选项 使能够 蓝牙 HCI 窥探日志 切换蓝牙 断断续续地 正在尝试重现该问题。 使用 ADB 命令提取日志文件。 同时,您还可以尝试以下 Android 16 自动版本。我怀疑这个问题可能与您的 Android 14 自动版本有关。 i.MX 95 (B0) 19x19 EVK – 采用 Arm Cortex-M7 内核的 EVS 演示镜像 i.MX 95 (B0) 19x19 EVK – 采用 EVS 的 Arm Cortex-A 内核演示图像 顺祝商祺! Christine。 Re: Bluetooth NOT WORKING/Crash on Android 14 Automotive (NXP) with i.MX 95 EVK 19x19 你好, 我在本地使用 I.MX95-EVK 19*19 和 Android 16 自动版本进行了测试: i.MX 95 (B0) 19x19 EVK – 采用 EVS 的 Arm Cortex-A 内核演示图像 它可以按预期运行。 请参考以下截图。 顺祝商祺! Christine。 Re: Bluetooth NOT WORKING/Crash on Android 14 Automotive (NXP) with i.MX 95 EVK 19x19 我尝试了你坚持要用的 Android 16 预构建版本,但是遇到了之前提到的 LIBUSB 错误,导致无法使用 uuu 进行刷机。 Re: Bluetooth NOT WORKING/Crash on Android 14 Automotive (NXP) with i.MX 95 EVK 19x19 你好,@ni3  我查看了你的日志,其中没有包含连接失败的进程。 请您重新启用蓝牙,然后重现问题(连接耳机但用户界面显示已断开连接),并保存日志并与我分享,以便我捕获 HCI 日志。 我不确定为什么你无法将其刷入你的板,但我可以用我分享给你的汽车 Android 16 镜像链接成功刷入。 下面这张截图显示了我这边刷机成功的画面。 你说的也对: 将板载SW7(启动模式)更改为 1001(1-4 位)以进入串行下载模式。 将 SW7 切换回 1010(1-4 位),进入 eMMC 启动模式。 顺祝商祺! Christine。 Re: Bluetooth NOT WORKING/Crash on Android 14 Automotive (NXP) with i.MX 95 EVK 19x19 嗨@Christine_Li , 我尝试了你坚持要用的 Android 16 预构建版本,但是遇到了之前提到的 LIBUSB 错误,导致无法使用 uuu 进行刷机。 我已将 BT HCI 日志以 zip 文件的形式附在这里。 感谢您的支持。 此致问候     Re: Bluetooth NOT WORKING/Crash on Android 14 Automotive (NXP) with i.MX 95 EVK 19x19 你好,@ni3  那是我的错。上次我分享给你的链接是 Android 16 的,不是车载 Android 16 的。 您可以通过以下链接获取汽车版安卓版本: Android Automotive 软件 | NXP 半导体 昨天我分享的链接是专门针对 I.MX95-EVK Automotive Android 16 的。为了方便起见,我把链接再贴在下面。 i.MX 95 (B0) 19x19 EVK – 采用 EVS 的 Arm Cortex-A 内核演示图像 如果仍然存在 LIBUSB 相关问题,请尝试更换另一根 USB Type-C 数据线,或者更换 Windows 电脑上的另一个 USB 端口,或者拔下数据线后重启主板再重新插上。有时我们也会遇到这种 LIBUSB 错误,但更换另一根 USB Type-C 线缆,或者更换 Windows PC 上的另一个 USB 端口,或者拔下主板后再重新插入 PC 端口并重启主板,问题就解决了。 顺祝商祺! Christine。
View full article
S32k322 ADC配置问题 我使用了三个 ADC 通道,配置为使用 BCTU 中断进行电流检测(CTU 模式配置为触发模式),其余 ADC 通道配置为正常链式方法进行电压和温度检测。 在此配置下,电压和温度传感工作正常,但电流传感器检测到的是带有噪声的原始值,因此电流控制中会出现异常尖峰。此外,我们将 Ctu 模式从触发模式改为控制模式,目前传感器通道的原始值噪声有所降低。但是,正常频道中配置的其他频道却无法工作。 我们期望使用单个 ADC 外设 (ADC0) 进行电流检测,采用 BCTU 触发,并采用常规链式方法进行电压和温度检测,而不会出现任何尖峰。 注意:我们的硬件设计有配置(即当前传感器通道配置如下,P7-ADC0、P2 和 P3-ADC1 用于 BCTU 方法读取)。接下来,其余ADC通道配置为正常链式方法(ADC0 - X0、X1、S19 和 ADC1 - P0、P2、P3、P1、S10) S32K1系列的S32SDK S32V 的 S32 SDK Re: S32k322 ADC Configuration Issue 你好@ praveen_ext 我相信你遇到的问题和这个一模一样。 https://community.nxp.com/t5/S32K/Difference-in-ADC-noise-between-BCTU-Control-Mode-and-Trigger/td-p/2384122 从你提供的截图来看,你似乎没有对我之前的回复做任何修改。 我已经告知过你,你的ADC时钟分频器配置存在问题。 另外,你确定你的外部时钟频率是 25MHz 吗? 如果您已经检查了这两点,并且在测试后问题仍然存在,您可以尝试修改 ADC 通道的采样时间。 此选项允许您修改采样时间;您可以尝试增加采样时间并再次进行测试。 Re: S32k322 ADC Configuration Issue 嗨@Senlent , 我也有和你上面提到的同样的问题。 我们的外部振荡器时钟频率为 25 MHz。根据 S32K322 数据手册,ADC 支持高达 80 MHz 的频率,所以我将预分频器配置为 2。我还将采样时间配置为 1.2 微秒,并将 BCTU 模式设置为触发信号模式。但是,当在同一个 ADC0 外设上同时执行 BCTU 方法和普通链方法时,我们仍然会得到噪声数据。是否有变通方法或替代方法可以安全地在同一个 ADC0 外设上运行这两个程序? Re: S32k322 ADC Configuration Issue 你好@ praveen_ext 你们不就是同一家公司吗?你问的也是同样的问题。 https://community.nxp.com/t5/S32K/Difference-in-ADC-noise-between-BCTU-Control-Mode-and-Trigger/mp/2384122#M59412 看来你没有仔细阅读我的回答。 这是我第三次告诉你,你的时钟分频器设置不正确。 对于 160MHz,你需要将它们设置为 2 和 4。 Re: S32k322 ADC Configuration Issue 嗨@Senlent , 我也有和你上面提到的同样的问题。 我们的外部振荡器时钟频率为 25 MHz。根据 S32K322 数据手册,ADC 支持最高 80 MHz 的频率,所以我将预分频器设置为 2。我还将采样时间设置为 1.2 微秒,并将 BCTU 模式设置为触发模式。但是,当在同一个 ADC0 外设上同时执行 BCTU 方法和常规链式方法时,仍然会得到噪声数据。是否有解决方法或替代方法可以安全地在同一个 ADC0 外设上运行这两种方法? 与此同时,我将实例 1 的时钟频率降低到 40 MHz,并将采样时间配置为 1.2 微秒。经过这些改变后,BCTU 的测量值不再显示噪声。 Adc_Raw_Val_Ph3 与传感器连接,两个值仍然处于浮空。 RwaeVal - 配置正常链 Re: S32k322 ADC Configuration Issue 嗨@Senlent , 我们测试了之前的建议,但问题仍然没有解决。经过进一步配置和验证,我已将更新后的测试数据和配置图片附在下面。 请您帮忙指出我们遗漏的地方。 ADC0 ADC1 Re: S32k322 ADC Configuration Issue 你好@ praveen_ext 请分享您的项目,我将在我的环境中进行测试。
View full article
S32K3X4EVB-Q257 开发板上的 K26 固件缺失。 我的 S32K3X4EVB-Q257 开发板上的 OpenSDA 无法工作。我已经安装了 PEmicro 驱动程序,但是我的电脑设备管理器中仍然无法识别 OpenSDA。我确信这是因为缺少 K26 固件。请问您能提供给我那个固件吗? Re: The K26 firmware on the S32K3X4EVB-Q257 development board is missing. 如果更换包含 D+ 和 D- 信号的 USB 电缆后问题仍然存在,我建议联系 PEMicro 技术支持。https://www.pemicro.com/support/index.cfm Re: The K26 firmware on the S32K3X4EVB-Q257 development board is missing. 我的开发板采用 K26 芯片,但 PEFirmwareConfig.exe 无法识别板载调试器。K26的OpenSDA固件肯定缺失。 Re: The K26 firmware on the S32K3X4EVB-Q257 development board is missing. HI 首先,检查 U63 上的 K26 是否焊接牢固。由于 K26 芯片短缺,有一批开发板上没有焊接 K26 芯片,因此必须使用外部调试器。 第二步,下载 USB 多链路资源安装 来自多链路调试探针。不使用 USB 集线器,将 USB 连接到 S32K3X4EVB-Q257 的 J55; PEFirmwareConfig.exe能否识别板载调试器? 此致敬礼, Robin
View full article
The K26 firmware on the S32K3X4EVB-Q257 development board is missing. The OpenSDA on my S32K3X4EVB-Q257 development board is not working. I have already installed the PEmicro driver, but OpenSDA is still not recognized in my computer's Device Manager. I am sure it is because the K26 firmware is missing. Could you please provide me with that firmware? Re: The K26 firmware on the S32K3X4EVB-Q257 development board is missing. If the problem persists after replacing the USB cable with one that includes D+ and D- signals, I recommend contacting PEMicro technical support. https://www.pemicro.com/support/index.cfm Re: The K26 firmware on the S32K3X4EVB-Q257 development board is missing. My development board has a K26 chip, and PEFirmwareConfig.exe cannot recognize the onboard debugger. The K26's OpenSDA firmware is definitely missing. Re: The K26 firmware on the S32K3X4EVB-Q257 development board is missing. Hi First, check if the K26 on the U63 is soldered. There was a batch of development boards that did not have the K26 soldered on them because of a shortage of K26, so an external debugger had to be used. Second, download the  USB Multilink Resources Install  from the Multilink Debug Probes. Without using a USB hub, connect the USB to the J55 of S32K3X4EVB-Q257; can the onboard debugger be recognized in PEFirmwareConfig.exe? Best Regards, Robin
View full article
S32K344 FreeRTOS 示例链接失败 你好; 我刚开始使用 S32K344 EVK(S32K344MINI-EVB),目前使用的是 IDE 3.6.5 和 FreeRTOS 7.0.0。(D2511)包含在软件包管理器创建的 FRDM 汽车软件包中。 我正在尝试通过“S32DS 项目示例”构建一个为 344 提供的示例应用程序,即 FreeRTOS_Toggle_Led_Example_S32K344。 我使用 ConfigTools 更新了代码,但到目前为止,这是我对代码所做的唯一修改。 但这段代码直接运行在链接阶段就失败了: c:/nxp/s32ds.3.6.5/s32ds/build_tools/gcc_v10.2/gcc-10.2-arm32-eabi/bin/../lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/bin/real-ld.exe:./FreeRTOS/Source/portable/GCC/ARM_CM7/r0p1/port.o:在函数“vPortStoreTaskMPUSettings”中: C:\Workspaces-35\FreeRTOS_Toggle_Led_Example_S32K344\Debug_FLASH/../FreeRTOS/Source/portable/GCC/ARM_CM7/r0p1/port.c:1890: 未定义的引用“__FreeRTOS_code_data_start__” c:/nxp/s32ds.3.6.5/s32ds/build_tools/gcc_v10.2/gcc-10.2-arm32-eabi/bin/../lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/bin/real-ld.exe:C:\Workspaces-35\FreeRTOS_Toggle_Led_Example_S32K344\Debug_FLASH/../FreeRTOS/Source/portable/GCC/ARM_CM7/r0p1/port.c:1890: 未定义的引用“__FreeRTOS_code_data_end__” c:/nxp/s32ds.3.6.5/s32ds/build_tools/gcc_v10.2/gcc-10.2-arm32-eabi/bin/../lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/bin/real-ld.exe:./FreeRTOS/Source/portable/GCC/ARM_CM7/r0p1/port.o:在函数“prvSetupMPU”中: C:\Workspaces-35\FreeRTOS_Toggle_Led_Example_S32K344\Debug_FLASH/../FreeRTOS/Source/portable/GCC/ARM_CM7/r0p1/port.c:1723: 未定义的引用“__FreeRTOS_code_data_end__” c:/nxp/s32ds.3.6.5/s32ds/build_tools/gcc_v10.2/gcc-10.2-arm32-eabi/bin/../lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/bin/real-ld.exe:C:\Workspaces-35\FreeRTOS_Toggle_Led_Example_S32K344\Debug_FLASH/../FreeRTOS/Source/portable/GCC/ARM_CM7/r0p1/port.c:1723: 未定义的引用“__FreeRTOS_code_data_start__” 我推测这些是链接器部分,但它们似乎在示例代码、软件包内的 FreeRTOS 文件夹或其他地方都没有定义。 “S32DS 项目示例”是否已过时?或者这个问题有我没注意到的简单解决方法吗? 提前致谢, 乔·希德尔 Re: S32K344 FreeRTOS example fails to link 你好,乔·希德尔, 给您带来的不便,我们深表歉意! 我重现了示例由于 Ld 错误而无法正确构建的问题,他们的解决方案是正确的: 根本原因:S32CT 中默认启用了 MPU。这会导致代码生成器生成支持 MPU 的代码(包括对 FreeRTOS MPU 链接器符号的引用)。但是Toggle_Led_Example_S32K344的链接器脚本 (linker_flash_s32k344.ld) 并未定义这些 MPU 内存区域或其边界符号——这些仅存在于 MPU 特定示例中(例如 FreeRTOS_MPU_Example_S32K389/linker_flash_s32k389.ld)。生成的代码需要 MPU 符号,而链接器脚本则不需要 MPU 符号,这导致了未定义引用错误。 禁用“use mpu”选项后,示例程序可以正确编译: 副作用说明:默认情况下禁用 MPU 意味着需要 MPU 的用户必须在 S32CT 中显式启用它并配置内存区域。 此致敬礼, Robin
View full article
S32k322 ADCの設定に関する問題 私は3つのADCチャネルをBCTU割り込みで電流検知用に設定しています(CTUモードはトリガーモードに設定)。残りのADCチャネルは電圧と温度検知用にノーマルチェーン方式で設定しています。 この構成中、電圧と温度の検知は正常に動作していますが、電流センサがノイズを含む生値を感知しているため、電流制御に異常なスパイクが発生しています。また、CTUモードをトリガーモードからコントロールモードに変更し、現在のセンサーチャネルでは生値ノイズが減少しました。しかし、通常のチャネルで設定された他のチャネルは動作しませんでした。 私たちの期待は、BCTUトリガーを用いた電流検出において単一ADCペリフェラル(ADC0)と、通常の連鎖方法での電圧および温度検出をスパイクなしで処理することです。 注:当社のハードウェアは設定(例:電流センサーチャネルは以下の通り、BCTU方式での読み取り用にP7-ADC0、P2、P3-ADC1)で設計されています。その後、通常のチェーン方法(ADC0 - X0,X1,S19およびADC1-P0,P2,P3,P1,S10)で設定された残りのADCチャネルが続きます S32 SDK for S32K1 S32 SDK for S32V Re: S32k322 ADC Configuration Issue こんにちは、@ praveen_ext これはまさにあなたが直面している問題と同じだと思います。 https://community.nxp.com/t5/S32K/Difference-in-ADC-noise-between-BCTU-Control-Mode-and-Trigger/td-p/2384122 あなたが提供してくれたスクリーンショットを見る限り、私の以前の返信に何も変更を加えていないようですね。 既にお伝えしたとおり、ADCクロック分周器の設定に問題があります。 また、外部クロックが25MHzであることは確かですか? この2点を確認しても問題が解決しない場合は、ADCチャネルのサンプリング時間を変更してみてください。 このオプションではサンプリング時間を調整できます。サンプリング時間を延ばして再度テストしてみるのもいいでしょう。 Re: S32k322 ADC Configuration Issue こんにちは、 @Senlent さん。 私も上記で述べられたのと同じ問題を抱えています。 当社の外部発振器クロックは25MHzです。S32K322のデータシートによると、ADCは最大80MHzをサポートしているので、プリスケーラーは2に設定しています。また、サンプリング時間を1.2マイクロ秒に設定し、BCTUモードをトリガーモードに設定しました。しかし、同じADC0ペリフェラルでBCTU法とノーマルチェーン法を同時に実行しても、依然としてノイズの多いデータが得られます。同じADC0ペリフェラルで両方を安全に動かす回避策や代替方法はありますか? Re: S32k322 ADC Configuration Issue こんにちは、 @Senlent さん。 私も上記で述べられたのと同じ問題を抱えています。 外部発振器のクロックは25MHzです。S32K322のデータシートによると、ADCは最大80MHzをサポートしているので、プリスケーラーは2MHzに設定しています。また、サンプリング時間を1.2マイクロ秒に設定し、BCTUモードをトリガーモードに設定しました。しかし、同じADC0ペリフェラルでBCTU方法とノーマルチェーン方法を同時に実行しても、依然としてノイズの多いデータが得られます。同じADC0ペリフェラルで両方を安全に動かす回避策や代替方法はありますか? その間、インスタンス1のクロック周波数を40MHzに下げ、サンプリング時間を1.2マイクロ秒に設定しました。これらの変更後、BCTUからの測定値にはノイズが見られなくなった。 Adc_Raw_Val_Ph3センサーと一致し、浮動している2つの値を保持しています。 RwaeVal - 通常のチェーンを設定済み Re: S32k322 ADC Configuration Issue こんにちは、@ praveen_ext 同じ会社じゃないの?あなたも全く同じ質問をしていますね。 https://community.nxp.com/t5/S32K/Difference-in-ADC-noise-between-BCTU-Control-Mode-and-Trigger/mp/2384122#M59412 私の回答をよく読んでいないようですね。 時計の分周器の設定が間違っていると、これで3度目ですよ。 160MHzの場合は、2と4に設定する必要があります。 Re: S32k322 ADC Configuration Issue こんにちは、 @Senlent さん。 以前に提案された方法を試してみましたが、問題はまだ解決していません。さらなる設定と検証を行った後、更新されたテストデータと設定イメージを以下に添付します。 我々が見落とした点があれば、ご指摘いただければ幸いです。 ADC0 ADC 1 Re: S32k322 ADC Configuration Issue こんにちは、@ praveen_ext プロジェクトを共有していただければ、こちらでテストしてみます。
View full article
LPC1778 checksum in vector table invalid need recover 你好,我在调试LPC1778的FLM时,调用FLM向0x0-0x400写入数据之后发现数据不正确。现在我的调试器无法连接芯片,我查阅了资料,认为是vector table写入的数据出错了,和我想要写入的数据不一致,导致checksum不合法。资料显示checksum不合法会导致芯片进入ISP模式等待下载程序。 1.我想知道这个状态要怎么恢复? 2.为什么FLM写0x0-0x400会引发问题,我尝试了写0x400-0x7FFFF都是正常的。翻看FLM源码,其中有个SET_VALID_CODE的参数会自动修改校验和,是不是这部分有什么问题? Re: LPC1778 checksum in vector table invalid need recover Hi @BianHaopeng1  0x0000–0x0400 不只是普通 flash 数据区,它包含启动向量表、0x1C 的 valid-code checksum,以及 0x2FC 的 CRP 配置字 。checksum 错会让 ROM bootloader 判定 user code invalid 并进入 ISP;如果 0x2FC 被误写成 CRP pattern,还会导致 JTAG/SWD 访问受限甚至不可恢复到普通调试状态。 您可以优先按 ISP 恢复 处理: 拉低 P2[10],然后复位芯片 ,bootloader 接管并进入 ISP mode。 通过 UART0:P0[2] / P0[3] 连接 FlashMagic 或等价 ISP 工具,执行全片擦除或重新下载一个有效镜像。 如果只是 checksum 不合法 ,进入 ISP 后应能擦除并恢复;如果误写了 CRP1/CRP2 ,JTAG 会被禁用,但 ISP 仍有受限恢复路径;如果误写成 CRP3 ,文档说明它会完全禁止 JTAG 和 ISP,这种情况下基本不能再通过常规 ISP/JTAG 恢复。 BR Harry
View full article
TJA1050,CAN总线丢失 你好, 我们有一款使用TJA1050的产品,其原理图如下。 我们发现测试过程中存在高频 CAN 丢包。操作过程中丢失了一两帧。 公交车载客率约为 16%。 我已在下方附上硬件原理图和CAN总线丢包数据。 问题 1. CAN 总线丢失的可能根本原因是什么? 2. 硬件原理图是否存在任何问题? 3. 下一步我可以采取什么行动 如有必要,我可以进行更多测试或提供更多信息。感谢您的支持。 Re: TJA1050, CAN loss 1:如果您的板不在总线末端,建议先断开 DR6/DR7 连接,或将其更换为可选的跳线。 2:为了测试目的,请移除DR8/DR9/DD1/DD2 3:隔离器SI8421的数据速率和传播延迟是否满足CAN位时序裕量。
View full article
例tflm_cifar10_cm33_core0に tflm_label_image_ext_mem のメモリ設定を使ってもいいですか? 良い1日を。 現在はEIQ例tflm_cifar10_cm33_core0 を使ってNPUモードでモデル化しています。モデルデータはSRAMに保存されます。推論時間は良好です。そして、こちらがメモリ構成です。このeiq例を5クラスのモデル用に修正しました https://docs.nxp.com/bundle/AN14700/page/topics/eiq_enablement.html しかし今はモデルが大きくなり、NPU tfliteモデルを外部メモリ上で特定したいと考えています。モデルデータはFlashに格納されています。そして、こちらは eiq の例tflm_label_image_ext_memの設定です。 https://docs.nxp.com/bundle/AN14700/page/topics/imx_rt700_system_details.html 私の目標は、ソースコードをtflm_cifar10_cm33_core0から保持したい(tflm_label_image_ext_memで新しいソースコードを作成したくはありません)が、NPU tfliteモデルを外部メモリ上で特定したい ということです。 私の解決策は、上記の画像のように、メモリ構成をSRAMから外部メモリに変更することだけです。それで合っていますか?あるいは、他の設定も変更する必要があるのかもしれません。 Re: Can I use memory config from tflm_label_image_ext_mem for the example tflm_cifar10_cm33_core0? こんにちは、 @nnxxpp さん。 ご説明ありがとうございます。 「--use-sequencer」を外部メモリモデルの実行と組み合わせて使用しないでください。 「tflm_label_image_ext_mem」例では、モデルが外部メモリから実行されるため、「--fetch-constants-to-sram」を残し、「--use-sequencer」は削除してください。 モデルを以下のように変換してみてください。 ./Neutronコンバータ \ --入力 QAT.tflite\ --出力 QAT_NPU.tflite\ --target imxrt700 \ --ヘッダーファイル出力をダンプする --dump-header-file-input \ --定数をSRAMに取得   お役に立てれば幸いです。 よろしくお願いいたします。 5月 Re: Can I use memory config from tflm_label_image_ext_mem for the example tflm_cifar10_cm33_core0? @mayliu1 こんにちは。これは新たな問題です(まだ解決されていません)。この問題は、外部メモリ(SRAMではなく)でのNPU tfliteモデルのデプロイに関連しています。 現在はSDKs of MIMRT700のeiqサンプルtflm_label_image_ext_memを使っています。この例はCANうまく実行できます。この例はモデル mobilenetv1 で、サイズ=224、クラス数=1000です。 サンプルのモデルを自分のモデル(同じ分類モデル)に置き換えようとしましたが、クラス数を変えました。 ラベルを変えました。(レーベル名の場合)、 サンプルのモデルを自分のモデルに置き換え、名前は同じまま使っています model_data.h ファイル内のmodel_data_lenも変更しました。 ビルドはできましたが、デバッグを実行するとプログラムは「静的プロセッシング」で停止し、結果が出ませんでした。 上の画像には 「モデルハンドルを保存できません。完了したらneutronModelUnprepare()を呼び出せ」というメッセージがありますが、NXPの従業員の一人はエラーではないと言っていました。https://community.nxp.com/t5/eIQ-Machine-Learning-Software/eIQ-FAQ/ta-p/1099741 NPUモデルが外部メモリ上にあるCASE、拡張子.tflite モデルを使います(モデルがSRAM上で位置する場合はヘッダーファイル.hではありません)。 モデルをフラグで--fetch-constants-to-sramに変換して、外部メモリ上のNPUモデルをこのように位置づけています ./Neutronコンバータ \ --input QAT.tflite \ --output QAT_NPU.tflite \ --target imxrt700 \ --ヘッダーファイル出力をダンプする --dump-header-file-input \ --use-sequencer \ --定数をSRAMに取得   NXPから設定や設定(SOの変更方法や場所)のチュートリアルが見当たらなかったので、上記の手順で試しましたがうまくいきませんでした。 手伝ってもらえますか?ありがとう。 Re: Can I use memory config from tflm_label_image_ext_mem for the example tflm_cifar10_cm33_core0? こんにちは@nnxxpp さん、 私たちの製品にご関心を寄せ、コミュニティをご利用いただき、本当にありがとうございます。 返信が遅くなり申し訳ありません。 前回の投稿で、問題はすでに解決済みだと書かれていたことに気づきました。全てが正常に機能していると聞いて安心しました。 ご理解いただき、改めて感謝申し上げます。 よろしくお願いいたします。 5月 Re: Can I use memory config from tflm_label_image_ext_mem for the example tflm_cifar10_cm33_core0? 応援してくれて本当にありがとうございます。正しく動作しました
View full article
S32K344 FreeRTOS example fails to link Hello; I'm just starting out with the S32K344 EVK (S32K344MINI-EVB) and am using the IDE 3.6.5 with FreeRTOS 7.0.0 (D2511) that came in the FRDM automotive bundle created by the package manager. I'm trying to build one of the provided sample applications for the 344, via the "S32DS Project from Example", the FreeRTOS_Toggle_Led_Example_S32K344.. I've use the ConfigTools to Update Code, but so far that's the only modification to the code that I've made. But out of the box the code fails at the link stage: c:/nxp/s32ds.3.6.5/s32ds/build_tools/gcc_v10.2/gcc-10.2-arm32-eabi/bin/../lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/bin/real-ld.exe: ./FreeRTOS/Source/portable/GCC/ARM_CM7/r0p1/port.o: in function `vPortStoreTaskMPUSettings': C:\Workspaces-35\FreeRTOS_Toggle_Led_Example_S32K344\Debug_FLASH/../FreeRTOS/Source/portable/GCC/ARM_CM7/r0p1/port.c:1890: undefined reference to `__FreeRTOS_code_data_start__' c:/nxp/s32ds.3.6.5/s32ds/build_tools/gcc_v10.2/gcc-10.2-arm32-eabi/bin/../lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/bin/real-ld.exe: C:\Workspaces-35\FreeRTOS_Toggle_Led_Example_S32K344\Debug_FLASH/../FreeRTOS/Source/portable/GCC/ARM_CM7/r0p1/port.c:1890: undefined reference to `__FreeRTOS_code_data_end__' c:/nxp/s32ds.3.6.5/s32ds/build_tools/gcc_v10.2/gcc-10.2-arm32-eabi/bin/../lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/bin/real-ld.exe: ./FreeRTOS/Source/portable/GCC/ARM_CM7/r0p1/port.o: in function `prvSetupMPU': C:\Workspaces-35\FreeRTOS_Toggle_Led_Example_S32K344\Debug_FLASH/../FreeRTOS/Source/portable/GCC/ARM_CM7/r0p1/port.c:1723: undefined reference to `__FreeRTOS_code_data_end__' c:/nxp/s32ds.3.6.5/s32ds/build_tools/gcc_v10.2/gcc-10.2-arm32-eabi/bin/../lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/bin/real-ld.exe: C:\Workspaces-35\FreeRTOS_Toggle_Led_Example_S32K344\Debug_FLASH/../FreeRTOS/Source/portable/GCC/ARM_CM7/r0p1/port.c:1723: undefined reference to `__FreeRTOS_code_data_start__' I assume these are linker sections, but they do not appear to be defined anywhere inside either the sample code, the FreeRTOS folder inside the package, or elsewhere. Are the "S32DS Project from Example" sample projects outdated? Or is there a simple fix to this issue that I'm missing? Thanks in advance, Joe Shidle Re: S32K344 FreeRTOS example fails to link Hi Joe Shidle, Sorry for the inconvenience we bring you! I was able to reproduce the issue where example does not build correctly because of Ld errors, and their solution is correct: Root cause: MPU is enabled by default in the S32CT. This causes code generator to emit MPU-aware code (including references to the FreeRTOS MPU linker symbols). However, the linker script for the Toggle_Led_Example_S32K344 (linker_flash_s32k344.ld) does not define these MPU memory regions or their boundary symbols — those are only present in MPU-specific examples (e.g., FreeRTOS_MPU_Example_S32K389/linker_flash_s32k389.ld). The mismatch between the generated code expecting MPU symbols and the non-MPU linker script causes the undefined reference errors. Disabling 'use mpu' makes the example compile correctly: Side effect note: Disabling MPU by default means users who need MPU must explicitly enable it in S32CT and configure the memory regions. Best Regards, Robin
View full article
Android 14 Automotive (NXP) と i.MX 95 EVK 19x19 で Bluetooth が動作しない/クラッシュする ちょっと、そこ、 公式ウェブサイトAAUG_14.0.0_2.1.0_2024-10-02_14-28.pdfに記載されているドキュメントに従って、Linuxサーバー上でAndroid 14 Automotive NXPコードを正常にクローンおよびビルドしました。 このコードは、以下のリンクからダウンロードしました: https://www.nxp.com/pages/alpha-beta-bsps-for-microprocessors:IMXPRERELEASES (Android オートモーティブ 14.0.0_2.1.0(L6.6.23 BSP) i.MX95 19x19 EVK Alphaをサポート リンク: https://www.nxp.com/webapp/Download?colCode=automotive-14.0.0_2.1.0_image_95evk_car2&appType=license ) オートモーティブ向けのビルドターゲットの両方で試してみました。 1. evk_95_car-trunk_staging-userdebug 2. evk_95_car2-trunk_staging-userdebug 基板への書き込み後、処理は正常に完了し、Android 14 オートモーティブのUIが表示されるようになりました。 フラッシュに使用するコマンド: sudo ./uuu_imx_android_flash.sh -f imx95 -e -t emmc しかし、UI で Bluetooth を有効にしようとすると、 adb logcatでクラッシュが発生します。Bluetoothが有効になりません。 ログファイル(bt.logとbt-on.log)を添付します。 役員情報: i.MX 95 19x19 EVK リファレンスボード。 私はWiFiとBTにJODY-W377-00B u-bloxチップを使用しています。 これは想定される動作なのか、それとも既知の問題なのか、ご確認いただけますでしょうか? 追加情報が必要な場合はお知らせください。現在ブロックされており、 BTが機能している場合にのみ処理が必要です。 よろしくお願いします。 Re: Bluetooth NOT WORKING/Crash on Android 14 Automotive (NXP) with i.MX 95 EVK 19x19 Android Automotive OSのインストール成功、Bluetoothが動作しない、Wi-Fiが動作することを示すUIスクリーンショットとして、ボードに関する追加情報を追加します。 さらに情報が必要な場合はお知らせください。 JODY-W377: BTが動作しません: Android オートモーティブがAndroid 14にアップデートされました。 Wi-Fi動作状況: Re: Bluetooth NOT WORKING/Crash on Android 14 Automotive (NXP) with i.MX 95 EVK 19x19 こんにちは、 @ni3 詳しい情報ありがとうございます。 ログと設定を確認するのに少しお時間をください。 何か新しい情報があれば、お知らせします。 よろしくお願いいたします。 Christine。 Re: Bluetooth NOT WORKING/Crash on Android 14 Automotive (NXP) with i.MX 95 EVK 19x19 こんにちは、 @ni3 共有されたログによると、HALの初期化に失敗しているようです。 下記のリリース版をお試しいただけますでしょうか? 16.0.0_1.2.0_DEMO_95 現在お使いのBSPはアルファ版/ベータ版であり、何らかの問題がある可能性があります。上記のリリース版をお試しいただき、結果をお知らせください。よろしくお願いいたします。 よろしくお願いいたします。 Christine。 Re: Bluetooth NOT WORKING/Crash on Android 14 Automotive (NXP) with i.MX 95 EVK 19x19 こんにちは、 @Christine_Li さん。 ご返信ありがとうございます。 あなたのコメントを拝見したところ、私が探しているAndroid Automotiveのイメージではなく、Android OSのイメージを提供していただいたことに気づきました。 Android 16ではボードを起動できないため、イメージを試してみました。 私が試したこと: 提供されたリンクからAndroidイメージをフラッシュしてください。スクリーンショットはこちらです。 Androdi 16 DEMO images flash with UUUAndrodi 16 DEMO images flash with UUUAndrodi 16 DEMO images flash with UUUAndrodi 16 DEMO images flash with UUUAndrodi 16 DEMO images flash with UUUAndrodi 16 DEMO images flash with UUUAndrodi 16 DEMO images flash with UUUAndrodi 16 DEMO images flash with UUUAndrodi 16 DEMO images flash with UUUAndroid 16 デモイメージが UUU でフラッシュ 次に、(オプションとして)Android Automotive 16のプリビルド済みデモイメージを試してみました。スクリーンショットはこちらです。 Andrdoi automotive 16 DEMO images flash with UUUAndrdoi automotive 16 DEMO images flash with UUUAndrdoi automotive 16 DEMO images flash with UUUAndrdoi automotive 16 DEMO images flash with UUUAndrdoi automotive 16 DEMO images flash with UUUAndrdoi automotive 16 DEMO images flash with UUUAndrdoi automotive 16 DEMO images flash with UUUAndrdoi automotive 16 DEMO images flash with UUUAndrdoi automotive 16 DEMO images flash with UUUAndrdoi オートモーティブ 16 デモ画像が UUU と共にフラッシュ UARTスイッチはONに設定されています(つまり、JTAGはOFFです)。 ダウンロード用スイッチとしてSW7(1001)、eMMCブート用スイッチとして1010を持っています。 スクリーンショットはこちらです。 Board imageBoard imageBoard imageBoard imageBoard imageBoard imageBoard imageBoard imageBoard imageボードイメージ これまで、Android 16は常にLIBUSBエラーで失敗し、Android 14アルファ版イメージに切り替える必要がありました。 Android 14の場合、搭載のUARTをONに切り替えると、Bluetoothが動作し、デフォルトで有効になりました。 今、私が懸念しているのは別のことです。 私が持っているBluetoothスピーカーはボードに接続されず、コネクテッドと切断済みの通知が表示されるだけです。 スクリーンショットはこちらです。 BT UIBT UIBT UIBT UIBT UIBT UIBT UIBT UIBT UIBT UI 私のiPhoneは通話やメディアの送受信は正常に行えますが、Bluetoothヘッドホンのスピーカーはデータを受信しません。 Android Automotiveでは、BTシンクは動作するが、ソースは全く動作しないということでしょうか? Bluetoothを音源として使用する方法はありますか?設定変更は必要ですか? よろしくお願いいたします。 Re: Bluetooth NOT WORKING/Crash on Android 14 Automotive (NXP) with i.MX 95 EVK 19x19 こんにちは、 @Christine_Li さん。 ログファイルを添付しましたので、他に何か対応が必要な点があればお知らせください。 実はこれがAndroid自動車用のBTのシンクプロファイルによる設計上の制限なのか、他にもいくつか疑問があります。 1. ゾーン1の出力を3.5mmジャックに、ゾーン2の出力をJ10接続の外部スピーカーに配線できますか?設定やルーティングの変更が必要ですか? 2. 3.5mmジャックとUSBサウンドカードを使って、Pipewireを使って独立してオーディオを定義・ルーティングする必要がありますか? 目的はimx95 EVK REV Aボード上でオーディオマルチゾーンの実装を実現することです。ご提案があればお聞かせください。また、追加情報が必要な場合はお知らせください。 ありがとうございます。 Re: Bluetooth NOT WORKING/Crash on Android 14 Automotive (NXP) with i.MX 95 EVK 19x19 こんにちは、 @ni3 ヘッドセットに接続しようとした際の 失敗したHCIログとlogcat ログを教えてもらえますか? Androidでは、 HCIのスヌープログ Bluetooth in Developer Options を有効にし、Bluetoothを一度切り替えてキャプチャを開始し、その後ログをエクスポートすることで adb をキャプチャできます。 手順: 開ける 開発者向けオプション 有効にする Bluetooth HCIスヌープログ Bluetoothの切り替え 一度オンオフを繰り返して 問題の再現を試みています。 ADBコマンドを使用してログファイルを取得します。 接続失敗ログを確認して、接続失敗の原因を探してみましょう。 よろしくお願いいたします。 Christine。 Re: Bluetooth NOT WORKING/Crash on Android 14 Automotive (NXP) with i.MX 95 EVK 19x19 こんにちは、 @ni3 現在のログを確認したところ、 ======= Line 838: 06-19 07:25:06.044 1294 1486 I BluetoothBondStateMachine: Bond State Change Intent:XX:XX:XX:XX:67:36 BOND_BONDING => BOND_BONDED Line 841: 06-19 07:25:06.077 1181 1357 D CachedBluetoothDevice: updating profiles for XX:XX:XX:XX:67:36 Line 844: 06-19 07:25:06.084 1673 1673 D CachedBluetoothDevice: updating profiles for XX:XX:XX:XX:67:36 Line 853: 06-19 07:25:06.099 1181 1357 D CachedBluetoothDevice: No profiles. Maybe we will connect later for device XX:XX:XX:XX:67:36 Line 868: 06-19 07:25:06.284 1673 1673 D CachedBluetoothDevice: No profiles. Maybe we will connect later for device D7:88:75:A1:67:36 Line 886: 06-19 07:25:06.401 1544 1571 D CachedBluetoothDevice: updating profiles for XX:XX:XX:XX:67:36 Line 888: 06-19 07:25:06.411 1544 1571 D CachedBluetoothDevice: No profiles. Maybe we will connect later for device XX:XX:XX:XX:67:36 Line 903: 06-19 07:25:08.919 1673 1673 D CachedBluetoothDevice: No profiles. Maybe we will connect later for device D7:88:75:A1:67:36 Line 909: 06-19 07:25:09.953 1673 1673 D CachedBluetoothDevice: No profiles. Maybe we will connect later for device D7:88:75:A1:67:36 Line 911: 06-19 07:25:10.014 1294 1426 I btm_acl : packages/modules/Bluetooth/system/stack/acl/btm_acl.cc:205 - disconnect_acl: Disconnecting peer:xx:xx:xx:xx:67:36 reason:HCI_ERR_PEER_USER comment:stack::l2cap::l2c_link::l2c_link_timeout All channels closed Line 914: 06-19 07:25:10.054 1294 1426 I btif_av : packages/modules/Bluetooth/system/btif/src/btif_av.cc:4101 - btif_av_acl_disconnected: btif_av_acl_disconnected: Peer xx:xx:xx:xx:67:36 : ACL Disconnected Line 915: 06-19 07:25:10.054 1294 1426 I btif_av : packages/modules/Bluetooth/system/btif/src/btif_av.cc:1503 - FindOrCreatePeer: BtifAvPeer *BtifAvSink::FindOrCreatePeer(const RawAddress &, tBTA_AV_HNDL): Create peer: peer_address=xx:xx:xx:xx:67:36 bta_handle=0x41 peer_id=0 Line 920: 06-19 07:25:10.054 1294 1426 I btif_av : packages/modules/Bluetooth/system/btif/src/btif_av.cc:1575 - DeleteIdlePeers: DeleteIdlePeers: Deleting idle peer: xx:xx:xx:xx:67:36 bta_handle=0x41 Line 922: 06-19 07:25:10.055 1294 1460 I bt_btif_dm: packages/modules/Bluetooth/system/btif/src/btif_dm.cc:890 - btif_dm_get_connection_state: Acl is not connected to peer:xx:xx:xx:xx:67:36 これはすでにペアリングと接続が成功しているのに、SDPが「SdpManager: sdpRecordFoundCallback: Search instance is NULL」と応答し、プロファイルが存在しないため、AndroidホストがACLリンクを切断していることを意味します。 さらにデバッグを進めるため、HCIスヌープログを提供していただけますでしょうか。 ヘッドセットに接続しようとする際に 、失敗したHCIログとlogcat ログ 教えてもらえますか? Androidでは、 HCIのスヌープログ Bluetooth in Developer Options を有効にし、Bluetoothを一度切り替えてキャプチャを開始し、その後ログをエクスポートすることで adb をキャプチャできます。 手順: 開ける 開発者向けオプション 有効にする Bluetooth HCIスヌープログ Bluetoothの切り替え 一度オンオフを繰り返して 問題の再現を試みています。 ADBコマンドを使用してログファイルを取得します。 また、Android 16 車載のリリースも試すことができます。この問題はAndroid 14のオートリリースに関連しているのではないかと疑っています。 i.MX 95 (B0) 19x19 EVK – Arm Cortex-M7コア内のEVSを用いたデモ画像 i.MX 95 (B0) 19x19 EVK – Arm Cortex-AコアにおけるEVSを用いたデモ画像 よろしくお願いいたします。 Christine。 Re: Bluetooth NOT WORKING/Crash on Android 14 Automotive (NXP) with i.MX 95 EVK 19x19 あなたが勧めていたAndroid 16のプリビルドを試しましたが、先ほど述べたLIBUSBエラーで、uuuでフラッシュをブロックしています。 Re: Bluetooth NOT WORKING/Crash on Android 14 Automotive (NXP) with i.MX 95 EVK 19x19 こんにちは、 I.MX95-EVK 19*19とAndroid 16 車載リリースでローカルでテストしました: i.MX 95 (B0) 19x19 EVK – Arm Cortex-AコアにおけるEVSを用いたデモ画像 期待通りに動作します。 参考までに、下記のスクリーンショットをご覧ください。 よろしくお願いいたします。 Christine。 Re: Bluetooth NOT WORKING/Crash on Android 14 Automotive (NXP) with i.MX 95 EVK 19x19 こんにちは、 @ni3 それは私の間違いだった。前回共有するリンクはAndroid 16向けで、オートモーティブ Android 16向けではありません。 また、以下のリンクからオートモーティブAndroid版のリリースを入手できます: Android オートモーティブ向けソフトウェア | NXP Semiconductors 昨日、リンクは特にI.MX95-EVK オートモーティブのAndroid 16向けだとお伝えしました。参考までに、リンクを下記に再度貼り付けておきます。 i.MX 95 (B0) 19x19 EVK – Arm Cortex-AコアにおけるEVSを用いたデモ画像 もしLIBUSB関連の問題がまだ続く場合は、別のUSB Type-Cケーブルを交換するか、Windows PCのUSBポートを交換するか、電源を抜いてからボードを再起動して再度接続してみてください。時々このようなLIBUSBエラーも発生しますが、別のUSB Type-Cケーブルを交換したり、Windows PCのUSBポートを交換したり、電源を抜いてからボードを再起動してからPCポートに差し直すと問題は解決します。 よろしくお願いいたします。 Christine。 Re: Bluetooth NOT WORKING/Crash on Android 14 Automotive (NXP) with i.MX 95 EVK 19x19 こんにちは、 @ni3 ログを確認しましたが、接続失敗のプロセスは含まれていませんでした。 Bluetoothを再度有効にしてから問題(ヘッドセットを接続するがUIで切断表示)を再現し、ログを保存して共有する方法を教えてもらえますか? なぜボードにフラッシュできないのか分かりませんが、私が共有したオートモーティブ Android 16画像のリンクで正常にフラッシュできます。 以下は、フラッシュが正常に完了したことを示す、私の側の画面のスクリーンショットです。 そして、以下の点についてもあなたは正しいです。 シリアルダウンロードモードに入るには、ボードのSW7(ブートモード)を1001(1~4ビット)に変更してください。 SW7を変更してボードを1010(1-4ビットの形)に戻し、eMMCブートモードに入ることができます。 よろしくお願いいたします。 Christine。 Re: Bluetooth NOT WORKING/Crash on Android 14 Automotive (NXP) with i.MX 95 EVK 19x19 こんにちは@Christine_Li あなたが勧めていたAndroid 16のプリビルドを試しましたが、先ほど述べたLIBUSBエラーで、uuuでフラッシュをブロックしています。 BT HCIのログをzipファイルとして添付します。 ごサポートありがとうございます。 よろしくお願いします。    
View full article
我能否将 tflm_label_image_ext_mem 中的内存配置用于示例 tflm_cifar10_cm33_core0? 祝你今天过得愉快。 目前我正在使用 eIQ 示例tflm_cifar10_cm33_core0在 NPU 模式下进行建模。模型数据保存在SRAM中。推理时间不错。以下是内存配置。我修改了这个 eIQ 示例,使其适用于我的 5 类模型。 https://docs.nxp.com/bundle/AN14700/page/topics/eiq_enablement.html 但现在我的模型更大了,我想把 NPU tflite 模型放在外部存储器上。模型数据位于闪存中。以下是来自 eiq 示例tflm_label_image_ext_mem的配置 https://docs.nxp.com/bundle/AN14700/page/topics/imx_rt700_system_details.html 我的目标是,我想保留tflm_cifar10_cm33_core0的源代码(我不想使用tflm_label_image_ext_mem 创建新的源代码),但我想将我的 NPU tflite 模型放在外部存储器上。 我的解决方法是,仅将内存配置从 SRAM 更改为外部存储器,如上图所示。是这样吗?或者我还需要更改其他配置。 Re: Can I use memory config from tflm_label_image_ext_mem for the example tflm_cifar10_cm33_core0? 嗨@nnxxpp , 谢谢你的解释。 请勿将 `--use-sequencer` 与外部存储器模型执行一起使用。 对于 `tflm_label_image_ext_mem` 示例,请保留 `--fetch-constants-to-sram` 并删除 `--use-sequencer`,因为该模型是从外部存储器执行的。 请尝试按如下方式转换模型: ./neutron-变流器 \ --输入 QAT.tflite\ --输出 QAT_NPU.tflite\ --target imxrt700 \ --dump-header-file-output \ --dump-header-file-input \ --fetch-constants-to-sram   希望对你有帮助 顺祝商祺! 5月 Re: Can I use memory config from tflm_label_image_ext_mem for the example tflm_cifar10_cm33_core0? @mayliu1 你好。这是一个新问题(尚未解决)。这个问题与将 NPU tflite 模型部署到外部存储器(而不是 SRAM)有关。 目前,我正在使用 MIMRT700 SDK 中的 eiq 示例tflm_label_image_ext_mem 。我成功运行了这个示例。此示例适用于模型 mobilenetv1,大小=224,类别数=1000。 我尝试用我的模型(相同的分类模型)替换样本的模型,但类别数量不同。 我修改了 labels.h 文件。(用于标签名称) 我用自己的模型替换了示例中的模型,并保留了相同的名称。 我还修改了 model_data.h 文件中的model_data_len 参数。 我可以版本成功,但是运行调试程序时,程序在“静态处理”阶段停止,没有给出结果。 上图中显示一条消息“无法保存模型句柄,完成后请调用 neutronModelUnprepare()”,但一位恩智浦员工表示这不是错误。https ://community.nxp.com/t5/eIQ-Machine-Learning-Software/eIQ-FAQ/ta-p/1099741 我看到,如果 NPU 模型位于外部存储器上,我们使用扩展名为 .tflite 的模型。(如果模型位于 SRAM 上,则不是头文件 .h)。 我使用 ` --fetch-constants-to-sram`标志转换模型,以便将 NPU 模型定位到外部存储器上,如下所示。 ./neutron-变流器 \ --输入QAT.tflite \ --输出QAT_NPU.tflite \ --target imxrt700 \ --dump-header-file-output \ --dump-header-file-input \ --use-sequencer \ --fetch-constants-to-sram   由于我没有看到 NXP 提供的任何设置和配置教程(在哪里以及如何更改源代码),所以我尝试了上述步骤,但没有成功。 你能帮帮我吗?谢谢。 Re: Can I use memory config from tflm_label_image_ext_mem for the example tflm_cifar10_cm33_core0? 嗨@nnxxpp , 非常感谢您对我们产品的关注以及对我们社区的使用。 很抱歉回复晚了。 我注意到您在之前的帖子中提到这个问题已经解决了。很高兴听到一切都恢复正常了。 再次感谢您的理解。 顺祝商祺! 5月 Re: Can I use memory config from tflm_label_image_ext_mem for the example tflm_cifar10_cm33_core0? 非常感谢你的支持。它运行正常。
View full article
Can I use memory config from tflm_label_image_ext_mem for the example tflm_cifar10_cm33_core0? Have a nice day. Currently I am using eiq example tflm_cifar10_cm33_core0 to model on NPU mode. Modeldata is saved in SRAM. Inference time is good. And here is memory configuration. I modified this eiq example for my models with 5 classes https://docs.nxp.com/bundle/AN14700/page/topics/eiq_enablement.html But now my model is larger and I want to locate NPU tflite model on external memory. Modeldata is located in Flash. And here is configuration from eiq example tflm_label_image_ext_mem https://docs.nxp.com/bundle/AN14700/page/topics/imx_rt700_system_details.html My target is that, I want to keep source code from tflm_cifar10_cm33_core0 (I dont want to create new source code with tflm_label_image_ext_mem), but I want to locate my NPU tflite model on external memory.  My solution that I will change only memory configuration from SRAM to external memory as above images. Is that right? Or I need to change more other configurations. Re: Can I use memory config from tflm_label_image_ext_mem for the example tflm_cifar10_cm33_core0? Hi @nnxxpp , Thanks for your clarification. Please do not use `--use-sequencer` together with external-memory model execution. For the `tflm_label_image_ext_mem` example, please keep `--fetch-constants-to-sram` and remove `--use-sequencer`, since the model is executed from external memory. Please try converting the model as below: ./neutron-converter \ --input QAT.tflite \ --output QAT_NPU.tflite \ --target imxrt700 \ --dump-header-file-output \ --dump-header-file-input \ --fetch-constants-to-sram   Wish it helps you Best Regards May Re: Can I use memory config from tflm_label_image_ext_mem for the example tflm_cifar10_cm33_core0? @mayliu1  Hi. This is new issue (not resolved yet). This issue is related to deploy NPU tflite model on external memory (not on SRAM). Currently, I am using eiq sample tflm_label_image_ext_mem from SDK of MIMRT700. I could successfully run this example. This example is for model mobilenetv1, size=224 and number of classes=1000. I tried to replace the sample's model by my model (same classification model) but with different number of classes. I have changed labels.h (for label names),  I replaced the sample's model by my model and I keep the same name I also change model_data_len in the file model_data.h I could build, but when running debug, the program is stopping at "Static processing" and did not give result. There is an message in the above image Unable to save model handle, call neutronModelUnprepare() when done but one NXP's employee said that it is not error. https://community.nxp.com/t5/eIQ-Machine-Learning-Software/eIQ-FAQ/ta-p/1099741 I see that in the case NPU model is located on external memory, we use model with extension .tflite (not header file .h in the case we locate model on SRAM). I convert model with flag --fetch-constants-to-sram to locate NPU model on external memory like this ./neutron-converter \ --input QAT.tflite \ --output QAT_NPU.tflite \ --target imxrt700 \ --dump-header-file-output \ --dump-header-file-input \ --use-sequencer \ --fetch-constants-to-sram   Because I did not see any tutorial from NXP to set up and configs (where and how to change source code), so I tried with the above steps, but it did not work. Could you help me? Thank you. Re: Can I use memory config from tflm_label_image_ext_mem for the example tflm_cifar10_cm33_core0? Hi @nnxxpp , Thank you so much for your interest in our products and for using our community. I apologize for the delayed response. I noticed that in your previous post, you mentioned that the issue has already been resolved. I’m glad to hear that everything is working now. Thank you again for your understanding. Best regards, May Re: Can I use memory config from tflm_label_image_ext_mem for the example tflm_cifar10_cm33_core0? Thank you so much for supporting me. It worked correctly
View full article
S32K3X4EVB-Q257開発ボードのK26ファームウェアは存在しません。 私のS32K3X4EVB-Q257開発ボードのOpenSDAが動作しません。すでにPEmicroドライバーをインストールしましたが、私のパソコンのデバイスマネージャーではOpenSDAが認識されません。K26のファームウェアが欠落していることが原因だと確信しています。そのファームウェアを教えてもらえますか? Re: The K26 firmware on the S32K3X4EVB-Q257 development board is missing. D+やD-信号付きのUSBケーブルに交換しても問題が続く場合は、PEMicroの技術サポートに連絡することをお勧めします。https://www.pemicro.com/support/index.cfm Re: The K26 firmware on the S32K3X4EVB-Q257 development board is missing. 私の開発ボードにはK26チップが搭載されており、オンボードのデバッガを認識できませんPEFirmwareConfig.exe。K26のOpenSDAファームウェアが明らかに欠落している。 Re: The K26 firmware on the S32K3X4EVB-Q257 development board is missing. ハイ まず、U63のK26がはんだ付けされているかどうかを確認してください。K26がはんだ付けされていない開発ボードの一括があり、K26が不足していたため、外部デバッガを使わざるを得ませんでした。 次に、 USBマルチリンクリソースのインストール マルチリンクデバッグプローブから。USBハブを使わずに、USBをS32K3X4EVB-Q257のJ55に接続します。オンボードデバッガは PEFirmwareConfig.exeで認識できますか? よろしくお願いいたします ロビン
View full article
S32K344 FreeRTOS サンプルはリンクに失敗します こんにちは; 私はS32K344 EVK(S32K344MINI-EVB)を始めたばかりで、IDE 3.6.5とFreeRTOS 7.0.0を使っています(D2511)は、パッケージマネージャーによって作成されたFRDM自動車バンドルに含まれていました。 私は「S32DS Project from Example」という344用のサンプルアプリケーションの一つを作ろうとしています。FreeRTOS_Toggle_Led_Example_S32K344... ConfigToolsを使ってコードを更新したことはありますが、今のところそれだけがコードの修正です。 しかし、そのままの状態では、コードはリンク段階で失敗します。 c:/nxp/s32ds.3.6.5/s32ds/build_tools/gcc_v10.2/GCC-10.2-arm32-eabi/bin/../lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/bin/real-ld.exe:./FreeRTOS/Source/ポータブル/GCC/ARM_CM7/r0p1/port.o: in function 'vPortStoreTaskMPUSettings': C:\Workspaces-35\FreeRTOS_Toggle_Led_Example_S32K344\Debug_FLASH/../FreeRTOS/Source/portable/GCC/ARM_CM7/r0p1/port.c:1890:未定義の「__FreeRTOS_code_data_start__」参照 c:/nxp/s32ds.3.6.5/s32ds/build_tools/gcc_v10.2/GCC-10.2-arm32-eabi/bin/../lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/bin/real-ld.exe:C:\Workspaces-35\FreeRTOS_Toggle_Led_Example_S32K344\Debug_FLASH/../FreeRTOS/Source/portable/GCC/ARM_CM7/r0p1/port.c:1890: 「__FreeRTOS_code_data_end__」に関する未定義の参照 c:/nxp/s32ds.3.6.5/s32ds/build_tools/gcc_v10.2/GCC-10.2-arm32-eabi/bin/../lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/bin/real-ld.exe:./FreeRTOS/Source/portable/GCC/ARM_CM7/r0p1/port.o: 関数 'prvSetupMPU': C:\Workspaces-35\FreeRTOS_Toggle_Led_Example_S32K344\Debug_FLASH/../FreeRTOS/Source/portable/GCC/ARM_CM7/r0p1/port.c:1723: 「__FreeRTOS_code_data_end__」に関する未定義の参照 c:/nxp/s32ds.3.6.5/s32ds/build_tools/gcc_v10.2/GCC-10.2-arm32-eabi/bin/../lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/bin/real-ld.exe:C:\Workspaces-35\FreeRTOS_Toggle_Led_Example_S32K344\Debug_FLASH/../FreeRTOS/Source/ポータブル/GCC/ARM_CM7/r0p1/port.c:1723:未定義の「__FreeRTOS_code_data_start__」参照 これらはリンカーセクションだと思いますが、サンプルコード内やパッケージ内のFreeRTOSフォルダ、その他の場所のどこにも定義されていないようです。 「S32DSプロジェクト例」のサンプルプロジェクトは古くなっていますか?それとも、私が気づいていない簡単な解決策があるのでしょうか? 前もって感謝します、 ジョー・シドル Re: S32K344 FreeRTOS example fails to link こんにちは、ジョー・シドルさん。 ご迷惑をおかけして申し訳ございません! Ldエラーが原因でサンプルが正しくビルドされないという問題を再現できました。そして、彼らの解決策は正しいものでした。 根本原因:S32CTではMPUがデフォルトで有効になっています。これにより、コードジェネレータはMPU対応コード(FreeRTOS MPUリンカーシンボルへの参照を含む)を出力するようになります。しかし、 Toggle_Led_Example_S32K344のリンカー スクリプト (linker_flash_s32k344.ld) では、これらの MPU メモリ領域やその境界シンボルは定義されていません。これらは MPU 固有のサンプル (例: FreeRTOS_MPU_Example_S32K389/linker_flash_s32k389.ld) にのみ存在します。MPUシンボルを想定して生成されたコードと、MPU非対応のリンカスクリプトとの間の不一致が、未定義参照エラーの原因となります。 「use mpu」を無効にすると、サンプルが正しくコンパイルされます。 副次的な注意:MPUをデフォルトで無効にすると、MPUが必要なユーザーはS32CTで明示的にMPUを有効にし、メモリ領域を設定する必要があります。 よろしくお願いいたします ロビン
View full article
受信感度は連続測定間で10dBの差がある。 QN9083 BLE SoCを使用している当社の製品の一つで予期せぬ挙動を観察しています。機器のレシーバ感度を測定すると、連続した測定間で最大10dBの差が見られます。CMW100を広告モードで測定しており、機器はシールドされたRFボックスに設置されています。箱を開けたり、デバイスの設置場所を変更したりせずに、連続してRxS測定を行ったところ、デバイスは最大10dBの差(-91dBmと-81dBm)を示しました。これは予想外で、これまで一度も発生したことのない現象です。その挙動はランダムである。ハードウェアとソフトウェアの両方の可能な原因を探しています。
View full article
Which USB to power the FRDM-MCXA153 when using external MCU Link Debug Probe? Hello, I am new to NXP microcontrollers and the MCUxpresso IDE. I have purchased the FRDM-MCXA153 and also the MCU-Link Debug Probe. I want to use the external debug probe because that is what I will use on my custom printed circuit board. I have gotten the Blinky LED example code working and with using the external debug port J18 with the MCU-Link Debug Probe. My question is which USB connector on the FRDM board should I use to power the board J18 or J8 while I an using the external debugger? Thank you Development Board
View full article
Energy meter on S32k144 EVB board I am trying to interface an NXP S32K144 board with an RS-485 based energy meter using Modbus RTU. S32K144 as Modbus master Energy meter as Modbus slave (RS-485) USB-to-RS485 converter for testing S32 Design Studio (Real-Time Expression for debugging) How should I connect the RS-485 signals (A/B, DE/RE) between the S32K144 and the energy meter? How to configure UART/SCI on S32K144 for RS-485 Modbus communication? How can I verify Modbus data transfer in real time using the debugger / Real-Time Expression? The energy meter works correctly with a PC Modbus tool via USB-to-RS485, but I need guidance for implementing and debugging it on the S32K144. Re: Energy meter on S32k144 EVB board Hi @Turtledove  The S32K144 EVB does not include a native RS-485 transceiver, so you need an external RS-485 PHY (for example MAX3485, SN65HVD series, etc.) between the MCU UART and the energy meter. Connect UART TX/RX from S32K144 to the transceiver DI/RO pins, and connect the transceiver A/B differential pair to the meter A/B lines. DE and \RE can be driven by a GPIO (often tied together for half-duplex Modbus RTU operation). For software, configure one of the LPUART instances for the meter settings (typically 9600/19200 baud, 8 data bits, no parity or even parity depending on the meter specification, 1 stop bit). Before transmitting a Modbus frame, assert DE, send the frame, wait for transmission complete, then deassert DE and switch back to receive mode. Modbus RTU itself is implemented in software on top of the UART driver. For debugging, first verify UART traffic with an oscilloscope or logic analyzer. You can also monitor transmitted requests, received responses, CRC status, and decoded register values using watch variables or Real-Time Expressions in S32 Design Studio. Real-Time Expressions can display application variables but cannot directly decode Modbus frames on the bus. Regards, Lukas
View full article
TJA1050、CANロス こんにちは、 製品TJA1050 TJA1050の中古品があり、回路図は以下の通りです。 検査中に高周波のCAN損失があることがわかりました。動作中に1~2フレームが失われました。 バスの乗車率は約16%です。 以下にハードウェアの回路図とCAN損失データを添付しました。 質問 1. CAN損失の根本原因は何でしょうか? 2. ハードウェア回路図に何か問題はありますか? 3. 次のステップで私ができること 必要に応じて、もっとテストを試したり、情報を提供したりできます。ご支援ありがとうございます。 Re: TJA1050, CAN loss 1:このボードがバスの終端にない場合は、まずDR6/DR7を切断するか、オプションのジャンパーに変更することをお勧めします。 2:テスト目的でDR8/DR9/DD1/DD2を削除してください 3: アイソレータSI8421のデータレートおよび伝搬遅延がCANビットタイミングマージンを満たすかどうか
View full article
S32k322 ADC Configuration Issue I am using three ADC channel is configured for current sensing using BCTU interrupt(CTU mode is configured to trigger mode) and remaining ADC channels are configured in Normal chain method for voltage and temperature sensing. During this configuration voltage and temperature sensing is working as expected but current sensor is sensing raw values with noise so we are getting abnormal spike in current control. Also we have changed the Ctu mode from trigger to control mode ,in current sensor channel raw value noise is reduced. But other channel configured in normal channel were not working. Our expectation is to work with single ADC peripheral(ADC0) in current sensing using BCTU trigger as well as voltage and temperature sensing in normal chain method without any spike. Note: Our hardware is designed with configuration (i.e Current sensor channels is configuration is as follows, P7-ADC0,P2 and P3 -ADC1 for reading in BCTU method. Followed by remaining ADC channels configured to normal chain method(ADC0 - X0,X1,S19 and ADC1-P0,P2,P3,P1,S10) S32 SDK for S32K1 S32 SDK for S32V Re: S32k322 ADC Configuration Issue Hi@praveen_ext I believe this is the exact same issue you're facing. https://community.nxp.com/t5/S32K/Difference-in-ADC-noise-between-BCTU-Control-Mode-and-Trigger/td-p/2384122 From the screenshot you provided, it seems you haven't made any changes to my previous reply. I've already informed you that there's a problem with your ADC clock divider configuration, Also, are you sure your external clock is 25MHz? If you've checked these two points and the problem persists after testing, you can try modifying the ADC channel's sampling time. This option allows you to modify the sampling time; you can try increasing the sampling time and testing again. Re: S32k322 ADC Configuration Issue Hi @Senlent , I have also same issue which you mentioned above. Our external oscillator clock is 25 MHz. According to the S32K322 datasheet, the ADC supports up to 80 MHz, so I have configured a prescaler of 2. I also configured the sampling time to 1.2 microseconds and set the BCTU mode to trigger mode. However, we are still getting noisy data when executing the BCTU method and the normal chain method simultaneously on the same ADC0 peripheral. Is there a workaround or an alternative method to safely run both on the same ADC0 peripheral? Re: S32k322 ADC Configuration Issue Hi@praveen_ext Aren't you the same company? You're asking the exact same questions. https://community.nxp.com/t5/S32K/Difference-in-ADC-noise-between-BCTU-Control-Mode-and-Trigger/m-p/2384122#M59412 It seems you haven't been reading my answer carefully. This is the third time I've told you that your clock divider settings are incorrect. For 160MHz, you need to set them to 2 and 4. Re: S32k322 ADC Configuration Issue Hi @Senlent , I have also same issue which you mentioned above. Our external oscillator clock is 25 MHz. According to the S32K322 datasheet, the ADC supports up to 80 MHz, so I have configured a prescaler of 2. I also configured the sampling time to 1.2 microseconds and set the BCTU mode to trigger mode. However, we are still getting noisy data when executing the BCTU method and the normal chain method simultaneously on the same ADC0 peripheral. Is there a workaround or an alternative method to safely run both on the same ADC0 peripheral? In the meantime, I reduced the Instance 1 clock frequency to 40 MHz and configured the sampling time to 1.2 microseconds. Following these changes, the measured values from the BCTU are no longer showing noise. Adc_Raw_Val_Ph3 connceted with sensor remainig two values in floating. RwaeVal - configured normal chain Re: S32k322 ADC Configuration Issue Hi @Senlent , We tested the previous suggestions, but the issue is still not resolved. After further configuration and verification, I have attached the updated test data and configuration images below. kindly assist us where we missed. ADC0 ADC1 Re: S32k322 ADC Configuration Issue Hi@praveen_ext Share your project and i will test it on myside,
View full article