LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.

Notices


Reply
  Search this Thread
Old 04-05-2020, 04:07 PM   #1
novitoll
LQ Newbie
 
Registered: Apr 2020
Posts: 1

Rep: Reputation: Disabled
I2C slave mode for LS1012a NXP board


Guys, I have a NXP LS1012a board (https://www.nxp.com/docs/en/referenc...-LS1012ARM.pdf), and my goal is to use it as I2C slave.

I want to have SoC-to-SoC communication via I2C, the other SoC will be Rpi3 (for the time being). Both of them are 3V3.

I was able to transfer data from LS1012a to Rpi3 as master-to-slave, but I want vice-versa.

Question: Could you please explain my steps what I need to do in order to make LS1012a work as a slave? There is the option with bit-banging GPIO pins from the userspace, but I Want to have it as a Kernel module.

I asked a similar question in NXP forum, they referred me to this - https://community.nxp.com/thread/340162. I didnt find it much helpful, it has a part of custom driver code. But i thought that I should've re-used this driver code, same is used for I2C master mode for this board (https://github.com/torvalds/linux/bl...sses/i2c-imx.c).

If I should ask linux-i2c maintainers, then please let me know their addresses because this guy does not answer, wsa@sang-engineering.com.

Thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
I2C Slave questions on i.MX7 board ncherry Linux - Embedded & Single-board computer 2 02-16-2020 11:39 PM
How to forward IOCTL's from i2c-dev.c to adapter driver (i2c-rt3352.c) elonica.pl Linux - Kernel 2 08-23-2011 03:03 AM
[SOLVED] No /dev/i2c-0 entry after insmod i2c-dev sajnanazeer Linux - Newbie 1 08-10-2011 08:39 AM
problem with NXP LPC1758 ARM Cortex-M3 Board Linux_bird Linux - Newbie 1 10-09-2009 10:38 PM
Help! Problems with i2c-dev. No more /dev/i2c-* em1l Fedora 0 10-28-2005 06:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 04:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration