I am using MK66FN2M0VLQ18 MCU in our customized board.
In SDK_2.0_MK66FN2M0xxx18 stack there is no example using flex bus operation. I found some flex bus driver in middle ware , but quite confusing how start with that, How can I use flex bus related API's available.
Can any one give some brief idea on this.
Thank you.,
Regards
Karthik
Hi Karthik,
There is Flexbus example in KSDK2.0 package. You can refer to boards\twrk65f180m\driver_examples\flexbus. But this will depend on which exact device you connect with Flexbus. Is it external SRAM, bus interfaced LCD or CPLD/FPGA?
Hao
Hi, Karthik,
This is my opinion, as you know that the FlexBus is used to read/write memory or memory-mapped device, the FlexBus data pins logic can not keep forever, when the memory accessing is over, the data bus logic are unknown.
If you want to read/write IO, how about using GPIO pins, the K65 has a lot of GPIO pins, for example PortA, PortB, PortC, PortD...
Hope it can help you
BR
Xiangjun Rong
Hai xiangjun.rong.,
Thank you so much for the reply.
Actually I forgot to mention Flex bus is interfaced with some temporary Buffer memory. I understand how to read/write through flex bus. I will clarify if any further issue arise.
Thank a lot for the help.
Regards
Karthik.,