FRDM-KL25Z

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

FRDM-KL25Z

1,020 Views
mmurawski
Contributor I

On the FRDM-KL25Z development board is it possible to use the flash memory at U5. It is an AT45DB161E chip, and I need to store program variables.

0 Kudos
7 Replies

634 Views
mjbcswitzerland
Specialist V

Hi Mark

If the chip is mounted on the board it will be Ok but I don't think that they are delivered mounted (note the "DNP" in the circuit diagram) - you may need to solder one it.

Regards

Mark

0 Kudos

634 Views
BlackNight
NXP Employee
NXP Employee

Keep in mind that this flash chip is connected to the K20, and not to the KL25Z. So you need to have your program running on the OpenSDA K20.

0 Kudos

634 Views
Paul_Tian
NXP Employee
NXP Employee

Hi, Mark

I am agree with Erich. This flash is connect to K20. So if you change K20 code, I am afraid that you cannot use OpenSDA.

Best Regards

Paul

0 Kudos

634 Views
mjbcswitzerland
Specialist V

Hi

The FRDM-KL25Z development board is for development so you can connect SPI Flash to its board connectors or solder one onto the available pads, cut the tracks to the K20 and wire up the device to the KL25.

To store program variables it is also possible to use the internal Flash of the KL25 (when enough space is free).

Regards

Mark

0 Kudos

634 Views
Paul_Tian
NXP Employee
NXP Employee

Hi, Mark

Yes, you are correct. Another solution is using pin out hole to connect to flash. This can reserve a good FRDM-KL25Z.

Best Regards

Paul

0 Kudos

634 Views
mjbcswitzerland
Specialist V

Hi

I took a look at using the SO-8 wide footprint on the board but it is not so simple as the laout routes the signals 'through' the footprint pads. This makes it difficult to isolate the pads without interrupting signals that look to be required by the K20 debugger. Therefore it is probably best to add such a device to the connector pins.

Looking at the pins available I would chose the following connection (most pins close together on one connector) and use SPI1:

[VDD J9-4 / 0V J9-14]

SPI1_CS      PTE-4 (J9-13)

SPI1_SCK    PTE-2 (J9-9)

SPI1_MOSI   PTE-1 (J2-20)

SPI1_MISO   PTE-3 (J9-11)

Reset (J9-6)


Regards


Mark


0 Kudos

634 Views
Paul_Tian
NXP Employee
NXP Employee

Hi, Mark

Yes, you are correct. As I mentioned, you need to connect SPI flash to KL25 freedom board separately.

Best Regards

Paul

0 Kudos