Need information for register level coding

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Need information for register level coding

288 Views
Shrini
Contributor I

Hello@team, I Need information of each and every steps for register level coding. Like how to access registers and where do we get those register? and how exactly know that we have to use this register after using other register?

0 Kudos
1 Reply

263 Views
lama
NXP TechSupport
NXP TechSupport

Hi,

There is no such procedure anywhere described. Everything is based on experience and understanding how peripheral works.

Each peripheral has functional description a block diagram described in the reference manual. Usually block diagram shows you bits and registers to set to get required feature.

Also good way is to use example projects from Design Studio. There are examples for given features presented there.

It is really recommended for beginners to use Design Studio examples and Cook Book example projects to see how to start and understand.

S32K1xx Series Cookbook - https://www.nxp.com/docs/en/application-note/AN5413.pdf

 

Of course each peripheral is connected to a clock system and interrupt system so it is necessary to have knowledge about these systems. However, examples also will show you know-how.

 

The S32K3 family does not have a series cookbook. There is an RTD in the design studio with examples.

https://www.nxp.com/design/automotive-software-and-tools/real-time-drivers-rtd:AUTOMOTIVE-RTD?tid=va...

Take a look at the existing application notes and trainings posted on the NXP website S32K1 or S32K3.

Of course the S32K1 has also RTD and SDK examples in the design studio.

Best regards,

Ladislav

0 Kudos