This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TL16C754B: prescaler value setting

Part Number: TL16C754B

Hi,

There is a question in reviewing to replace NXP's SC16C754B with TI's TL16C754BPNR.

The prescaler value setting section is not listed on the TI product.

The text below is part of the SC16C754B Register programming guide.

How does TI device set prescaler? Is it automatic?

thanks,

TS

  • Hello TS

    To set the prescaler you only need to set the bit number 7 of MCR register (0x04). If you set to 0, the prescaler will divide by one, else, will divide by four. But as you see in datasheet, this bit looks gray, it means that you have to have the "enable enhanced functions" enable. But to have access to EFR register you have to have the LCR with 0xBF. Is similar to the example in your picture. For more details, take a look into table 7 and table 8.

    Please, let me know if you have any other questions.

    Regards
    Francisco