Closed dpeterjohnb closed 3 years ago
Hello @dpeterjohnbanner,
Firmware-wise the baudrate should have been reset to the default value when XM132 is restarted. How are you pulling NRESET low and then setting it high? Are you using a GPIO from the STM32 board? What logic level does the STM32 board use?
Best regards, Anton
Thanks @vackraetraed for the reply.
It turned out to be a bad solder connection on the NRESET pin. I appreciate your information since it helped narrow down the problem.
I have a custom board layout with a host MCU STM32 interfacing with the XM132 module over UART.
The firmware running on the STM32 has a configuration sequence at startup to configure the XM132.
Configuration Sequence:
What I have found is that after a power cycle, when I debug the STM32's firmware. I can debug just fine and the startup sequence behaves as expected. But if I restart the debug session, the XM132 will not communicate anymore at the default baud rate, even though it is being reset with the NRESET pin. I added some test code and found the XM132 is still operating at the 1,000,000 baud it was set to in the previous debug session.
Any ideas about this? Is this intended behavior? This could be symptom of something wrong with my board layout for the STM32, but I want to verify what intended behavior of NRESET pin.