Please check Kintis 100MHz product example, which includes FlexBus example code.
The code could be downloaded from below link:
KINETIS512_SC : Kinetis family example projects.
Wish it help.
Hi,
Can anyone provide source code for KITSTARTER2EVM: Sensor Toolbox Starter Kit. i.e for accelerometer, pressure sensor, proximity sensor and motion sensing flatform.
Hi,
Can anyone provide source code for KITSTARTER2EVM: Sensor Toolbox Starter Kit. i.e for accelerometer, pressure sensor, proximity sensor and motion sensing flatform.
The code is written in the App Note, you only need to copy, paste and compile.
I recommend you check AN4393, you will find it useful
Hi,
Can u provide example code for read and write operation in flex bus?
Thanks
On Thu, Apr 11, 2013 at 10:49 PM, Pedro Augusto Panecatl Salas <
Please check Kintis 100MHz product example, which includes FlexBus example code.
The code could be downloaded from below link:
KINETIS512_SC : Kinetis family example projects.
Wish it help.
How to set flex bus frequency? Is there any API for it? Othervise how to
set.
Thanks
ck
You can set Flexbus clock frequency at System Clock Divider Register 1 (SIM_CLKDIV1) [OUTDIV3] bits.
Wish it helps.
Hi,
My present code is working on 10MHz and i want to increase it to 30MHz. How to do that. I tried SIM_CLKDIV1 but thats not helping me. Is there any particular register where we to set frequency of a flexbus?
thanks
CK
Hi Kumar,
Which mode of MCG module works in? Just use MCG works in PEE as an example, Kinetis 100MHz product could run core clock frequency up to 100MHz and Flexbus clock frequency up to 50MHz. When MCG module output clock at 100MHz, the System Clock Divider Register 1 (SIM_CLKDIV1) [OUTDIV3] bits set value to 0b11, which is 1/4 of MCG output clock frequency (25MHz). If you want to run Flexbus at 30MHz, the MCG output clock need to be 90MHz/60MHz/30MHz. And you need to set (SIM_CLKDIV1) [OUTDIV3] bits value to 0b10/0b01/0b00.
Wish it helps.
Best regards,
Ma Hui
Ok thank u