crezyoz

K70 Flexbus Problem - Bus Faults

Discussion created by crezyoz on Jul 30, 2012
Latest reply on Aug 1, 2012 by crezyoz

I have setup the Flexbus to read from a 16bit ADC. I am using AD0-AD15 and one chip select (CS1). I don't mind that it is multiplexed because I was thinking the RD line would just get the data at the correct part of the read cycle.

 

I am using Processor Expert.

 

I set the Flexbus up with a base address of ox60000000.

 

PE Automatically enables the clock to the FlexBus, or so it seems.

 

When I attempt to read with something like:

 

uint16Val = *((uint16 *)0x60000000)

or

uint32Val = *((uint32 *)0x60000000)

 

I get a bus fault. I can't figure out what I am doing wrong. Please Advise!!!

 

 

Outcomes