MOD54415 data bus addressing

Discussion to talk about software related topics only.
Post Reply
jediengineer
Posts: 192
Joined: Mon Dec 17, 2012 6:24 am

MOD54415 data bus addressing

Post by jediengineer »

Hi all,

Does anyone have any info on how to program the databus addressing pins (J1-32 to J1-47)? I'm attempting to connect a 32:1 mux and wanted to use 5 address bits rather than using gpio. I didn't see any sample programs though - at least none that I recognized. If anyone could help, that would be appreciated. Also, if this is a bad idea, just tell me. Thanks!
User avatar
dciliske
Posts: 624
Joined: Mon Feb 06, 2012 9:37 am
Location: San Diego, CA
Contact:

Re: MOD54415 data bus addressing

Post by dciliske »

Long story short, unless you need extremely low latency access to the MUX, this is going to be way more effort than it's worth. The reason there's no example program for this is because every instance where you'd really want to use the Flexbus is going to require lots of mucking around with the various parameters of the FlexBus module, and their all pretty much unique.

Just write a function that will deassert the enable/clock line for the MUX, decode the MUX selection into GPIO drive requests, and reassert the enable/send the clock strobe. This will be much easier.

If you still feel like doing this, you'll need to read up on chapter 20 of the reference manual.

-Dan
Dan Ciliske
Project Engineer
Netburner, Inc
jediengineer
Posts: 192
Joined: Mon Dec 17, 2012 6:24 am

Re: MOD54415 data bus addressing

Post by jediengineer »

Eh, I was afraid of that... Thanks Dan!
Post Reply