To run the program I am using keil v5 simulator observation window the peripheral registers the value is always 0 I step, see have to register operation procedure, but the window in the value of the register is always zero no change,
CodePudding user response:
Didn't respond to me
CodePudding user response:
Try the software simulation results
CodePudding user response:
refer to the second floor qq_45594650 response: try software simulation results? what do you mean? What results? CodePudding user response:
Write BRR will only real port is reset to zero, itself does not retain value CodePudding user response:
Oh, but this is a soft simulation also can't pin change, also did not change after some register write in value is zero and the soft simulation can only run continuously don't know why, thank you. CodePudding user response:
Bosses, how do you see the peripherals register values, which function is opened CodePudding user response:
refer to 6th floor runner @ Mr. Li reply: , how do you see the peripherals register values, open the function of which is ha ha brother are you to answer me or asked me... In the view - a system where a peripheral registers in the viewer, CodePudding user response:
My brother is, of course, consult you, thank you CodePudding user response:
refer to the eighth floor runner @ Mr. Li reply: my brother is, of course, consult you, thank you. keep in touch ha ha I am also beginners CodePudding user response:
You initialize the pin peripheral clock those? No initialization is can't see the result CodePudding user response:
references to the tenth floor SeanOY response: peripheral clock that you initialize the pin? Not results are invisible to initialize CodePudding user response:
references to the tenth floor SeanOY response: peripheral clock that you initialize the pin? Not results are invisible to initialize CodePudding user response:
I just tested it, even if you don't initialize the CRL CRH these registers are not all zero ah, is where there is the problem? CodePudding user response:
What changes do you see the ODR registers have CodePudding user response:
On the 14th floor SeanOY reference response: see any change of the ODR register is no change