I intend do use external 16 bit asynchronous SRAM with K61 micro. FlexBus in multiplexed 16 bit address and data mode. I am wondering if it possible to perform various size accesses to the SRAM, e.g. 8 bit, 16 bit, 32 bit in the same way as it is possible with internal SRAM? What about unaligned access? I have read the reference manual and the AN4393 application note, but I can't figure out the answer.
Any help will be greatly appreciated.
Hi Michael,
Technically hardware is able to perform 8-bit and 32-bit accesses. For 16-bit access you will see that the Chip Select signal behaves the same as a 32-bit access, however the compiler is able to perform the necessary instructions to return 16-bit data.
You may find the attachments useful.
Best regards,
Carlos Musich
Technical Support Engineer