Tool/software:
Hello I have a simple question if I want to set the PA0 LED Pin on the lp-mspm0G3507 to high when should I use the DOUTSET31_0 Register and when should I use DOESET31_0. And when should the DOE31_0 register be used?
Best regards
Ali
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software:
Hello I have a simple question if I want to set the PA0 LED Pin on the lp-mspm0G3507 to high when should I use the DOUTSET31_0 Register and when should I use DOESET31_0. And when should the DOE31_0 register be used?
Best regards
Ali
Hi Ali,
You can find that information in our MSPM0 G-Series 80-MHz Microcontrollers Technical Reference Manual on the GPIO chapters. To give some guidance, though:
Best Regards,
Diego Abad
Thank you for your reply.
I am currently facing a strange issue in Keil uVision. When I write the code in a certain way, I am unable to flash the microcontroller. However, when I comment out the register DOUTCLR31_0
, I am able to flash the microcontroller. Please note that this strange behavior occurs with optimization level -O0.
I know I should ask Keil uVision directly, but I wanted to ask you about this strange behavior as well.
Best regards,
Ali
Hi Ali,
Do you have the latest support package installed?
Best Regards,
Diego Abad
Hi Ali,
I'll ask some of our Software team staff about it. Please wait for further questions soon.
Best Regards,
Diego Abad
Hi Diego!
I removed R/O Base and R/W Base values and it worked
But I do not know why
Best Regards
Ali
Hello Vincenzo, Hello Ali,
It seems like removing the 0x2000_0000 region from the project itself resolved the issue.
Is there anything else that occurred that needs to be addressed? The reason as to why removing it would resolve any issue is the fact that MSPM0G3507 is the SRAM region of 0x2000_0000 is not intended to be used and more than likely an artifact from the ECC could have been causing an issue.
The issue that I am still facing is that each time I click of Build and then I want to load the programm to the FLASH I get this error I have to click of load again and then I can flash the microcontroller and I do not know how to solve this issue. So it would be helpful if there is a quick start documention for keil which shows all the Settings needed.
Best regards
Ali
Hi Ali,
Thanks for the update. Could you provide me with the project so I can test it out on my side to see what is needed?
Thanks
Hi Ali,
I see that you sent a friend request.
Could you send the project over email or direct message on e2e?