I have referred many tutorials to get UART working in bare metal environment on RPI 3.
I tried all these codes nothing worked. Nothing gets sent/received from host computer serial terminal to RPI.
I have following files in my sd card.
- kernel7.img (uart code)
- cmdline.txt(I think it's not necessary for bare metal tutorials)
I am not able to find out why it's not working for me. I read about 2 UARTS in RPI3
- miniUART or UART1 : Which is default linux console etc ttyS0 (weaker has baud rate linked to core_freq)
- UART0 or PL011: ttyAMA0 (more powerful)
I tried all the following options for uart in config.txt
- Add dtoverlay=pi3-disable-bt or dtoverlay=pi3-miniuart-bt
Can someone help me figure out the problem? and if there is problem in config.txt or cmdline.txt then please point me in right direction.
I am really confused between what config.txt parameter turn on which UART hardware.
Thanks in advance