NTM88 sensor

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

NTM88 sensor

846件の閲覧回数
Chan_17
Contributor III

We are using KW45 EVK board . We want to program NTM88 MCU via spi of other MCU (this application note is there in NTM88 documentation https://community.nxp.com/pwmxy87654/attachments/pwmxy87654/sensors/8058/1/NTM88_SPI_Reprogramming_r...). In our case other MCU is KW45 . So to program NTM88 through KW45 we need to take firmware of NTM88 inside kw45 first and then with spi we need to transfer it to NTM88 .   This is what we want to achieve . Is it possible then how?

0 件の賞賛
返信
3 返答(返信)

821件の閲覧回数
JozefKozon
NXP TechSupport
NXP TechSupport

Dear Chandini,

yes, programming the NTM88 MCU via SPI using the KW45 Evaluation Board is possible and aligns with the method described in the document you provided.

  1. Load NTM88 firmware binary into KW45 flash or RAM.
  2. Implement SPI master driver on KW45 to:
    • Send commands per NTM88 SPI protocol.
    • Handle retries and error flags.
  3. Sequence SPI transfers to:
    • Erase target FLASH pages.
    • Write firmware byte-by-byte or in bursts.
    • Verify written data if needed.

1. SPI Enablement on NTM88

You have two options depending on whether the NTM88 has a bootloader:

With Bootloader

  • KW45 signals NTM88 via GPIO (e.g., PTA[3:0]) to request SPI.
  • NTM88 enables SPI by setting SPIEN=1 at address $1802.
  • KW45 performs SPI transfers.

Without Bootloader

  • KW45 must:
    • Hold PTA0 low during Power-On Reset for > tSPI_EN.
    • Hold PTA4/BKGD low to enter Background Debug mode.
  • This enables SPI without needing a bootloader.
  • KW45 sets CORE_TR_HOLD via SPI to halt NTM88 CPU.
  • After programming, KW45 resets NTM88 while keeping PTA4 high to exit debug mode.

 

With Best Regards,

Jozef

0 件の賞賛
返信

800件の閲覧回数
Chan_17
Contributor III
This information is there in that application note , we Already understood. My query is How to give hex file of NTM88 firmware to kw45 MCU flash or RAM . Is there any application note for the same?
0 件の賞賛
返信

777件の閲覧回数
JozefKozon
NXP TechSupport
NXP TechSupport

Dear Chandini,

please see below an answer from an application engineer I have contacted. Please confirm if Dilip is your direct contact.

DESCRIPTION

The MKW in the tire module will receive the new NTM88 firmware (s19 file) via 2.4 GHz communication.

 

Typically, another MKW or programming tool will have the s19 file (either sent from a PC or loaded via a SD card in case of programming tool) and will send it line by line via 2.4 GHz to the MKW in the tire module. The MKW in the tire module will then program the content of the s19 lines into the NTM88 flash via SPI.

We have early demo code available implementing such configuration. The MKW used in our demo code is the MKW38, but code can be ported to be used on the MKW45.

If customer is interested by early access to this demo code, could they indicate who their local NXP contact is (Sales or FAE) so we can check the opportunity, NDA etc…?

 

With Best Regards,

Jozef

0 件の賞賛
返信