Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
15 years ago

Avalon_Opecore_UART Test

To gain in confidence I initialized my integrated SOPC UART Core as follow and it works

void init_uart(int BAUD)

{

int divi;

divi = (50000000 / BAUD) + 0.5;

IOWR_16DIRECT(UART_BASE_ADRESSE, 0x14, divi);

} // -- end of "init_uart()"

Then I send/receive data successfully.........

Now I integrated my custom avalon_opencore_uart and need to initialize before sending/receiving character.

Please I would appreciate any advice to move forward..........
No RepliesBe the first to reply