GPIO Line Setup

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

GPIO Line Setup

456 Views
haroldvogel
Contributor II

I am new to CodeWarror and Processor Expert.

 

I need to setup a GPIO line to turn a relay ON/OFF.  Using a MKL36Z128VLL4 and another board using the MKL36Z256VLL4 the line is PC17.  I clicked on the GPIO_LDD and added this to my system but in the Component Inspector it seemed to want each bit configured, not sure the relay is going to understand each bit?  How do I configure this output to send a signal to the relay do I need to use ByteIO or is there a setting in the GPIO_LDD that I missed when configuring this?

 

John Vogel

Labels (1)
0 Kudos
2 Replies

329 Views
Carlos_Mendoza
NXP Employee
NXP Employee

Hi Harold,

I think that the following post created by our colleague Erich Styger might be helpful for you, it explains the usage of the BitIO_LDD component as input and output:

Tutorial: Bits and Pins with Kinetis and the FRDM-KL25Z Board | MCU on Eclipse

Hope it helps!

Best Regards,

Carlos Mendoza

Technical Support Engineer

-----------------------------------------------------------------------------------------------------------------------

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

-----------------------------------------------------------------------------------------------------------------------

0 Kudos

329 Views
haroldvogel
Contributor II

Hello Carlos,

Thank you for the information I will look it over.

Yours truly,

John Vogel

AMANO

0 Kudos