Processor Expert How to Get Started

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

Processor Expert How to Get Started

898 Views
haroldvogel
Contributor II

How do I go about picking the library item that I need to generate code to interface with a GPIO line?

What I need to do is configure a GPIO to send a signal to trigger a buzzer when a button is pressed.  I look at the Components Library and I am not sure where to begin.  I have inherited the code from previous developer so there are a number of LDD's already in the components list but I am not sure how they were created.  I noticed that they all have names which do not match anything in the Components Library, so I assume you can name these items what you like which I also hope to learn.

I have programmed GPIO lines on my own when working with other development systems this is the first time that I have had to interface with another application to create the interface.

0 Kudos
Reply
3 Replies

604 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Harold,

For example , when you want use the GPIO_LDD component , you only  need double click it , it will add under the project :

pastedImage_0.png

then configure it

pastedImage_1.png

If i misunderstand your meaning , please tell me your problem in detail.

Hope it helps

Alice

0 Kudos
Reply

604 Views
haroldvogel
Contributor II

Hello Alice Yang,

Thank you for responding to my question.

It is kind of a two part question.

1. How do I know what item to pick from the ‘Components Library’ for the task that I wish to perform?

2. Is there a manual or some documentation that explains the Processor Expert and the Components Library and Inspector?

What I am trying to do is as follows:

I need to set up a GPIO line which will be attached to a buzzer. I will have to send a square to the buzzer (of a to be determined frequency) every time a button on the unit is pressed. Would also like to know how to interface with the code that is generated by ‘Processor Expert’?

Thanks for the help.

John Vogel

0 Kudos
Reply

604 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello John,

For the questioin 2, you can find the explains on "help->contents" :

pastedImage_0.png

For the question 2, the components are most the chip's peripherals , it should refer to the requirement of your project ,

for example , if you want blink one led , you can add the GPIO component.  And there is "Typical Usage" about the components,

when you use the component, you can refer to :

pastedImage_2.png

About the buzzer. i think you only need one GPIO component or BitIO component ,

then you can also add one timer , through the timer interrupt control the GPIO pin output to High and low .

Hope it helps


Have a great day,
Alice Yang

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply