AnsweredAssumed Answered

How to get GPIO Port Address (Lcd08-Lcd15) in i.mx233

Question asked by PRAMOD KUMAR on Mar 18, 2013
Latest reply on Mar 27, 2013 by Yixing Kong
Branched to a new discussion

Dear friends..

 

currently I have connected 8 LEDs on these GPIO pins and easily i can access them bit by bit using WRITE_PIN and READ_PIN using gpio-mmap.h file,

These LEDs are glowing according to given values,.

 

But I want to access all pin at once as a GPIO Port so that I can read all 8 bits in single cycle When I use GPIO_BASE macro from gpio-mmap.h , it given an error "Segmentation fault"..

I am unable to read them, any body can help regarding this topic....

Thanks and Regards,

PRAMOD

Outcomes