Can I control a digital multiplexer in software?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

I am trying to control a digital multiplexer based on input from a serial command. I can't figure out how to command the multiplexer selection through the software (main.c). How do I do that? What document should I be looking at to determine this?

0 Likes
4 Replies
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

In Creator a HW mux can be controlled thru use of a control register. Just place the

   

HW mux and Control register, and look at the datasheets, they contain the APIs to

   

control it thru simple C calls.

   

 

   

   

 

   

 

   

Regards, Dana.

0 Likes
Anonymous
Not applicable

 Many thanks. Looks like its working.

0 Likes
Anonymous
Not applicable

Hello,

   

at the moment I try to control the digital multiplexer with register, too. But I have problems to connect them together via wire like Dana. My errors: Multiple drivers on Signal and terminal mux with width 2 is connected to wire with width 1.

   

I think its not a big problem but sorry I cannot find my mistake!

   

Regards,

   

Flo   

0 Likes
Anonymous
Not applicable

Hi,

   

I solved my problem with this link: http://www.cypress.com/?rID=40097.

   

Regards,

   

Flo

0 Likes