Forum Discussion
kpainter
New Contributor
1 year agoNios 2 uart initialization problem
I am using Quartus Lite 22.1.2. I am using the lightweight uart core. It is initialized by the alt_sys_init function and declares an object called uart_0. My problem is this object seems to be get...
tehjingy_Altera
Regular Contributor
1 year agoHi
I have not tried using the LightWeight UART IP before.
But from the user guide you would need to enable the small driver option in the BSP.
In your case have you initialized the called the initialize the UART in your code using the function "intel_lw_uart_ioctl_fd (alt_fd* fd, int req, void* arg);"
You would need to declare your own FD and pass it through the init function.
Could you try sharing your project folder for me to understand better?
Regards
Jingyang, Teh