Thank you for your teaching.
I would be grateful if you could teach me three more points.
(1)
For GPIOF, I am using the attached MKM34Z7.h, which is on line 5446. Is this header wrong?
The CPU uses MKM34Z256VLL7.
/ ** Peripheral GPIOF base address * /
#define GPIOF_BASE (0x400FF041u)
/ ** Peripheral GPIOF base pointer * /
(2)
In the reference manual, there is the following table and the following sentences, but is it okay to use the address in (1)?
---
Kinetis KM34 Sub-Family Reference Manual, Rev. 3, 09/2017 - 20.3.3 Additional details on decorated addresses and GPIO accesses
・・・
As a result, undecorated GPIO references and decorated AND, OR, XOR, LAC1 and
LAS1 operations can use the standard 0x400F_F000 base address, while decorated BFI
and UBFX operations must use the alternate 0x4000_F000 base address. Another
implementation can simply use 0x400F_F000 as the base address for all undecorated
GPIO accesses and 0x4000_F000 as the base address for all decorated accesses. Both
implementations are supported by the hardware.
---
(3)
The address for MBE is in the table, but the value corresponding to GPIO is unknown.
Please tell us some actual addresses of GPIOA to GPIOF.
Peripheral address space : 0x4400_0000–0x4FFF_FFFF
Decorated AND, OR, XOR, LAC1, LAS1 references to peripherals and GPIO based at either 0x4000_F000 or 0x400F_F000