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
I could find no documentation on the ARM version of the Logic Analyzer but in the C51, an output pin cannot be displayed directly because the simulator does not connect to the output pins. Instead you can display the virtual register or a variable. So a quick way would be to assign the value of the output pin to a variable and display the variable or display the corresponding VTR (virtual register). Look up the VTR in the Debugger Manuals. You may need to review the C51 manuals as the ARM manuals appear useless. However, I'm running an older version of the ARM tools so they may have been updated. If you need to see the actual hardware pin value then you need an oscilloscope. Bradford
The ARM documentation isn't useles, but you need to search along a bit.
This is the documentation for I/O for one STM32 chip. I haven't checked which chip is on the evaluation board: http://www.keil.com/dd/vtr/4235/9067.htm
"This is the documentation for I/O for one STM32 chip ... http://www.keil.com/dd/vtr/4235/9067.htm "
and that refers to GPIOB!
The debugger dialog refers to GPIO, but the section at the bottom of the page discussing the virtual registers do not refer to GPIO but to PORTA, PORTB, ...