2023-01-04 03:52 AM
Hey I found a strange documentation on your wiki page
https://wiki.st.com/stm32mpu/wiki/STM32MP15_OTP_mapping
3:
14-7 (8 bits)UART instances disablingIf it is different from zero, then each bit disables an UART instance.
Collapse
Why is all enabled when all UARTS are 1?
I set everything to 1 but I get messages on the serial console.
Do you have a hint for me?
Greetings
Solved! Go to Solution.
2023-01-10 10:09 AM
Hi BBoge.2 (Community Member)
0b11111111: all UART instances are enabled
This is a protection to avoid bricking all the USART ports by mistake.
If you want to disable all UART instances at once, you should use OTP3.23-16 boot source disable instead (disable UART boot source).
Rgds,
Olivier
2023-01-10 02:20 AM
If I set all bit to 1 in the otp 3. The serial communication will work as before.
For example:
fuse prog -y 0 3 0x185B7F04
But after stm32key close the serial communication is still open.
2023-01-10 10:09 AM
Hi BBoge.2 (Community Member)
0b11111111: all UART instances are enabled
This is a protection to avoid bricking all the USART ports by mistake.
If you want to disable all UART instances at once, you should use OTP3.23-16 boot source disable instead (disable UART boot source).
Rgds,
Olivier
2023-01-10 10:15 PM
Hey Oliver,
and when I try to disable the serial console that prints everything over UART?
Greetings
Benedikt
2023-01-10 11:30 PM
Hi @BBoge.2
This OTP is related to BootROM UART usage (i.e. connection with CubeProgrammer).
This has nothing to do with Console usage.
I'm not expert, but I think console should likely be disabled using Device Tree.
Regards.
2023-01-10 11:36 PM
Hi Patrick,
okay maybe there was a miss understanding from point of view.
Thanks for your support.
Greetings
Benedikt