S32K144_PT2000_EXAMPLE: Modifying DATA_RAM has no effect

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

S32K144_PT2000_EXAMPLE: Modifying DATA_RAM has no effect

124 次查看
D1ego
Contributor I

Hello everyone,

I have a question regarding the PT2000 example code. I am working with the S32K144_PT2000_EXAMPLE project and modified the first three elements of the PT2000_data_RAM array in the PT2000_LoadData.c file. After flashing the firmware to the S32K144-Q100 board and connecting the FRDMPKPT2000EVM, I observed the current waveform on an oscilloscope. However, the waveform remained unchanged despite my modifications to the data RAM.

Could someone please help me understand why the changes are not taking effect? Is there something I'm missing, such as a specific initialization step or a different data RAM section that needs to be modified?

Thank you in advance for your help!

PT2000 S32K144EVB 

0 项奖励
回复
6 回复数

84 次查看
JozefKozon
NXP TechSupport
NXP TechSupport

Hello D1ego,

the PT2000_data_RAM array is only a software buffer; modifying it does not directly affect the waveform unless the updated data is explicitly transferred to the PT2000 DPRAM. In the example project, the data is typically loaded during initialization, so user modifications may be overwritten or ignored if not applied at the correct point in the sequence. It is recommended to modify the data immediately before the final PT2000_LoadData() call and ensure the PT2000 is restarted afterward.
 
With Best Regards,
Jozef

73 次查看
D1ego
Contributor I

Hi Jozef,

Thank you for your explanation. I have modified the values in the PT2000_data_RAM array and then flashed the program to the board. However, the waveform still does not change.

I have two specific questions:

  1. In the ProgramDevice() function, I already call download_RAM(DATA_RAM). Isn't this the code that loads the data to the DPRAM? Do I need to add any additional code somewhere else to ensure the data is actually loaded?

  2. Regarding "restart the PT2000 after modification" – what is the exact operation you mean? Currently, I pull the RESETB pin low and then high to reset the PT2000, and then re-execute ProgramDevice(). Is this correct? If not, what should I do instead?

Thank you for your help!

Best regards,

D1ego

0 项奖励
回复

58 次查看
JozefKozon
NXP TechSupport
NXP TechSupport

Hello D1ego,

  1. In the ProgramDevice() function, I already call download_RAM(DATA_RAM). Isn't this the code that loads the data to the DPRAM? Do I need to add any additional code somewhere else to ensure the data is actually loaded?

[A] Yes, download_RAM(DATA_RAM) is the correct function to write your modified data into the PT2000 DPRAM, however, this function only updates the data memory. It does not ensure that the new data is actually used for waveform generation.

No additional code is needed to write DPRAM, but you must ensure the PT2000 sequencer is restarted/triggered after the download so that the new data is applied.

2. Regarding "restart the PT2000 after modification" – what is the exact operation you mean? Currently, I pull the RESETB pin low and then high to reset the PT2000, and then re-execute ProgramDevice(). Is this correct? If not, what should I do instead?

[A] Correct procedure:

  1. Reset the device first

    • Pull RESETB low → high
    • Wait for the device to initialize
  2. Load the new data

    • Call download_RAM(DATA_RAM)
  3. Start/re-enable the PT2000 operation

    • Ensure the PT2000 sequencer is explicitly started (depending on your software/driver)
 
With Best Regards,
Jozef

54 次查看
D1ego
Contributor I

Hi,Jozef

Thank you for your reply. I will try your suggestion.

I have one more question regarding this line of code:

send_single_PT2000_SPI_Cmd(WRITE, ch1_ctrl_reg_uc0, 0x00);

Could you please clarify:

· What is the purpose of this function?
· What does the value 0x00 represent in this context?
· Is there a register map or user manual that describes the bit definitions for this register?
· If I change this value to a different one (e.g., 0x40, 0x80, etc.), what effect would it have on the output waveform or current profile?

I am trying to understand how to configure the current profile correctly.

Thank you for your help!

With Best Regards,

D1ego

0 项奖励
回复

51 次查看
JozefKozon
NXP TechSupport
NXP TechSupport

Hello D1ego,

send_single_PT2000_SPI_Cmd(WRITE, ch1_ctrl_reg_uc0, 0x00); 
This command writes a control value to the Channel 1 control register via SPI. It is used to configure the operating mode and behavior of the channel.
 
With Best Regards,
Jozef

47 次查看
D1ego
Contributor I

Okay, thank you. Have a nice day!

0 项奖励
回复
%3CLINGO-SUB%20id%3D%22lingo-sub-2382186%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ES32K144_PT2000_EXAMPLE%EF%BC%9A%E4%BF%AE%E6%94%B9%20DATA_RAM%20%E6%B2%A1%E6%9C%89%E6%95%88%E6%9E%9C%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2382186%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%20class%3D%22%22%3E%3CSTRONG%3E%3CSPAN%20class%3D%22%22%3E%E5%A4%A7%E5%AE%B6%E5%A5%BD%EF%BC%8C%3C%2FSPAN%3E%3C%2FSTRONG%3E%3C%2FP%3E%3CP%20class%3D%22%22%3E%3CFONT%3E%3CSPAN%20class%3D%22%22%3E%E6%88%91%E6%9C%89%E4%B8%80%E4%B8%AA%E5%85%B3%E4%BA%8EPT2000%E7%A4%BA%E4%BE%8B%E4%BB%A3%E7%A0%81%E7%9A%84%E9%97%AE%E9%A2%98%E3%80%82%E6%88%91%E6%AD%A3%E5%9C%A8%E4%BD%BF%E7%94%A8%3CSPAN%3ES32K144_PT2000_EXAMPLE%3C%2FSPAN%3E%E7%A4%BA%E4%BE%8B%E4%BB%A3%E7%A0%81%E3%80%82%3C%2FSPAN%3E%3CSPAN%20class%3D%22%22%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%E9%A1%B9%E7%9B%AE%E5%B9%B6%E5%AF%B9%3CSPAN%3EPT2000_data_RAM%3C%2FSPAN%3E%E7%9A%84%E5%89%8D%E4%B8%89%E4%B8%AA%E5%85%83%E7%B4%A0%E8%BF%9B%E8%A1%8C%E4%BA%86%E4%BF%AE%E6%94%B9%E3%80%82%3C%2FSPAN%3E%3CSPAN%20class%3D%22%22%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3EPT2000_LoadData.c%3C%2FSPAN%3E%E4%B8%AD%E7%9A%84%E6%95%B0%E7%BB%84%3C%2FSPAN%3E%3CSPAN%20class%3D%22%22%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%E6%96%87%E4%BB%B6%E3%80%82%E5%B0%86%E5%9B%BA%E4%BB%B6%E5%88%B7%E5%86%99%E5%88%B0%20S32K144-Q100%20%E6%9D%BF%E5%B9%B6%E8%BF%9E%E6%8E%A5%20FRDMPKPT2000EVM%20%E5%90%8E%EF%BC%8C%E6%88%91%E5%9C%A8%E7%A4%BA%E6%B3%A2%E5%99%A8%E4%B8%8A%E8%A7%82%E5%AF%9F%E4%BA%86%E7%94%B5%E6%B5%81%E6%B3%A2%E5%BD%A2%E3%80%82%E7%84%B6%E8%80%8C%EF%BC%8C%E5%B0%BD%E7%AE%A1%E6%88%91%E5%AF%B9%E6%95%B0%E6%8D%AE%20RAM%20%E8%BF%9B%E8%A1%8C%E4%BA%86%E4%BF%AE%E6%94%B9%EF%BC%8C%E6%B3%A2%E5%BD%A2%E4%BB%8D%E7%84%B6%E4%BF%9D%E6%8C%81%E4%B8%8D%E5%8F%98%E3%80%82%3C%2FSPAN%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%20class%3D%22%22%3E%3CSPAN%20class%3D%22%22%3E%E8%AF%B7%E9%97%AE%E6%9C%89%E4%BA%BA%E8%83%BD%E5%B8%AE%E6%88%91%E7%90%86%E8%A7%A3%E4%B8%80%E4%B8%8B%E4%B8%BA%E4%BB%80%E4%B9%88%E6%9B%B4%E6%94%B9%E6%B2%A1%E6%9C%89%E7%94%9F%E6%95%88%E5%90%97%EF%BC%9F%E6%88%91%E6%98%AF%E5%90%A6%E9%81%97%E6%BC%8F%E4%BA%86%E4%BB%80%E4%B9%88%EF%BC%8C%E4%BE%8B%E5%A6%82%E7%89%B9%E5%AE%9A%E7%9A%84%E5%88%9D%E5%A7%8B%E5%8C%96%E6%AD%A5%E9%AA%A4%E6%88%96%E9%9C%80%E8%A6%81%E4%BF%AE%E6%94%B9%E7%9A%84%E4%B8%8D%E5%90%8C%E6%95%B0%E6%8D%AE%20RAM%20%E9%83%A8%E5%88%86%EF%BC%9F%3C%2FSPAN%3E%3C%2FP%3E%3CP%20class%3D%22%22%3E%3CSPAN%20class%3D%22%22%3E%E6%8F%90%E5%89%8D%E6%84%9F%E8%B0%A2%E6%82%A8%E7%9A%84%E5%B8%AE%E5%8A%A9%EF%BC%81%3C%2FSPAN%3E%3C%2FP%3E%3CP%20class%3D%22%22%3E%3CSPAN%20class%3D%22%22%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fc-pwmxy87654%2FPT2000%2Fpd-p%2FPT2000%22%20class%3D%22lia-product-mention%22%20data-product%3D%221592-1%22%20target%3D%22_blank%22%3EPT2000%3C%2FA%3E%20%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fc-pwmxy87654%2FS32K144EVB%2Fpd-p%2FS32K144EVB%22%20class%3D%22lia-product-mention%22%20data-product%3D%223500-1%22%20target%3D%22_blank%22%3ES32K144EVB%3C%2FA%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2382530%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32K144_PT2000_EXAMPLE%3A%20Modifying%20DATA_RAM%20has%20no%20effect%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2382530%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E5%A5%BD%E7%9A%84%EF%BC%8C%E8%B0%A2%E8%B0%A2%E3%80%82%E7%A5%9D%E4%BD%A0%E4%BB%8A%E5%A4%A9%E8%BF%87%E5%BE%97%E6%84%89%E5%BF%AB%EF%BC%81%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2382515%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32K144_PT2000_EXAMPLE%3A%20Modifying%20DATA_RAM%20has%20no%20effect%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2382515%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E4%BD%A0%E5%A5%BD%20D1ego%EF%BC%8C%3C%2FP%3E%0A%3CDIV%3E%0A%3CDIV%3Esend_single_PT2000_SPI_Cmd(WRITE%2C%20ch1_ctrl_reg_uc0%2C%200x00)%3B%3C%2FDIV%3E%0A%3CDIV%3E%E8%AF%A5%E5%91%BD%E4%BB%A4%E9%80%9A%E8%BF%87%20SPI%20%E5%B0%86%E6%8E%A7%E5%88%B6%E5%80%BC%E5%86%99%E5%85%A5%E9%80%9A%E9%81%93%201%20%E6%8E%A7%E5%88%B6%E5%AF%84%E5%AD%98%E5%99%A8%E3%80%82%3CSPAN%3E%E5%AE%83%E7%94%A8%E4%BA%8E%3C%2FSPAN%3E%E9%85%8D%E7%BD%AE%E9%80%9A%E9%81%93%E7%9A%84%E8%BF%90%E8%A1%8C%E6%A8%A1%E5%BC%8F%E5%92%8C%E8%A1%8C%E4%B8%BA%3CSPAN%3E%E3%80%82%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CDIV%3E%E6%9C%80%E8%AF%9A%E6%8C%9A%E7%9A%84%E9%97%AE%E5%80%99%EF%BC%8C%3C%2FDIV%3E%0A%3CDIV%3E%E7%BA%A6%E7%91%9F%E5%A4%AB%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2382512%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32K144_PT2000_EXAMPLE%3A%20Modifying%20DATA_RAM%20has%20no%20effect%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2382512%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E4%BD%A0%E5%A5%BD%EF%BC%8CJozef%3C%2FP%3E%3CP%3E%E6%84%9F%E8%B0%A2%E4%BD%A0%E7%9A%84%E5%9B%9E%E5%A4%8D%E3%80%82%E6%88%91%E4%BC%9A%E8%AF%95%E8%AF%95%E4%BD%A0%E7%9A%84%E5%BB%BA%E8%AE%AE%E3%80%82%3C%2FP%3E%3CP%3E%E5%85%B3%E4%BA%8E%E8%BF%99%E8%A1%8C%E4%BB%A3%E7%A0%81%EF%BC%8C%E6%88%91%E8%BF%98%E6%9C%89%E4%B8%80%E4%B8%AA%E9%97%AE%E9%A2%98%EF%BC%9A%3C%2FP%3E%3CP%3Esend_single_PT2000_SPI_Cmd(WRITE%2C%20ch1_ctrl_reg_uc0%2C%200x00)%3B%3C%2FP%3E%3CP%3E%E8%AF%B7%E9%97%AE%E6%82%A8%E8%83%BD%E5%90%A6%E6%BE%84%E6%B8%85%E4%B8%80%E4%B8%8B%EF%BC%9A%3C%2FP%3E%3CP%3E%C2%B7%20%E8%BF%99%E4%B8%AA%E5%87%BD%E6%95%B0%E7%9A%84%E7%9B%AE%E7%9A%84%E6%98%AF%E4%BB%80%E4%B9%88%EF%BC%9F%3CBR%20%2F%3E%C2%B7%20%E5%9C%A8%E6%AD%A4%E4%B8%8A%E4%B8%8B%E6%96%87%E4%B8%AD%EF%BC%8C%E5%80%BC%200x00%20%E4%BB%A3%E8%A1%A8%E4%BB%80%E4%B9%88%EF%BC%9F%3CBR%20%2F%3E%C2%B7%20%E6%98%AF%E5%90%A6%E6%9C%89%E5%AF%84%E5%AD%98%E5%99%A8%E6%98%A0%E5%B0%84%E8%A1%A8%E6%88%96%E7%94%A8%E6%88%B7%E6%89%8B%E5%86%8C%E6%8F%8F%E8%BF%B0%E6%AD%A4%E5%AF%84%E5%AD%98%E5%99%A8%E7%9A%84%E4%BD%8D%E5%AE%9A%E4%B9%89%EF%BC%9F%3CBR%20%2F%3E%C2%B7%20%E5%A6%82%E6%9E%9C%E6%88%91%E5%B0%86%E6%AD%A4%E5%80%BC%E6%9B%B4%E6%94%B9%E4%B8%BA%E5%85%B6%E4%BB%96%E5%80%BC%EF%BC%88%E4%BE%8B%E5%A6%82%200x40%E3%80%810x80%20%E7%AD%89%EF%BC%89%EF%BC%8C%E4%BC%9A%E5%AF%B9%E8%BE%93%E5%87%BA%E6%B3%A2%E5%BD%A2%E6%88%96%E7%94%B5%E6%B5%81%E6%88%91%E7%9A%84%E4%BA%A7%E7%94%9F%E4%BB%80%E4%B9%88%E5%BD%B1%E5%93%8D%EF%BC%9F%3C%2FP%3E%3CP%3E%E6%88%91%E6%AD%A3%E5%9C%A8%E5%B0%9D%E8%AF%95%E4%BA%86%E8%A7%A3%E5%A6%82%E4%BD%95%E6%AD%A3%E7%A1%AE%E9%85%8D%E7%BD%AE%E5%BD%93%E5%89%8D%E9%85%8D%E7%BD%AE%E6%96%87%E4%BB%B6%E3%80%82%3C%2FP%3E%3CP%3E%E6%84%9F%E8%B0%A2%E6%82%A8%E7%9A%84%E5%B8%AE%E5%8A%A9%EF%BC%81%3C%2FP%3E%3CP%3E%E6%9C%80%E8%AF%9A%E6%8C%9A%E7%9A%84%E9%97%AE%E5%80%99%EF%BC%8C%3C%2FP%3E%3CP%3ED1ego%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2382498%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32K144_PT2000_EXAMPLE%3A%20Modifying%20DATA_RAM%20has%20no%20effect%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2382498%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E4%BD%A0%E5%A5%BD%20D1ego%EF%BC%8C%3C%2FP%3E%0A%3CDIV%3E%0A%3COL%3E%0A%3CLI%3E%0A%3CP%20class%3D%22%22%3E%3CFONT%3E%3CSPAN%20class%3D%22%22%3E%E5%9C%A8%3CSPAN%3EProgramDevice()%3C%2FSPAN%3E%E4%B8%AD%3C%2FSPAN%3E%3CSPAN%20class%3D%22%22%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%E6%88%91%E5%B7%B2%E7%BB%8F%E8%B0%83%E7%94%A8%E4%BA%86%3CSPAN%3Edownload_RAM(DATA_RAM)%3C%2FSPAN%3E%E5%87%BD%E6%95%B0%3C%2FSPAN%3E%3CSPAN%20class%3D%22%22%3E%E3%80%82%E8%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%A8%E4%BA%8E%E6%B3%A2%E5%BD%A2%E7%94%9F%E6%88%90%3CSPAN%3E%E3%80%82%3C%2FSPAN%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3E%3CEM%20style%3D%22font-family%3A%20inherit%3B%22%3E%E5%86%99%E5%85%A5%3C%2FEM%3E%3CSPAN%3E%20DPRAM%3C%2FSPAN%3E%3CSPAN%3E%20%E4%B8%8D%E9%9C%80%E8%A6%81%E9%A2%9D%E5%A4%96%E7%9A%84%E4%BB%A3%E7%A0%81%20%EF%BC%8C%3C%2FSPAN%3E%3CSPAN%3E%20%E4%BD%86%3C%2FSPAN%3E%20%E5%BF%85%E9%A1%BB%E7%A1%AE%E4%BF%9D%20%E5%9C%A8%E4%B8%8B%E8%BD%BD%E5%90%8E%E9%87%8D%E6%96%B0%E5%90%AF%E5%8A%A8%2F%E8%A7%A6%E5%8F%91%E4%BF%A1%E5%8F%B7%20PT2000%3CSPAN%3E%20%E5%BA%8F%E5%88%97%E5%99%A8%EF%BC%8C%E4%BB%A5%E4%BE%BF%E5%BA%94%E7%94%A8%E6%96%B0%E6%95%B0%E6%8D%AE%E3%80%82%3C%2FSPAN%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%3E%3CSPAN%20class%3D%22%22%3E2.%20%E5%85%B3%E4%BA%8E%E2%80%9C%E4%BF%AE%E6%94%B9%E5%90%8E%E9%87%8D%E5%90%AFPT2000%E2%80%9D%E2%80%94%E2%80%94%E6%82%A8%E5%85%B7%E4%BD%93%E6%8C%87%E7%9A%84%E6%98%AF%E4%BB%80%E4%B9%88%E6%93%8D%E4%BD%9C%EF%BC%9F%E7%9B%AE%E5%89%8D%EF%BC%8C%E6%88%91%E5%B0%86RESETB%E5%BC%95%E8%84%9A%E6%8B%89%E4%BD%8E%E5%86%8D%E6%8B%89%E9%AB%98%E6%9D%A5%E5%A4%8D%E4%BD%8DPT2000%EF%BC%8C%E7%84%B6%E5%90%8E%E9%87%8D%E6%96%B0%E6%89%A7%E8%A1%8C%3CSPAN%3EProgramDevice()%E5%87%BD%E6%95%B0%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22%22%3E%E3%80%82%E8%BF%99%E6%A0%B7%E5%81%9A%E6%AD%A3%E7%A1%AE%E5%90%97%EF%BC%9F%E5%A6%82%E6%9E%9C%E4%B8%8D%E5%AF%B9%EF%BC%8C%E6%88%91%E5%BA%94%E8%AF%A5%E6%80%8E%E4%B9%88%E5%81%9A%EF%BC%9F%3C%2FSPAN%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%3E%3CSPAN%20class%3D%22%22%3E%5BA%5D%3C%2FSPAN%3E%3C%2FFONT%3E%3CSPAN%3E%E6%AD%A3%E7%A1%AE%E7%A8%8B%E5%BA%8F%EF%BC%9A%3C%2FSPAN%3E%3C%2FP%3E%0A%3CDIV%3E%0A%3COL%3E%0A%3CLI%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3E%E8%AF%B7%E5%85%88RESET%E8%AE%BE%E5%A4%87%3C%2FFONT%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CFONT%20color%3D%22%230000FF%22%3E%E6%8B%89%E4%BD%8E%20RESETB%20%E2%86%92%20%E9%AB%98%3C%2FFONT%3E%3C%2FLI%3E%0A%3CLI%3E%3CFONT%20color%3D%22%230000FF%22%3E%E7%AD%89%E5%BE%85%E8%AE%BE%E5%A4%87%E5%88%9D%E5%A7%8B%E5%8C%96%E5%AE%8C%E6%88%90%3C%2FFONT%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%3CLI%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3E%E5%8A%A0%E8%BD%BD%E6%96%B0%E6%95%B0%E6%8D%AE%3C%2FFONT%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CFONT%20color%3D%22%230000FF%22%3E%E8%B0%83%E7%94%A8%20download_RAM(DATA_RAM)%3C%2FFONT%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%3CLI%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3E%E5%90%AF%E5%8A%A8%2F%E9%87%8D%E6%96%B0%E5%90%AF%E7%94%A8%20PT2000%20%E6%93%8D%E4%BD%9C%3C%2FFONT%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CFONT%20color%3D%22%230000FF%22%3E%E7%A1%AE%E4%BF%9D%20PT2000%20%E9%9F%B3%E5%BA%8F%E5%99%A8%E5%B7%B2%E6%98%8E%E7%A1%AE%E5%90%AF%E5%8A%A8%EF%BC%88%E5%85%B7%E4%BD%93%E5%8F%96%E5%86%B3%E4%BA%8E%E6%82%A8%E7%9A%84%E8%BD%AF%E4%BB%B6%2F%E9%A9%B1%E5%8A%A8%E7%A8%8B%E5%BA%8F%EF%BC%89%E3%80%82%3C%2FFONT%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CDIV%3E%E6%9C%80%E8%AF%9A%E6%8C%9A%E7%9A%84%E9%97%AE%E5%80%99%EF%BC%8C%3C%2FDIV%3E%0A%3CDIV%3E%E7%BA%A6%E7%91%9F%E5%A4%AB%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2382399%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32K144_PT2000_EXAMPLE%3A%20Modifying%20DATA_RAM%20has%20no%20effect%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2382399%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%20class%3D%22%22%3E%3CSPAN%20class%3D%22%22%3E%E5%97%A8%EF%BC%8C%E7%BA%A6%E7%91%9F%E5%A4%AB%EF%BC%8C%3C%2FSPAN%3E%3C%2FP%3E%3CP%20class%3D%22%22%3E%3CFONT%3E%3CSPAN%20class%3D%22%22%3E%E6%84%9F%E8%B0%A2%E6%82%A8%E7%9A%84%E8%A7%A3%E9%87%8A%E3%80%82%E6%88%91%E5%B7%B2%E7%BB%8F%E4%BF%AE%E6%94%B9%E4%BA%86%3CSPAN%3EPT2000_data_RAM%3C%2FSPAN%3E%E4%B8%AD%E7%9A%84%E5%80%BC%E3%80%82%3C%2FSPAN%3E%3CSPAN%20class%3D%22%22%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%E6%88%91%E5%B0%86%E7%A8%8B%E5%BA%8F%E7%83%A7%E5%BD%95%E5%88%B0%E9%98%B5%E5%88%97%E4%B8%AD%EF%BC%8C%E7%84%B6%E5%90%8E%E5%B0%86%E7%A8%8B%E5%BA%8F%E7%83%A7%E5%BD%95%E5%88%B0%E5%BC%80%E5%8F%91%E6%9D%BF%E4%B8%8A%E3%80%82%E7%84%B6%E8%80%8C%EF%BC%8C%E6%B3%A2%E5%BD%A2%E4%BB%8D%E7%84%B6%E6%B2%A1%E6%9C%89%E5%8F%98%E5%8C%96%E3%80%82%3C%2FSPAN%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%20class%3D%22%22%3E%3CSPAN%20class%3D%22%22%3E%E6%88%91%E6%9C%89%E4%B8%A4%E4%B8%AA%E5%85%B7%E4%BD%93%E9%97%AE%E9%A2%98%EF%BC%9A%3C%2FSPAN%3E%3C%2FP%3E%3COL%3E%3CLI%3E%3CP%20class%3D%22%22%3E%3CFONT%3E%3CSPAN%20class%3D%22%22%3E%E5%9C%A8%3CSPAN%3EProgramDevice()%3C%2FSPAN%3E%E4%B8%AD%3C%2FSPAN%3E%3CSPAN%20class%3D%22%22%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%E6%88%91%E5%B7%B2%E7%BB%8F%E8%B0%83%E7%94%A8%E4%BA%86%3CSPAN%3Edownload_RAM(DATA_RAM)%3C%2FSPAN%3E%E5%87%BD%E6%95%B0%3C%2FSPAN%3E%3CSPAN%20class%3D%22%22%3E%E3%80%82%E8%BF%99%E4%B8%8D%E5%B0%B1%E6%98%AF%E5%B0%86%E6%95%B0%E6%8D%AE%E5%8A%A0%E8%BD%BD%E5%88%B0%20DPRAM%20%E7%9A%84%E4%BB%A3%E7%A0%81%E5%90%97%EF%BC%9F%E6%88%91%E6%98%AF%E5%90%A6%E9%9C%80%E8%A6%81%E5%9C%A8%E5%85%B6%E4%BB%96%E5%9C%B0%E6%96%B9%E6%B7%BB%E5%8A%A0%E4%BB%BB%E4%BD%95%E9%A2%9D%E5%A4%96%E7%9A%84%E4%BB%A3%E7%A0%81%E6%9D%A5%E7%A1%AE%E4%BF%9D%E6%95%B0%E6%8D%AE%E5%AE%9E%E9%99%85%E5%8A%A0%E8%BD%BD%E6%88%90%E5%8A%9F%EF%BC%9F%3C%2FSPAN%3E%3C%2FFONT%3E%3C%2FP%3E%3C%2FLI%3E%3CLI%3E%3CP%20class%3D%22%22%3E%3CFONT%3E%3CSPAN%20class%3D%22%22%3E%E5%85%B3%E4%BA%8E%E2%80%9C%E4%BF%AE%E6%94%B9%E5%90%8E%E9%87%8D%E5%90%AFPT2000%E2%80%9D%E2%80%94%E2%80%94%E6%82%A8%E5%85%B7%E4%BD%93%E6%8C%87%E7%9A%84%E6%98%AF%E4%BB%80%E4%B9%88%E6%93%8D%E4%BD%9C%EF%BC%9F%E7%9B%AE%E5%89%8D%EF%BC%8C%E6%88%91%E5%B0%86RESETB%E5%BC%95%E8%84%9A%E6%8B%89%E4%BD%8E%E5%86%8D%E6%8B%89%E9%AB%98%E6%9D%A5%E5%A4%8D%E4%BD%8DPT2000%EF%BC%8C%E7%84%B6%E5%90%8E%E9%87%8D%E6%96%B0%E6%89%A7%E8%A1%8C%3CSPAN%3EProgramDevice()%E5%87%BD%E6%95%B0%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22%22%3E%E3%80%82%E8%BF%99%E6%A0%B7%E5%81%9A%E6%AD%A3%E7%A1%AE%E5%90%97%EF%BC%9F%E5%A6%82%E6%9E%9C%E4%B8%8D%E5%AF%B9%EF%BC%8C%E6%88%91%E5%BA%94%E8%AF%A5%E6%80%8E%E4%B9%88%E5%81%9A%EF%BC%9F%3C%2FSPAN%3E%3C%2FFONT%3E%3C%2FP%3E%3C%2FLI%3E%3C%2FOL%3E%3CP%20class%3D%22%22%3E%3CSPAN%20class%3D%22%22%3E%E6%84%9F%E8%B0%A2%E6%82%A8%E7%9A%84%E5%B8%AE%E5%8A%A9%EF%BC%81%3C%2FSPAN%3E%3C%2FP%3E%3CP%20class%3D%22%22%3E%3CSPAN%20class%3D%22%22%3E%E9%A1%BA%E7%A5%9D%E5%95%86%E7%A5%BA%EF%BC%81%3C%2FSPAN%3E%3C%2FP%3E%3CP%20class%3D%22%22%3E%3CSPAN%20class%3D%22%22%3ED1ego%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2382369%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32K144_PT2000_EXAMPLE%3A%20Modifying%20DATA_RAM%20has%20no%20effect%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2382369%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E4%BD%A0%E5%A5%BD%20D1ego%EF%BC%8C%3C%2FP%3E%0A%3CDIV%3EPT2000_data_RAM%20%E6%95%B0%E7%BB%84%E5%8F%AA%E6%98%AF%E4%B8%80%E4%B8%AA%E8%BD%AF%E4%BB%B6%E7%BC%93%E5%86%B2%E5%8C%BA%EF%BC%9B%E9%99%A4%E9%9D%9E%E5%B0%86%E6%9B%B4%E6%96%B0%E7%9A%84%E6%95%B0%E6%8D%AE%E6%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