How to use Flexbus burst mode

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to use Flexbus burst mode

835件の閲覧回数
hengwu
Contributor I

Hi

I want to know the way of  flexbus  burst mode.

non-burst mode is like this:

*(uint16_t*)ADDR=wdata0;//uint16_t wdata,rdata
  rdata0=0;
 rdata0=*(uint16_t*)ADDR;

I just want to  know how to do to realize the burst mode.

for example,32bit data write to 16 bit data lane or read  operation.

Thank you a lot

ラベル(1)
0 件の賞賛
返信
2 返答(返信)

656件の閲覧回数
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi, Heng

I think you can use either half-word(16 bits) or word(32 bits) to access the memory no matter whether you use Byte/half-word/word data memory. If you use word to write/read memory and the external memory is half-word memory, the FlexBus is smart enough to generate twice addressing to access the half-word memory.

Hope it can help you

BR

XiangJun Rong

0 件の賞賛
返信

656件の閲覧回数
hengwu
Contributor I

Thank you for your reply.

Actually,my slave device is a FPGA.

I write a 32bite (word) to FPGA via 16 portzise(FB_AD0~FB_AD15).Unfortunatelly,the FB_TBST signal keeps high which should be low when in a burst mode.

Then I make a change that i just write a 32bite (word) to FPGA via 8 portzise(FB_AD0~FB_A7). The FB_TBST signal changes between low and high as the reference diagram shows.I think it is right.

Why can not success via 16 portsize in the same way?

Hope your earliest reply.

Heng Wu

0 件の賞賛
返信