K60 UART FIFO Size Control

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

K60 UART FIFO Size Control

Jump to solution
2,885 Views
markccrow
Contributor I

I have researched and hunted for hours trying to find a way to set a UARTs RX and TX FIFO size with no luck whatsoever (even Processor Expert did not seem to generate code which set the FIFO depths).

 

Can anyone point me in the right direction?

 

Thanks

0 Kudos
Reply
1 Solution
1,695 Views
ndavies
Contributor V

There isn't any way to change the size of the FIFOs. The sizes are read only. The PFIF0 register only reports the amount of FIFO built into the UART. The control bits in PFIFO only turn on and off the FIFOs.

 

In section 55.3.16 of the \K60P144M150SF3RM.pdf , the subnote states

TXFIFOSIZE bitfield: The reset value depends on whether the specific UART instance supports the FIFO and on the size of
that FIFO. See the Chip Configuration details for more information on the FIFO size supported for
each UART instance.

RXFIFOSIZE bitfield: The reset value depends on whether the specific UART instance supports the FIFO and on the size of
that FIFO. See the Chip Configuration details for more information on the FIFO size supported for
each UART instance.

 

In section 3.9.7.1 States

7. UART0 and UART1 contains 8-entry transmit and 8-entry receive FIFOs
8. All other UARTs contain a 1-entry transmit and receive FIFOs

 

 

View solution in original post

0 Kudos
Reply
3 Replies
1,695 Views
sudhanshumehta
Contributor IV

Thanks for correct answer :-)

0 Kudos
Reply
1,696 Views
ndavies
Contributor V

There isn't any way to change the size of the FIFOs. The sizes are read only. The PFIF0 register only reports the amount of FIFO built into the UART. The control bits in PFIFO only turn on and off the FIFOs.

 

In section 55.3.16 of the \K60P144M150SF3RM.pdf , the subnote states

TXFIFOSIZE bitfield: The reset value depends on whether the specific UART instance supports the FIFO and on the size of
that FIFO. See the Chip Configuration details for more information on the FIFO size supported for
each UART instance.

RXFIFOSIZE bitfield: The reset value depends on whether the specific UART instance supports the FIFO and on the size of
that FIFO. See the Chip Configuration details for more information on the FIFO size supported for
each UART instance.

 

In section 3.9.7.1 States

7. UART0 and UART1 contains 8-entry transmit and 8-entry receive FIFOs
8. All other UARTs contain a 1-entry transmit and receive FIFOs

 

 

0 Kudos
Reply
1,695 Views
markccrow
Contributor I

Thank you so very much.  I must have searched that manual 20 times and somehow never saw the key info you pointed out.  Of course, if you search for 'FIFO' you will get 4,567 hits...

0 Kudos
Reply