Hi! I'd like to know how to code for configuration, writting and reading EEPROM in a KEA64 (S9KEAZN64A).
My "bus CLK" = 20MHz
I already have the reference manual and I'm in chapter 18.
It could be very helpful if someone could share me an example code too please.
I'm working in CodeWarrior
I have another question; how do you install the pack in Code Warrior once this is downloaded?
I'm seeing the page from the link and it takes me to this:
Which of all is the version do I have to download?
Thanks
Hi Robin,
Thanks your your answer. I'm seeing the post you shared me and I have a question, if I'm using Code Warrior, the package in the image, "Keil.Kinetis" will work for Code Warrior? Thanks
Sorry I didn't make it clear:
I did not find example for KEAZN64, but I think you can refer to the EEPROM_demo of KE02. Download the FRDM-KEXX Driver Library Package
Then you should be able to find the example (C:\Users\nxa07315\Desktop\FRDM-KEXX-Driver-Library-Package\ke_drv_lib\build\cw\ke02\EEPROM_demo)
This project is based on CodeWarrior. You don't need to download the Keil package.
KEAZN64 is a derivative from KE02Z64, so you can use it.
What is the process to adapt it?
I already downloaded the Package, and I have the EEPROM project in my workspace, I took the flash.c and flash.h to my project but there's some failiures,
is it really needed to add the common.h and the arm_cm0.h?
You may need to manually modify the EEPROM API in flash.c so that it does not depend on common.h and the arm_cm0.h
Sorry for the inconvenience we bring you!
These TRK-KEA64_LABTS1\2\3\4 examples contain only a few peripheral(UART\FTM\ADC\KBI) drivers.
Have you considered what to do if you need other peripheral drivers?
Maybe you should use Processor Expert to create a KE02 40MHz project, and then add the peripheral drivers you need.
Hello, thank you for the info.
So, if I create a new project, with KE02, it could work for SKEAZN642?
Yes. For example, if you are using KEAZN64, you can choose KE02Z64 when creating a Processor Expert project. The corresponding package needs to be configured in the project.
To create a Processor Expert project is necessary to create a "New MCU project"? Or It can be created inside of my current project?
Please create a "New MCU project" with Processor Expert.
Hello. I see this image in the datasheet but, I don't see where EEPROM memory start, between which directions EEPROM is available? (where does it start and where finish it?)
Thanks.
Please read the "Table 4-1. System memory map" of S9KEA64Z64M20SF0RM, KEA64 Sub-Family Reference Manual - Reference Manual
Hi MartinFalcon95,
Please refer to the discussion in KEA64 EEPROM
Hope it helps.
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.
-------------------------------------------------------------------------------