Hi ,
I am new to F28M3X device. i have a doubt
Why did not make Hardware registers (defined structures to reg ) to configure registers in M3 MCU.
is it possible or not as like C28x.
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.
It should be possible, I haven't tried this with latest tool chains but when I tried this around 4 years back there were some problems with the linked structures to register addresses. The linker was trying to create a load section to these locations so I wasn't able to load the built coff file. Maybe I must have used NOLOAD or DSECT type or maybe I missed something else. You can give it a try.
But is there any reason you want to go with the bit fields like C28x instead of sticking to ARM coding style like other developers world wide? If you want to port some existing ARM middle ware libraries then you might have to work through the port a lot more if you implement bit field style headers.
Best Regards
Santosh
Depends on what you are developing and what is it going to be used for. Mostly its portability, scalability and easy adaptability with other tools (compilers/IDE).
Best Regards
Santosh