This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Debug with Logic Analyzer to show GPIOB bit signal

hi, I am trying to use the logic analyzer to capture the output pin on my MCBSTM32 board. I have try to add "GPIOB" into Current Logic Analyzer Signals under Setup Logic Analyzer Menu, but couldn't seems to do that successfully. May i know whats the right way to add and monitor the signal? This pin is connected to an IR Emitter and the 38Khz carrier frequency toggle by a Timer ISR.

regards
Thanks for any input.
clgo

Parents
  • Thank you for all the input. The GPIOB signal is found in ST Micro STM32F10xx Reference Manual. What i am trying to do is read the levels from an input port connected to an IR Receiver, save and retransmit it in 38Khz modulated frequency through GPIOB.0 pin. The 38Khz carrier is generated by toggling the GPIOB.0 pin with period set to 1/38Khz. I have try to store the value read from the output pin into a variable and in stimulated mode it works but not in debugging mode using the ULink Cortex Debugger. Where the value doesn't toggle. Is there a debugging tool in keil to measure the period generated from the output in simulation?

Reply
  • Thank you for all the input. The GPIOB signal is found in ST Micro STM32F10xx Reference Manual. What i am trying to do is read the levels from an input port connected to an IR Receiver, save and retransmit it in 38Khz modulated frequency through GPIOB.0 pin. The 38Khz carrier is generated by toggling the GPIOB.0 pin with period set to 1/38Khz. I have try to store the value read from the output pin into a variable and in stimulated mode it works but not in debugging mode using the ULink Cortex Debugger. Where the value doesn't toggle. Is there a debugging tool in keil to measure the period generated from the output in simulation?

Children
  • The logic analyzer can show you high-resolution timing for the simulated signal.

    When running real hardware, it will be up to you to feed real signals to the processor pins. If you suspect that your processor can't handle the signal in real time - try reducing the frequency of the physical signal just to make sure.

    And always make sure that you separate the internal registers in the processor from the virtual register names used by the debugger when simulating external hardware stimuli for a simulated virtual processor.