Multi Source Translation Content

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

Multi Source Translation Content

讨论

排序依据:
Flashed ELF file onto S32K146 via SEGGER J Link. Now, I am unable to flash other SW or even erase it Hi Community Members,                 We have flashed our own hardware board with S32K146 with an ELF file via Segger J Link Lite version. The file is attached. Now, I was trying to flash a different mot file with a different SW, however it does not allow me to program the chip. I even tried erasing the complete chip, however I get the error saying "CPU could not be halted". (The current consumption through the board is approx. 0.6A with just one Digital output configured. In our other SW, that has around 20 IOs and 20 CAN messages, the current consumption is generally 0.13A.) Is there any other way that we can erase the chip using Segger - jlink SW tool or any other SW? And can we generate .hex/.bin file from the S32DS for s32k146 projects? Re: Flashed ELF file onto S32K146 via SEGGER J Link. Now, I am unable to flash other SW or even eras Hi @Coding_Torque-SDRS, Could you read the MDM_AP registers? Try to follow the instructions with J-Link commander from the following post: Unbricking S32K146 - NXP Community (Also trying to hold the reset pin low externally if the J-Link commander cannot communicate.) Best regards, Julián Re: Flashed ELF file onto S32K146 via SEGGER J Link. Now, I am unable to flash other SW or even eras @Julián_AragónM Thanks for the support, It really help in resolving the issues that I'm currently facing with creating .hex/.bin file generation.  @Julián_AragónM We tried using Manual programming as referred by you to erase the data from the chip, but it's not even connecting to the CPU when Erase Chip is clicked. It's throwing message like "CPU can't be halted". Please do refer some other way to erase the chip.  Thanks, Coding_Torque-SDRS Re: Flashed ELF file onto S32K146 via SEGGER J Link. Now, I am unable to flash other SW or even eras Hi @Coding_Torque-SDRS, You can look into the J-Link Flash Download directly from SEGGER. This tool supports the S32K146 and may help with manual programming:  As for the .hex/.bin files, you can refer to this community post: HOWTO: Generate S-Record/Intel HEX/Binary file - NXP Community Best regards, Julián
查看全文
如何增加 imx8Mplus 上的 HDMI 时钟 如何在 drivers/phy/freescale/phy-fsl-samsung-hdmi.c 中的 samsung_phy_pll_cfg 函数中增加 HDMI 时钟文件,假设屏幕分辨率为 800x480,时钟为 32MHz。 回复:如何增加 imx8Mplus 上的 HDMI 时钟 少君,问题已经解决了。感谢您的支持。 回复:如何增加 imx8Mplus 上的 HDMI 时钟 會檢查。
查看全文
The IVOR1 IRQ is caused by SPC5746R triggering an interrupt. I am currently using the SPC5746RMMT5 chip and enter the IVOR1_IRQ interrupt when debugging eTPU set2 with S32 DS for Power. The TG function is working fine for now, but when I set the Crank capture interrupt, it triggers the IVOR1_IRQ interrupt. Check that the MCSR is not incorrectly set. How can I fix it? Re: The IVOR1 IRQ is caused by SPC5746R triggering an interrupt. Thank you very much. You have solved this problem for me! Re: The IVOR1 IRQ is caused by SPC5746R triggering an interrupt. If you are using original etpu sets with MPC57xx devices, it is possible it is needed to initilize ECC as follows: #define eTPU_AB_SPRAM_start 0xFFCC8000 #define eTPU_AB_SPRAM_end 0xFFCCBFFF /* Clear all ETPU SRAM memories due to ECC */ // eTPU A/B parametric RAM for (i=eTPU_AB_SPRAM_start; i { (*(uint32_t *) i) = 0; } In the past I made example code for this: https://community.nxp.com/t5/MPC5xxx-Knowledge-Base/Example-MPC5746R-eTPU-original-set1-integration-PWM-test-S32DS/ta-p/1107223
查看全文
How to increase the hdmi clock on the imx8Mplus How to increase the HDMI clock in the samsung_phy_pll_cfg function in the drivers/phy/freescale/phy-fsl-samsung-hdmi.c file, given the screen resolution is 800x480 and the clock is 32MHz. Re: How to increase the hdmi clock on the imx8Mplus Shaojun,the problem has been resolved. Thanks for your support. Re: How to increase the hdmi clock on the imx8Mplus Please apply below patch You may need to add "video=HDMI-A-1:800x480@60" in uboot command line. diff --git a/drivers/phy/freescale/phy-fsl-samsung-hdmi.c b/drivers/phy/freescale/phy-fsl-samsung-hdmi.c index d1e93e5b9207..221e71ae2341 100644 --- a/drivers/phy/freescale/phy-fsl-samsung-hdmi.c +++ b/drivers/phy/freescale/phy-fsl-samsung-hdmi.c @@ -136,6 +136,15 @@ const struct phy_config samsung_phy_pll_cfg[] = { 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0x83, 0x0F, 0x3E, 0xF8, 0x00, 0x00, }, + }, { + 32000000, { + 0x00, 0xD1, 0x36, 0x70, 0xAD, 0xA0, 0x85, 0x42, + 0x4F, 0x30, 0x33, 0x65, 0x00, 0xC1, 0x24, 0x80, + 0x6C, 0xF2, 0x67, 0x00, 0x10, 0x87, 0x30, 0x3A, + 0x74, 0x8F, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, + 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0xE0, 0x83, 0x0F, 0x3E, 0xF8, 0x00, 0x00, + }, }, { 33750000, { 0x00, 0xD1, 0x70, 0xF4, 0x82, 0x01, 0x80, 0x40, Re: How to increase the hdmi clock on the imx8Mplus Will check it.
查看全文
通过 SEGGER J Link 将 ELF 文件刷入 S32K146。现在,我无法刷新其他 SW,甚至无法擦除它 嗨,社区成员们, 我们已经通过 Segger J Link Lite 版本用ELF文件刷新了我们自己的硬件板 S32K146。文件已附加。 现在,我尝试使用不同的 SW 刷新不同的mot 文件,但是它不允许我对芯片进行编程。我甚至尝试擦除整个芯片,但是我收到错误消息“无法停止 CPU” 。 (通过电路板的电流消耗约为。仅配置一个数字输出,为 0.6A。在我们的其他 SW 中,大约有 20 个 IO 和 20 个 CAN 消息,电流消耗通常为 0.13A。) 我们可以使用 Segger - jlink SW 工具或任何其他 SW 擦除芯片吗? 我们可以从 S32DS 为 s32k146 项目生成 .hex/.bin 文件吗? 回复:通过 SEGGER J Link 将 ELF 文件刷入 S32K146。现在,我无法刷入其他软件甚至其他版本 @Julián_AragónM感谢您的支持,它确实帮助我解决了当前创建 .hex/.bin 文件生成时遇到的问题。 @Julián_AragónM我们尝试使用您提到的手动编程来擦除芯片中的数据,但是当单击“擦除芯片”时,它甚至没有连接到 CPU 。它抛出了“CPU 无法停止”之类的消息。 请参考其他方法来擦除芯片。 谢谢! 编码扭矩-SDRS
查看全文
IVOR1 IRQ 是由 SPC5746R 触发中断引起的。 我目前使用的是SPC5746RMMT5芯片,在使用S32 DS for Power调试eTPU set2时进入IVOR1_IRQ中断。 TG 功能现在工作正常,但是当我设置 Crank 捕获中断时,它会触发 IVOR1_IRQ 中断。 检查 MCSR 设置是否正确。 我该如何修复它? 回复:IVOR1 IRQ 是由 SPC5746R 触发中断引起的。 非常感谢。你帮我解决了这个问题! Re: The IVOR1 IRQ is caused by SPC5746R triggering an interrupt. 不好意思,之前看到MCSR没有数据,是因为没有获取寄存器数据。下面是寄存器的数据. How do I fix this
查看全文
S32K312 BootLoader UDSonCAN in RTD300 SDS3.5 Issue I used the NXP official Bootloader routine to develop the BootLoader_UDSonCAN of S32K312 in RTD3.0.0 environment, and encountered problems in the following steps when updating with ECU According to the log, the program restarted when responding to 31 01 FF 00 (erase), and the restart reason is 18, corresponding to SWT0-RESET. I want to know what the possible reason is, and debugging with SEGGER did not catch any problems. Is it because FlsDrv.bin for RTD1.0.0 does not work directly with RTD3.0.0? Re: S32K312 BootLoader UDSonCAN in RTD300 SDS3.5 Issue Hi,  I am using the project "S32K344_Can_bootloader_RTD200" in the microprocessor S32K344. I want to download an application with the program of bootloader. I have achieved the jump from program to application but I have different questions. 1. I want to use #define EN_DELAY_TIME but when I uncomment the command in the folder "public_in", the program has different errors. My target to use "Backdoor", that is to say, I want to check if the program has to enter to bootloader or not. I don´t know the process and the different functions that I have to use to achieve the target. I want to use the function "Boot_CheckReqBootloaderMode(void)" but when I debug the program, it never enters to the "if". Could you explain me the process and the steps to achieve the target. I add different functions that I think are important.  2. I don´t know if I have to modificate the parameters of "static tJumpAppDelayTimeInfo gs_stJumpAPPDelayTimeInfo = {FALSE, 0u};". I have to change this structure ? You can see all structure in one of the next pictures.  I need the reply as soon as possible since I have to send a project very soon.  Thank you for all,  Jon Ander Amante Jorge Re: S32K312 BootLoader UDSonCAN in RTD300 SDS3.5 Issue Thank you for your reply. I finally found the reason. I did not synchronize the modification items of c40_ip.c under the environment of rtd300, so there may have been ecc errors when executing flash operations. Re: S32K312 BootLoader UDSonCAN in RTD300 SDS3.5 Issue Hi, looks like reset from watchdog timer (SWT), so be sure you have it either disabled or service it periodically. Anyway; I’m sorry to say that Unified bootloader shared on the community is only unofficial demo provided AS IS with no guarantees and no support. Currently we do not have resources to support this demo. We apologize for any inconvenience. BR, Petr Re: S32K312 BootLoader UDSonCAN in RTD300 SDS3.5 Issue
查看全文
SEGGER J Linkを介してS32K146にELFファイルをフラッシュしました。今、私は他のSWをフラッシュしたり、消去したりすることさえできません コミュニティメンバーの皆さん、こんにちは。 私たちは、Segger J Link Liteバージョンを介してELFファイルを使用してS32K146で独自のハードウェアボードをフラッシュしました。ファイルが添付されています。 さて、私は別のSWで別の motファイルを フラッシュしようとしていましたが、チップをプログラムすることはできません。チップ全体を消去しようともしましたが 、「CPUを停止できませんでした」というエラーが表示されます。 (ボードを流れる消費電流は約です。0.6A、デジタル出力が1つだけ構成されている場合。約 20 の IO と 20 の CAN メッセージを持つ他の SW では、消費電流は通常 0.13A です。 Segger-jlink SWツールまたはその他のSWを使用してチップを消去できる他の方法はありますか? また 、s32k146 プロジェクト用に S32DS から .hex/.bin ファイル を生成できますか? Re:SEGGER J Linkを介してS32K146にELFファイルをフラッシュしました。今、私は他のSWや時代を点滅させることができません @Julián_AragónMサポートしてくれてありがとう、それは私が現在.hex / .binファイル生成を作成する際に直面している問題を解決するのに本当に役立ちます。 @Julián_AragónMあなたが参照した手動プログラミングを使用してチップからデータを消去しようとしましたが、Erase ChipをクリックしてもCPUに接続されていません。「CPUを停止できません」のようなメッセージをスローしています。 チップを消去する他の方法を参照してください。 ありがとうございます Coding_Torque-SDRSの
查看全文
RT106XまたはRT1170で2セットのイーサネットを同時に使用するにはどうすればよいですか? HI 2つのイーサネットインターフェイスを使用し、両方を動作させる必要があります。SDKに関連する例は見つかりませんでした。 ありがとうございます。 i.MXRT 106倍 回复:RT106XまたはRT1170で2セットのイーサネットを同時に使用するにはどうすればよいですか? こんにちはGavin_Jia、 NXPは2イーサネットインターフェースEVBをリリースする予定はありますか? よろしくお願いいたします ケビン Re:RT106XまたはRT1170で2セットのイーサネットを同時に使用する方法は? こんにちは i.MX RT 106xについては、柔軟なネットワークソリューションをサポートするuTaskerプロジェクトをご覧ください。 複数のインターフェイス上の複数のネットワーク - シングルまたはデュアルイーサネット - Wi-Fi接続 - テザリングUSB https://www.utasker.com/index.html https://www.utasker.com/docs/uTasker/uTaskerNetworking.pdf https://www.utasker.com/docs/iMX/uTaskerV1.4_iMX.pdf https://www.utasker.com/docs/uTasker/uTaskerRNDIS.pdf https://www.utasker.com/docs/uTasker/uTaskerWIFI.pdf 完全なプロジェクト開発を可能にし、VisualStudioを使用したRTシミュレーション i.MX(エミュレートされた i.MX RT上のTCP/IPスタックをリアルタイムで含む)。 よろしく マーク(uTaskerプロジェクトリーダー) 割引価格の i.MX およびKinetisの在庫状況については、 以下をご覧ください https://www.utasker.com/Shop/semi.html
查看全文
如何在RT106X或RT1170上同时使用两组以太网? HI 我需要使用两个以太网接口并使它们都能运行。我在SDK中没有找到相关的例子。 谢谢。 i.MXRT 106x 回复: 如何在RT106X或者RT1170上同时使用两组以太网? 你好, Gavin_Jia , NXP 是否有计划发布双以太网接口 EVB? 此致, 凯文 回复:如何在RT106X或RT1170上同时使用两组以太网? 你好 对于 i.MX RT 106x,请查看支持灵活网络解决方案的 uTasker 项目: 多个接口上的多个网络 - 单或双以太网 - 无线上网 - 连接 USB https://www.utasker.com/index.html https://www.uTasker.com/docs/uTasker/uTaskerNetworking.pdf https://www.utasker.com/docs/iMX/uTaskerV1.4_iMX.pdf https://www.uTasker.com/docs/uTasker/uTaskerRNDIS.pdf https://www.uTasker.com/docs/uTasker/uTaskerWIFI.pdf 允许完整的项目开发和使用 VisualStudio 的 i.MX RT 模拟(包括实时模拟 i.MX RT 上的 TCP/IP 堆栈)。 问候 Mark(uTasker 项目负责人) 有关我们的折扣 i.MX 和 Kinetis 生产库存情况,请参阅https://www.utasker.com/Shop/semi.html
查看全文
反馈: tabview控件标题显示中文出错 版本: V1.7.1 Re: 反馈: tabview控件标题显示中文出错 感谢回答!可以了 Re: 反馈: tabview控件标题显示中文出错 Hi, @ccx_lan  您好,main不是tab的的标题,需要选择Items,Default是默认状态,check是在当前Tab状态,需要将下面的字体设为汉字字体即可,如下图: Best regards, Alex
查看全文
S32K3 SHEキーの更新 1.K3 HSE_B Firmware RMドキュメントでは、FIDは6ビットで定義されているため、K3はFID-5ビットをサポートしていませんよね?[でK146チップは、FIDは6ビットだけでなく5ビットにも対応しています。 では、S32K3では、FID-5bitでM1-M3を生成すると、SHEキーは更新できないのですね。 2. S32K3 MCALの暗号ドライバでは、SHEキーのM4はキーエレメント2(CRYPTO_KE_MAC_PROOF)に格納され、M5はキーエレメント6(CRYPTO_KE_CIPHER_PROOF)に格納されます。しかし、私の知る限り、M4M5は要素6ではなく、重要な要素2に格納する必要があります。NXPの暗号コードはAUTOSAR規格に準拠していませんか? Re:S32K3 SHEキーの更新 こんにちは、ルカサドラパ、 あなたの図 1.In、S32K3にはS32K1のようなSFEフラグがないため、FID 6ビットのみをサポートし、VERIFY_ONLYビットを構成する必要があるため、FID 5ビットを満たすことはできません。NXPはFID 5bitの使用をサポートするHSEファームウェアを提供していますか? 2.次のRTDはいつ提供されますか?現在のRTDの関連コードを変更する方法を提供できますか?現在、このRTDを使用してSWを開発しており、すでにこの機能を使用する必要があります。
查看全文
iMXRT: "ExportedGlobal" being defined as bss, not data Hello, I have calibration values that I'd like to edit offline, therefore I'd like the labels to be first saved to flash, before being transferred to RAM. For all of the values I define as "ExportedGlobal" with an initial value of "0", they are then being defined as bss, not data and not being stored in Flash. The data type doesn't matter, boolean, unit8, single. How can I easily ensure that labels are defined as data, not bss? Re: iMXRT: "ExportedGlobal" being defined as bss, not data Hi, Would you please double check if '.my_data' initalzation has been done during boot? some comments as blow. 1. check function SectionTableAddr  with trace log. // startup_mimxrt1062.c while (SectionTableAddr < &__data_section_table_end) { LoadAddr = *SectionTableAddr++; ExeAddr = *SectionTableAddr++; SectionLen = *SectionTableAddr++; data_init(LoadAddr, ExeAddr, SectionLen); // Debug output __asm volatile("bkpt #0"); // Breakpoint for debugging printf("LoadAddr: 0x%08X, ExeAddr: 0x%08X, SectionLen: 0x%08X\n", LoadAddr, ExeAddr, SectionLen); } 2. check __data_section_table, you can print it out. 3. check ld script with '.my_data' section. SECTIONS { /* MAIN DATA SECTION */ .data : ALIGN(4) { FILL(0xff) _data = . ; PROVIDE(__start_data_RAM = .) ; PROVIDE(__start_data_SRAM_DTC = .) ; *(vtable) *(.ramfunc*) KEEP(*(CodeQuickAccess)) KEEP(*(DataQuickAccess)) *(RamFunction) *(NonCacheable.init) *(.data*) *(.my_data*) /* Added custom section for .my_data */ . = ALIGN(4) ; _edata = . ; PROVIDE(__end_data_RAM = .) ; PROVIDE(__end_data_SRAM_DTC = .) ; } > SRAM_DTC AT>BOARD_FLASH } Re: iMXRT: "ExportedGlobal" being defined as bss, not data Hello @Sam_Gao  Any chance of further help? Re: iMXRT: "ExportedGlobal" being defined as bss, not data Hell  @Sam_Gao  That worked great, but I don't have the correct values appearing at the ram addresses.  In model.c /* Storage class 'OiidaData' */ __attribute__((section(".my_data"))) uint8_T AirBoxTemp_Swi_RefVal_C = 0U; __attribute__((section(".my_data"))) uint8_T LED_Switch_C = 0U; When reviewing my .map file: .my_data 0x200090dc 0x2 load address .my_data 0x200090dc 0x2 Oiida.o 0x200090dc AirBoxTemp_Swi_RefVal_C 0x200090dd LED_Switch_C Perfect, looks good.  When I look at my hex file: 0x60061a90: 01 01 ff ff 00 00 -- -- -- -- -- -- -- -- -- -- Perfect, looks good (AirBoxTemp_Swi_RefVal_C and LED_Switch_C are both unit8 "0"). But when reviewing the Ram addresses: 0x200090dc AirBoxTemp_Swi_RefVal_C: 111 0x200090dd LED_Switch_C: 88 I looked through the startup_mimxrt1062.c, and it appears to be coping flash to ram as expected: __attribute__ ((section(".after_vectors.init_data"))) void data_init(unsigned int romstart, unsigned int start, unsigned int len) {     unsigned int *pulDest = (unsigned int*) start;     unsigned int *pulSrc = (unsigned int*) romstart;     unsigned int loop;     for (loop = 0; loop < len; loop = loop + 4)         *pulDest++ = *pulSrc++; }     // Copy the data sections from flash to SRAM.     while (SectionTableAddr < &__data_section_table_end) {         LoadAddr = *SectionTableAddr++;         ExeAddr = *SectionTableAddr++;         SectionLen = *SectionTableAddr++;         data_init(LoadAddr, ExeAddr, SectionLen);     } Attached my linker script. What am I missing? Re: iMXRT: "ExportedGlobal" being defined as bss, not data Hi @Sam_ECU  I am not sure what's the root cause becasue no any sample code from you. I would like to share my understanding and comments below. 1. If you initialize  GlobalVar  with a non-zero value, it will be placed in the  .data  section: uint8_t GlobalVar = 1; // Initialize with a non-zero value 2. You can modify your linker script to force the variable into the  .data  section. Here is an example of how you can do this: uint8_t GlobalVar __attribute__((section(".my_data"))) = 0; SECTIONS { .text : { *(.text*) } > FLASH .data : { *(.data*) *(.my_data*) // Add your custom section here } > RAM AT > FLASH .bss : { *(.bss*) *(COMMON) } > RAM } 3. If you prefer not to modify the linker script, you can initialize the variable in a custom initialization function that runs before  main : uint8_t GlobalVar; void __attribute__((constructor)) initialize_global_var(void) { GlobalVar = 0; // Initialize with a non-zero value if needed } // main.c #include // Define GlobalVar in the .my_data section uint8_t GlobalVar __attribute__((section(".my_data"))) = 0; int main() { // Your application code while (1) { // Do something } return 0; } SECTIONS { .text : { *(.text*) } > FLASH .data : { *(.data*) *(.my_data*) // Add your custom section here } > RAM AT > FLASH .bss : { *(.bss*) *(COMMON) } > RAM } Re: iMXRT: "ExportedGlobal" being defined as bss, not data Hello @Sam_Gao , Using the terminology from the example: https://mirzafahad.github.io/2021-05-08-text-data-bss/ My GlobalVar is defined in my initial code as "0" and therefore has no initialisation value and lands in bss.  Examples from my .map: As they are being automatically defined as bss, I can't find them in flash and can't edit the .hex file offline to change a value, for example, from 0 to 1. I'd like the ability to define, that unit8 GlobalVar that initially have the value "0" are defined as .data and not as .bss. Re: iMXRT: "ExportedGlobal" being defined as bss, not data Hi, what's your meaning of 'For all of the values I define as "ExportedGlobal" with an initial value of "0", they are then being defined as bss, not data and not being stored in Flash.' ? would you please check and give example to explain it. https://mirzafahad.github.io/2021-05-08-text-data-bss/ https://stackoverflow.com/questions/16557677/difference-between-data-section-and-the-bss-section-in-c
查看全文
How to add library of libnfc-nci into yocto imge I'm about going to use libnfc-nci to driver PN7160-EVK on IMX8MPLUS-EVK. And I want to add libnfc-nci into yocto image and the sdk for imx-image-multimedia. Is any clue for me? Actually i cannot build libnfc-nci in on IMX8MPLUS-EVK with image of imx-image-multimedia. Therefore, I want add it into yocto image directly. Thanks very much! Re: How to add library of libnfc-nci into yocto imge Thank you for your response. I solved the issue by changing the VBAT voltage from 3.3V to 5V. It worked after that. By the way, it should also work with both VBAT and VDD-PAD at 3.3V if the TXLDO check is disabled. Re: How to add library of libnfc-nci into yocto imge Could you tell me which version BSP are you using?  I will confirmed with our NFC engineer tomorrow and then give you update. Re: How to add library of libnfc-nci into yocto imge The nfcDemo now can work, and it can init PN7160 module successfully. But it stop due to some I2C read error. Please refer to the attached log file for more details. Re: How to add library of libnfc-nci into yocto imge Thank you for your response. I followed the guide to port the PN7160 NFC module, which is connected to the 8MPLUS-EVK via the I2C interface. The device is detected by i2cdetect at address 0x28, but I cannot read any data from the I2C bus using i2cdump. I also tried running the nfcDemo, but it didn't work correctly either. The logs showed that the IRQ, DWD, and VEN pins were verified successfully, but I encountered a phTmlNfc_Init_Failed error with code 262. Could you please provide some advice? Thanks a lot! Re: How to add library of libnfc-nci into yocto imge You can following this AN
查看全文
PWM Hello, I am using the iMXRT1176DVMAA for PWM output, I have noticed that the maximum period I can produce is approx 34ms (src clock 240MHz with prescalar : DIV_BY_128, fclk = 1.875 Mhz ) what if I want to generate a 50 ms period ? note that I have used the driver SDK example and MCUXpresso IDE. thank you. Re: PWM Hi @D_D97 , Thank you for your interest in the NXP MIMXRT product, I would  like to provide service for you. I import a SDK demo"evkbmimxrt1170_pwm_cm7" , use MIMXRT1170-EVKB board. 1:  Modify PWM1 root clock(BUS_CLK_ROOT) as  24MHz; 2: Modify code " #define APP_DEFAULT_PWM_FREQUENCY (20UL)//(1000UL)"  3: Used an oscilloscope to test J25-7 pin, and the PWM cycle of this pin is 50ms, 20Hz. I think you can refer to what I did above. Wish it helps you. If you still have question about it, please kindly let me know. Best Regards mayliu
查看全文
How to enable VCU CAN on RD-K358BMU Hi NXP forum! We purchased NXP’s 800 V Battery Management System (BMS) Reference Designs Using ETPL (https://www.nxp.com/design/design-center/development-boards-and-designs/800-v-battery-management-system-bms-reference-designs-using-etpl:RD-HVBMSCT800BUN) since we wanted a proper BMS to validate and test our battery emulator against. Works great, currently we have been using FreeMaster and the example that exists for the reference design, referring to HVBMS_800_StartUp_FreeMASTER.pmpx, all measurements done by the BMS looks spot-on and as expected, same with the temperatures that we emulate through another board we have developed. We have received a CAN database from support at NXP that we were told would work with the reference design BMU, see screenshot below, we have used the NXP_BMS_QPHY_V1.dbc. We have connected our external CAN to the VCU_CAN port (that supports partial networking wake-up) on the RD-K358BMU using the DSUB connector that was included on the J1 connector cabling, according to the manual, to enable the VCU_CAN one can achieve it using the WUP on the SBC, or more specifically SBC WAKE1 input on the SBC. No matter what we do we cannot see anything on the CAN bus, even when using a sniffer, so apparently, we have missed something fundamental. The manual states: “Vehicle control unit CAN (VCU CAN) is the main CAN interface equipped with high-speed TJA1145ATK/FD partial networking transceiver. This transceiver supports CAN partial networking by means of a selective wake-up function. The transceiver inhibit pin is connected to the SBC wake1 signal, which wakes up the system when the wake-up command is received on the VCU CAN port. To configure VCU CAN transceiver, use LPSPI5 PCS2.” The last sentence is what I do not get, I understand that it is an onboard SPI node (node name: VCU CAN TJA1145A, IC Reference: U20, SPI Instance: LPSPI5, Peripheral chip selects: PCS2, Max Clk Speed: 2.5), but how should it be used and how do I get CAN communication going? Thanks in advance for your help and guidance! Regards, JWA74 Re: How to enable VCU CAN on RD-K358BMU Hi, the TJA1145 enters Standby mode after power on, to put device into Normal mode an SPI command have to be issued. Another command is needed as well to activate CAN transceiver. Some time ago I tested CANs on RD-K344BMU board. Attached is modified S32DS3.4 demo project, I used RTD2.0.3.  It uses FlexCAN4 which drives CMU_CAN (TJA1443) on the board.  FlexCAN0 is added as well, which drives VCU_CAN (TJA1145) on the board.  Basic transceiver init via LPSPI5 is done to activate VCU_CAN part. Example waits for std ID=0x14 message on each CAN and resends it back using callback. BR, Petr
查看全文
libnfc-nciのライブラリをyocto imgeに追加する方法 libnfc-nci を使用して、IMX8MPLUS-EVK で PN7160-EVK をドライバーに使用したいと思います。そして、libnfc-nciをyocto imageとimx-image-multimediaのSDKに追加したいと思います。何か手がかりはありますか? 実際には、imx-image-multimediaのイメージを使用してIMX8MPLUS-EVKにlibnfc-nciをビルドすることはできません。したがって、私はそれをyocto画像に直接追加したいと思います。 どうもありがとうございました! Re: libnfc-nci のライブラリを yocto imge に追加する方法 返信ありがとうございます。 VBAT電圧を3.3Vから5Vに変更することで問題を解決しました。その後はうまくいきました。ちなみに、TXLDOチェックが無効になっている場合は、3.3VでVBATとVDD-PADの両方でも動作するはずです。 Re: libnfc-nci のライブラリを yocto imge に追加する方法 BSPのバージョンを教えてください。明日、NFCエンジニアに確認し、最新情報をお伝えします。 Re: libnfc-nci のライブラリを yocto imge に追加する方法 nfcDemoが動作し、PN7160モジュールを正常に初期化できるようになりました。しかし、I2C読み取りエラーのために停止します。詳細については、添付のログファイルを参照してください。 Re: libnfc-nci のライブラリを yocto imge に追加する方法 返信ありがとうございます。 ガイドに従って、I2Cインターフェースを介して8MPLUS-EVKに接続されているPN7160 NFCモジュールを移植しました。デバイスはアドレス 0x28 で i2cdetect によって検出されますが、i2cdump を使用して I2C バスからデータを読み取ることができません。 nfcDemoも実行してみましたが、これも正しく動作しませんでした。ログには IRQ、DWD、および VEN ピンが正常に検証されたことが示されていましたが、コード 262 でphTmlNfc_Init_Failedエラーが発生しました。 何かアドバイスをいただけますか?どうもありがとうございます! Re: libnfc-nci のライブラリを yocto imge に追加する方法 このANをフォローできます
查看全文
s32k3 how to install hse firmware in mass prodction? Hi Nxp,     i used to install by S32DS and HSE_Install_FW_312 project, it's ok. but it's seems not suitable for mass production, since this project not have boot header("0xA55AA55A"),  then the app cant run.  i guess this is prior to 0XD5 header.  so is there a best practice solution for install hse fw in production? 回复: s32k3 how to install hse firmware in mass prodction? i think use jtag to write utest and program hse to flash and reboot is the practice way to do.  and thank for your jlink script for reference. Re: s32k3 how to install hse firmware in mass prodction? Hi victory, There is one-time programming of HSE FW (FULL_MEM or AB_SWAP) and APP on the production line, the demo projects based on S32DS 3.4.3 and RTD 2.0.0 for S32K312 and S32K3x4 which using PE CYCLONE to install the latest HSE FW (update SBAF if needed). But you may need to contact GC CAS(FAE). They may share the attachment "MassProduction_1_0_1.zip" which includes the demo projects and the user guide. 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. -------------------------------------------------------------------------------
查看全文
IMX8MP debug port change to uart4 on Android Hi, In imx8mp on customer board. I have already change debug port from uart2 to uart4 on yocto(Linux 6.1.1_1.0.1 BSP). And type cmd is OK. The same modify on Android (Android 13.0.0_2.0.0 (L6.1.22_2.0.0 BSP)), after booting finish(hdmi show android launcher),debug console can show message but can't type anything. I have compare yocto and android modify. There are 2 file I can't find in Android BSP. \sources\meta-freescale\conf\machine\include\imx-base.inc \sources\meta-freescale\conf\machine\include\imx8mp-evk.inc How to fix it? Thanks. Re: IMX8MP debug port change to uart4 on Android Hello, You are looking for Yocto specific files, that are not available on Android. For Android you'll need to patch Linux/Uboot/ATF the same way you did for the Linux system you built using Yocto. Best regards/Saludos, Aldo.
查看全文
如何将 libnfc-nci 库添加到 yocto imge 我打算使用 libnfc-nci 来驱动 IMX8MPLUS-EVK 上的 PN7160-EVK。我想将 libnfc-nci 添加到 yocto 图像和 imx-image-multimedia 的 sdk 中。对我而言有什么线索吗? 实际上,我无法使用imx-image-multimedia的图像在imx8mplus-evk上构建libnfc-nci。因此,我想直接将其添加到yocto图像中。 非常感谢! 回复:如何将 libnfc-nci 库添加到 yocto imge 中 谢谢您的回复。 我通过将 VBAT 电压从 3.3V 更改为 5V 解决了这个问题。此后它就起作用了。顺便说一句,如果禁用 TXLDO 检查,它还应该在 3.3V 下与 VBAT 和 VDD-PAD 一起工作。 回复:如何将 libnfc-nci 库添加到 yocto imge 中 你能告诉我你使用的是哪个版本的 BSP 吗?我明天会与我们的 NFC 工程师确认,然后向您提供最新消息。 回复:如何将 libnfc-nci 库添加到 yocto imge 中 nfcDemo 现在可以工作了,并且可以成功初始化 PN7160 模块。但由于某些 I2C 读取错误,它停止了。请参阅附件日志文件以了解更多详细信息。 回复:如何将 libnfc-nci 库添加到 yocto imge 中 谢谢您的回复。 我按照指南移植 PN7160 NFC 模块,该模块通过 I2C 接口连接到 8MPLUS-EVK。该设备由地址 0x28 处的 i2cdetect 检测到,但我无法使用 i2cdump 从 I2C 总线读取任何数据。 我也尝试运行 nfcDemo,但它也无法正常工作。日志显示 IRQ、DWD 和 VEN 引脚已成功验证,但我遇到了代码为 262 的 phTmlNfc_Init_Failed 错误。 您能提供一些建议吗?多谢! 回复:如何将 libnfc-nci 库添加到 yocto imge 中 您可以关注此 AN
查看全文