Hi, guys
I added a multiplexer with 2 clocks at clock in of UART module
The question is , how can I control the multiplexer select pin?
The logic "high" seems can't be change by program
Thanks
Solved! Go to Solution.
Hi,
Although I have not been able to fully test the program,
probably adding a control register and control it from you program
will do what you want.
uint8_t value ;
value = Control_Reg_Read() ;
value = (value + 1) % 2 ;
Control_Reg_Write(value) ;
moto
You can use a one bit wide status register to provide a select signal.
Bob
Dear Bob
Thanks you reply so soon
But I cant understand how status register works and fit to what I need
Anywhere, thank you very much
Obviusly not my day... I meant to use a control register, not status.
Bob
Hi,
Although I have not been able to fully test the program,
probably adding a control register and control it from you program
will do what you want.
uint8_t value ;
value = Control_Reg_Read() ;
value = (value + 1) % 2 ;
Control_Reg_Write(value) ;
moto
Dear Motoo
Thanks your reply
It looks like what I need
Thanks