Hello NXP-Team,
iam trying to check my flash-area with your function :
FS_CM33_FLASH_HW16() ;
unfortunatally it doesnt work, the return value is constant null.
my µC-device is the LPC5536.Are there any examples to test my lpc5536 ?
Solved! Go to Solution.
Hi @ThomasSPana
If you want to run this project successfully, please refer to
SDK_2_16_000_LPCXpresso55S36\middleware\safety_iec60730b\docs\safety\IEC60730B_Example_User_Guide_LPC55Sxx_v4_4.pdf.
BR
Harry
Hello Hang,
thank you for your quick replay. I have tested the flashiap-example and it works. When i add the
IEC60730b-library and test the FS_CM33_FLASH_HW16()- function it return NULL. (CRC-Fault) . I use the LPC5536 µController.... Do i need to activate any function for the HW-CRC-Unit ?
Hello Hang,
currently i test the "lpcxpresso55s36_safety_iec60730b_Flash_Test" PROJECT with the LPC55S3x-EVK Board. If i run the project, i get the same error-code "2" -> Flash-Test error.
Could you also evaluate the project on an LPC55s3x kit?
Hi Hang,
i have already send you a link to my project . Additionally it is possible to setup this example through "MCUexpressoIDE".
My project-configureation : SDK-Wizard-> LPCxpresso55s36 eval-board (sdk_2.xlpc55s36)-> components (Others -> safety) NXP-Safety-IEC60730 ->advaced project settings (default) . That all. After that you can run this project and the flash-error fault should occure
BR
Thomas
Hi @ThomasSPana
If you want to run this project successfully, please refer to
SDK_2_16_000_LPCXpresso55S36\middleware\safety_iec60730b\docs\safety\IEC60730B_Example_User_Guide_LPC55Sxx_v4_4.pdf.
BR
Harry
Hi @ThomasSPana
Given that it returns NULL, this likely indicates a CRC fault or a hardware setup issue with the CRC module on the LPC5536.
The LPC5536 has a built-in hardware CRC module, but it may need to be initialized or enabled before use. So you needs to be set to enable the CRC peripheral.
You can refer to CRC examples about how to use CRC.
BR
Hang
Hi @ThomasSPana
You can download the LPC55S36 SDK from the Select Board | MCUXpresso SDK Builder (nxp.com).
And you can refer to the flashiap and flexspi examples.
These examples should demonstrate basic flash operations and can be a good starting point for your testing.
BR
Hang