View Single Post
  #417 (permalink)  
Old 18th Oct 2009, 10:46 am
sid6581's Avatar
sid6581 sid6581 is offline
Member
Keen on MPx players
 
Join Date: Sep 2009
Posts: 54
Default

Quote:
Originally Posted by flasher86 View Post
BTW. Does any one know what are the functions in IOMUX for? I am trying to fix the audio problem in my RK2705 player. And all my clues go to this function. But I don't want to waste time if that has nothing to do with audio.
Many pins in the RK27xx chip can have several usages.
IOMUX functions selects the particular usage for a pin.
They multiplex pins to reduce the number of pins for the chip, which is supposed to reduce cost.

Have a look at system/drivers/hwapi_iomux.h and look at the datasheet for pinout.

For example,
pin #30 is GPIO A1 or LCD data bit 16 or UART0 rxd
pin #31 is GPIO A2 or LCD data bit 17 or UART0 txd

So, if you want to use UART0 to have a nice debug console on your PC, you simply have to do:
IOMUX_SetUart0Port(UART0_UART_TYPE);
and then configure UART0.

You would have to solder TX, RX and GROUND to a board that translates UART <-> RS232 or UART <-> USB.
I would advise this Future Technology Devices Intl - FT2232H Modules
You will have a regular com port appearing on your PC and can use your favorite terminal...
__________________
Rockchip Powah !
Reply With Quote
Sponsored Links