Quantcast
Viewing all articles
Browse latest Browse all 149806

Forum Post: RE: Enable uart2 with am335x SDK 7.00 for am335x SK board

These values are the difference between the offsets for the particular pins configuration registers, and offset 0x800 of the CONTROL_MODULE. Please check the AM335x TRM for more information.

The next value is what will be stored in this configuration register.

You wish to use the SPI0_SCLK and SPI0_D0 pins for UART2, which means that you have to multiplex them in mode1 (see the AM335x datasheet). Your pinmuxing should look like this:

uart2_pins: pinmux_uart2_pins {
pinctrl-single,pins = <
0x150 (PIN_INPUT_PULLUP | MUX_MODE1)/* spi0_sclk.uart2_rxd */
0x154 (PIN_OUTPUT_PULLDOWN | MUX_MODE1)/* spi0_d0.uart2_txd */
>;
Best regards,
Miroslav

Viewing all articles
Browse latest Browse all 149806

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>