Processor Expert Flexbus port size setting

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Processor Expert Flexbus port size setting

858 Views
jimbrady
Contributor I

When I set Processor expert Flexbus (external bus) port size to 32 bits, It is actually setting port size to 8 bits.  I confirmed by looking at FB_CSCRn register setting in "generated code".  Has anyone else seen this issue ?  I noticed this because I am doing 32 bit wide read/write to external bus and the CPU is generating 4 bus transactions instead of 1.

Processor:  Kinetis K70

CodeWarrior 10.6

Windows 7 machine

Thanks,

Jim

0 Kudos
Reply
1 Reply

665 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Jim,

In the generate code , it seems have a bug , from the Reference Manual , when set the 32-bit port size,

the PS is "00", while the generate code is "01"(8 - bit port size):

pastedImage_0.png

pastedImage_1.png

The workaround is change the "01" to "00" by hand , and in order to prevent the code change to "01 ," please disable the generate code of CPU at here:

pastedImage_2.png

Hope it helps


Have a great day,
Alice Yang

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply