This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

LMK05028: LMK05028 I2C driver guidance

Part Number: LMK05028
Other Parts Discussed in Thread: USB2ANY

Hi team,

Will LMK05028 I2C transaction work properly if the device is connected both in TicsPro via USBANY and accessed via kernel I2C driver?
Should we remove the USBANY connection to avoid two I2C master race conditions?
  • Hello,

    Yes, please remove the USBANY connection to avoid two I2C master race conditions. Either connect the USBANY OR the kernel I2C driver.

    Regards,

    Kia Rahbar

  • Hi,

    Without any LMK programming or USBANY connection, we aren't able to see our LMK device on the i2c detect command.
    We have attached the logs below,
    U-Boot SPL 2020.07-08705-g35d7cfb999 (Mar 30 2021 - 08:39:00 +0000)
    Reset state: Cold
    MPU 1200000 kHz
    L3 main 400000 kHz
    Main VCO 2400000 kHz
    Per VCO 2000000 kHz
    EOSC1 25000 kHz
    HPS MMC 50000 kHz
    UART 100000 kHz
    DDR: 4096 MiB
    SDRAM-ECC: Initialized success with 1000 ms
    QSPI: Reference clock at 400000 kHz
    WDT: Started with servicing (30s timeout)
    Trying to boot from MMC1
    NOTICE: BL31: v2.3():rel_socfpga_v2.3_20.11.02_pr
    NOTICE: BL31: Built : 08:52:10, Mar 25 2021


    U-Boot 2020.10-10892-gced41867be (Mar 25 2021 - 08:54:24 +0000)socfpga_stratix10

    CPU: Intel FPGA SoCFPGA Platform (ARMv8 64bit Cortex-A53)
    Model: SoCFPGA Stratix 10 SoCDK
    DRAM: 4 GiB
    WDT: Started with servicing (30s timeout)
    MMC: dwmmc0@ff808000: 0
    Loading Environment from MMC... *** Warning - bad CRC, using default environment

    In: serial0@ffc02000
    Out: serial0@ffc02000
    Err: serial0@ffc02000
    Net:
    Warning: ethernet@ff800000 (eth0) using random MAC address - 92:41:57:dc:a0:a6
    eth0: ethernet@ff800000
    Hit any key to stop autoboot: 0
    248 bytes read in 2 ms (121.1 KiB/s)
    ## Executing script at 02100000
    15233536 bytes read in 715 ms (20.3 MiB/s)
    20871 bytes read in 4 ms (5 MiB/s)
    SF: Detected mt25qu02g with page size 256 Bytes, erase size 4 KiB, total 256 MiB
    Enabling QSPI at Linux DTB...
    RSU: Firmware or flash content not supporting RSU
    RSU: Firmware or flash content not supporting RSU
    RSU: Firmware or flash content not supporting RSU
    RSU: Firmware or flash content not supporting RSU
    Moving Image from 0x2000000 to 0x2080000, end=2f71000
    ## Flattened Device Tree blob at 08000000
    Booting using the fdt blob at 0x8000000
    Loading Device Tree to 000000007fa3a000, end 000000007fa42fff ... OK

    Starting kernel ...

    Deasserting all peripheral resets
    [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
    [ 0.000000] Linux version 5.4.84-10356-gea0048c3350c-dirty (ptps@vm-intu_ptps) (gcc version 10.2.1 20201103 (GNU Toolchain for the A-profile Architecture 10.2-2020.11 (arm-10.16))) #3 SMP PREEMPT Mon 1
    [ 0.000000] Machine model: SoCFPGA Stratix 10 SoCDK
    [ 0.000000] efi: Getting EFI parameters from FDT:
    [ 0.000000] efi: UEFI not found.
    [ 0.000000] Reserved memory: created DMA memory pool at 0x0000000000000000, size 16 MiB
    [ 0.000000] OF: reserved mem: initialized node svcbuffer@0, compatible id shared-dma-pool
    [ 0.000000] cma: Reserved 16 MiB at 0x000000007e800000
    [ 0.000000] earlycon: uart0 at MMIO32 0x00000000ffc02000 (options '115200n8')
    [ 0.000000] printk: bootconsole [uart0] enabled
    [ 0.000000] NUMA: No NUMA configuration found
    [ 0.000000] NUMA: Faking a node at [mem 0x0000000001000000-0x00000001ffffffff]
    [ 0.000000] NUMA: NODE_DATA [mem 0x1ff7e8800-0x1ff7e9fff]
    [ 0.000000] Zone ranges:
    [ 0.000000] DMA32 [mem 0x0000000001000000-0x00000000ffffffff]
    [ 0.000000] Normal [mem 0x0000000100000000-0x00000001ffffffff]
    [ 0.000000] Movable zone start for each node
    [ 0.000000] Early memory node ranges
    [ 0.000000] node 0: [mem 0x0000000001000000-0x000000007fffffff]
    [ 0.000000] node 0: [mem 0x0000000180000000-0x00000001ffffffff]
    [ 0.000000] Initmem setup node 0 [mem 0x0000000001000000-0x00000001ffffffff]
    [ 0.000000] psci: probing for conduit method from DT.
    [ 0.000000] psci: PSCIv1.1 detected in firmware.
    [ 0.000000] psci: Using standard PSCI v0.2 function IDs
    [ 0.000000] psci: MIGRATE_INFO_TYPE not supported.
    [ 0.000000] psci: SMC Calling Convention v1.0
    [ 0.000000] percpu: Embedded 22 pages/cpu s51928 r8192 d29992 u90112
    [ 0.000000] Detected VIPT I-cache on CPU0
    [ 0.000000] CPU features: detected: ARM erratum 845719
    [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 1028160
    [ 0.000000] Policy zone: Normal
    [ 0.000000] Kernel command line: earlycon panic=-1 root=/dev/mmcblk0p2 rw rootwait
    [ 0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
    [ 0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
    [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
    [ 0.000000] software IO TLB: mapped [mem 0x7a800000-0x7e800000] (64MB)
    [ 0.000000] Memory: 3999960K/4177920K available (9980K kernel code, 604K rwdata, 3588K rodata, 640K init, 409K bss, 161576K reserved, 16384K cma-reserved)
    [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
    [ 0.000000] rcu: Preemptible hierarchical RCU implementation.
    [ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
    [ 0.000000] Tasks RCU enabled.
    [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
    [ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
    [ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
    [ 0.000000] GIC: Using split EOI/Deactivate mode
    [ 0.000000] random: get_random_bytes called from start_kernel+0x2b4/0x448 with crng_init=0
    [ 0.000000] arch_timer: cp15 timer(s) running at 400.00MHz (phys).
    [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x5c4093a7d1, max_idle_ns: 440795210635 ns
    [ 0.000003] sched_clock: 56 bits at 400MHz, resolution 2ns, wraps every 4398046511103ns
    [ 0.008136] Console: colour dummy device 80x25
    [ 0.012563] printk: console [tty0] enabled
    [ 0.016647] printk: bootconsole [uart0] disabled
    [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
    [ 0.000000] Linux version 5.4.84-10356-gea0048c3350c-dirty (ptps@vm-intu_ptps) (gcc version 10.2.1 20201103 (GNU Toolchain for the A-profile Architecture 10.2-2020.11 (arm-10.16))) #3 SMP PREEMPT Mon 1
    [ 0.000000] Machine model: SoCFPGA Stratix 10 SoCDK
    [ 0.000000] efi: Getting EFI parameters from FDT:
    [ 0.000000] efi: UEFI not found.
    [ 0.000000] Reserved memory: created DMA memory pool at 0x0000000000000000, size 16 MiB
    [ 0.000000] OF: reserved mem: initialized node svcbuffer@0, compatible id shared-dma-pool
    [ 0.000000] cma: Reserved 16 MiB at 0x000000007e800000
    [ 0.000000] earlycon: uart0 at MMIO32 0x00000000ffc02000 (options '115200n8')
    [ 0.000000] printk: bootconsole [uart0] enabled
    [ 0.000000] NUMA: No NUMA configuration found
    [ 0.000000] NUMA: Faking a node at [mem 0x0000000001000000-0x00000001ffffffff]
    [ 0.000000] NUMA: NODE_DATA [mem 0x1ff7e8800-0x1ff7e9fff]
    [ 0.000000] Zone ranges:
    [ 0.000000] DMA32 [mem 0x0000000001000000-0x00000000ffffffff]
    [ 0.000000] Normal [mem 0x0000000100000000-0x00000001ffffffff]
    [ 0.000000] Movable zone start for each node
    [ 0.000000] Early memory node ranges
    [ 0.000000] node 0: [mem 0x0000000001000000-0x000000007fffffff]
    [ 0.000000] node 0: [mem 0x0000000180000000-0x00000001ffffffff]
    [ 0.000000] Initmem setup node 0 [mem 0x0000000001000000-0x00000001ffffffff]
    [ 0.000000] psci: probing for conduit method from DT.
    [ 0.000000] psci: PSCIv1.1 detected in firmware.
    [ 0.000000] psci: Using standard PSCI v0.2 function IDs
    [ 0.000000] psci: MIGRATE_INFO_TYPE not supported.
    [ 0.000000] psci: SMC Calling Convention v1.0
    [ 0.000000] percpu: Embedded 22 pages/cpu s51928 r8192 d29992 u90112
    [ 0.000000] Detected VIPT I-cache on CPU0
    [ 0.000000] CPU features: detected: ARM erratum 845719
    [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 1028160
    [ 0.000000] Policy zone: Normal
    [ 0.000000] Kernel command line: earlycon panic=-1 root=/dev/mmcblk0p2 rw rootwait
    [ 0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
    [ 0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
    [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
    [ 0.000000] software IO TLB: mapped [mem 0x7a800000-0x7e800000] (64MB)
    [ 0.000000] Memory: 3999960K/4177920K available (9980K kernel code, 604K rwdata, 3588K rodata, 640K init, 409K bss, 161576K reserved, 16384K cma-reserved)
    [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
    [ 0.000000] rcu: Preemptible hierarchical RCU implementation.
    [ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
    [ 0.000000] Tasks RCU enabled.
    [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
    [ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
    [ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
    [ 0.000000] GIC: Using split EOI/Deactivate mode
    [ 0.000000] random: get_random_bytes called from start_kernel+0x2b4/0x448 with crng_init=0
    [ 0.000000] arch_timer: cp15 timer(s) running at 400.00MHz (phys).
    [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x5c4093a7d1, max_idle_ns: 440795210635 ns
    [ 0.000003] sched_clock: 56 bits at 400MHz, resolution 2ns, wraps every 4398046511103ns
    [ 0.008136] Console: colour dummy device 80x25
    [ 0.012563] printk: console [tty0] enabled
    [ 0.016647] printk: bootconsole [uart0] disabled
    [ 0.021305] Calibrating delay loop (skipped), value calculated using timer frequency.. 800.00 BogoMIPS (lpj=1600000)
    [ 0.021323] pid_max: default: 32768 minimum: 301
    [ 0.021395] LSM: Security Framework initializing
    [ 0.021466] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
    [ 0.021495] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
    [ 0.022715] ASID allocator initialised with 32768 entries
    [ 0.022786] rcu: Hierarchical SRCU implementation.
    [ 0.022974] EFI services will not be available.
    [ 0.023140] smp: Bringing up secondary CPUs ...
    [ 0.023504] Detected VIPT I-cache on CPU1
    [ 0.023545] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
    [ 0.023913] Detected VIPT I-cache on CPU2
    [ 0.023933] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
    [ 0.024278] Detected VIPT I-cache on CPU3
    [ 0.024297] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
    [ 0.024346] smp: Brought up 1 node, 4 CPUs
    [ 0.024390] SMP: Total of 4 processors activated.
    [ 0.024399] CPU features: detected: 32-bit EL0 Support
    [ 0.024409] CPU features: detected: CRC32 instructions
    [ 0.031638] CPU: All CPU(s) started at EL2
    [ 0.031663] alternatives: patching kernel code
    [ 0.033060] devtmpfs: initialized
    [ 0.035995] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [ 0.036021] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
    [ 0.037021] DMI not present or invalid.
    [ 0.037256] NET: Registered protocol family 16
    [ 0.038154] DMA: preallocated 256 KiB pool for atomic allocations
    [ 0.038170] audit: initializing netlink subsys (disabled)
    [ 0.038273] audit: type=2000 audit(0.032:1): state=initialized audit_enabled=0 res=1
    [ 0.038747] cpuidle: using governor menu
    [ 0.038844] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [ 0.038997] Serial: AMBA PL011 UART driver
    [ 0.049797] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
    [ 0.049817] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
    [ 0.049829] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
    [ 0.049840] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
    [ 0.050625] cryptd: max_cpu_qlen set to 1000
    [ 0.052937] ACPI: Interpreter disabled.
    [ 0.053323] iommu: Default domain type: Translated
    [ 0.053391] vgaarb: loaded
    [ 0.053631] SCSI subsystem initialized
    [ 0.053940] usbcore: registered new interface driver usbfs
    [ 0.053979] usbcore: registered new interface driver hub
    [ 0.054030] usbcore: registered new device driver usb
    [ 0.054256] pps_core: LinuxPPS API ver. 1 registered
    [ 0.054267] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [ 0.054289] PTP clock support registered
    [ 0.054414] FPGA manager framework
    [ 0.054471] Advanced Linux Sound Architecture Driver Initialized.
    [ 0.054978] clocksource: Switched to clocksource arch_sys_counter
    [ 0.055107] VFS: Disk quotas dquot_6.6.0
    [ 0.055155] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
    [ 0.055322] pnp: PnP ACPI: disabled
    [ 0.059662] thermal_sys: Registered thermal governor 'step_wise'
    [ 0.059665] thermal_sys: Registered thermal governor 'power_allocator'
    [ 0.059848] NET: Registered protocol family 2
    [ 0.060165] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
    [ 0.060223] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
    [ 0.060442] TCP bind hash table entries: 32768 (order: 7, 524288 bytes, linear)
    [ 0.060900] TCP: Hash tables configured (established 32768 bind 32768)
    [ 0.060994] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
    [ 0.061077] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
    [ 0.061252] NET: Registered protocol family 1
    [ 0.061670] RPC: Registered named UNIX socket transport module.
    [ 0.061682] RPC: Registered udp transport module.
    [ 0.061691] RPC: Registered tcp transport module.
    [ 0.061700] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [ 0.061717] PCI: CLS 0 bytes, default 64
    [ 0.062370] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
    [ 0.062567] kvm [1]: IPA Size Limit: 40bits
    [ 0.063034] kvm [1]: Hyp mode initialized successfully
    [ 0.065477] Initialise system trusted keyrings
    [ 0.065578] workingset: timestamp_bits=44 max_order=20 bucket_order=0
    [ 0.070928] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [ 0.071502] NFS: Registering the id_resolver key type
    [ 0.071532] Key type id_resolver registered
    [ 0.071541] Key type id_legacy registered
    [ 0.071557] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [ 0.071587] jffs2: version 2.2. (NAND) �© 2001-2006 Red Hat, Inc.
    [ 0.071886] 9p: Installing v9fs 9p2000 file system support
    [ 0.084696] Key type asymmetric registered
    [ 0.084709] Asymmetric key parser 'x509' registered
    [ 0.084753] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
    [ 0.084769] io scheduler mq-deadline registered
    [ 0.084779] io scheduler kyber registered
    [ 0.088676] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
    [ 0.089554] ffc02000.serial: ttyS0 at MMIO 0xffc02000 (irq = 26, base_baud = 6250000) is a 16550A
    [ 0.891528] printk: console [ttyS0] enabled
    [ 0.896317] cacheinfo: Unable to detect cache hierarchy for CPU 0
    [ 0.907954] loop: module loaded
    [ 0.927069] cadence-qspi ff8d2000.spi: mt25qu02g (262144 Kbytes)
    [ 0.933371] 2 fixed-partitions partitions found on MTD device ff8d2000.spi.0
    [ 0.940401] Creating 2 MTD partitions on "ff8d2000.spi.0":
    [ 0.945874] 0x000000000000-0x000003fe0000 : "Boot and fpga data"
    [ 0.955509] 0x000003fe0000-0x000010000000 : "Root Filesystem - JFFS2"
    [ 0.964001] libphy: Fixed MDIO Bus: probed
    [ 0.968306] tun: Universal TUN/TAP device driver, 1.6
    [ 0.973561] intel_fpga_qse_htile f9040000.ethernet: DMA RX CSR at 0xf9000520
    [ 0.980689] intel_fpga_qse_htile f9040000.ethernet: DMA TX CSR at 0xf9000420
    [ 0.987816] intel_fpga_qse_htile f9040000.ethernet: Defaulting RX Poll Frequency to 128
    [ 0.995797] intel_fpga_qse_htile f9040000.ethernet: Defaulting TX Poll Frequency to 128
    [ 1.003787] intel_fpga_qse_htile f9040000.ethernet: XVCR Ctrl at 0xf9022000
    [ 1.010824] intel_fpga_qse_htile f9040000.ethernet: TOD Ctrl at 0xf9090000
    [ 1.018628] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
    [ 1.024447] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
    [ 1.030376] igb: Intel(R) Gigabit Ethernet Network Driver - version 5.6.0-k
    [ 1.037317] igb: Copyright (c) 2007-2014 Intel Corporation.
    [ 1.042901] igbvf: Intel(R) Gigabit Virtual Function Network Driver - version 2.4.0-k
    [ 1.050706] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
    [ 1.056682] sky2: driver version 1.30
    [ 1.060520] socfpga-dwmac ff800000.ethernet: IRQ eth_wake_irq not found
    [ 1.067119] socfpga-dwmac ff800000.ethernet: IRQ eth_lpi not found
    [ 1.073351] socfpga-dwmac ff800000.ethernet: PTP uses main clock
    [ 1.079355] socfpga-dwmac ff800000.ethernet: No sysmgr-syscon node found
    [ 1.086037] socfpga-dwmac ff800000.ethernet: Unable to parse OF data
    [ 1.092394] socfpga-dwmac: probe of ff800000.ethernet failed with error -524
    [ 1.099517] stmmaceth ff800000.ethernet: IRQ eth_wake_irq not found
    [ 1.105768] stmmaceth ff800000.ethernet: IRQ eth_lpi not found
    [ 1.111632] stmmaceth ff800000.ethernet: PTP uses main clock
    [ 1.117402] stmmaceth ff800000.ethernet: User ID: 0x11, Synopsys ID: 0x37
    [ 1.124178] stmmaceth ff800000.ethernet: DWMAC1000
    [ 1.129045] stmmaceth ff800000.ethernet: DMA HW capability register supported
    [ 1.136158] stmmaceth ff800000.ethernet: RX Checksum Offload Engine supported
    [ 1.143270] stmmaceth ff800000.ethernet: COE Type 2
    [ 1.148134] stmmaceth ff800000.ethernet: TX Checksum insertion supported
    [ 1.154814] stmmaceth ff800000.ethernet: Enhanced/Alternate descriptors
    [ 1.161409] stmmaceth ff800000.ethernet: Enabled extended descriptors
    [ 1.167829] stmmaceth ff800000.ethernet: Ring mode enabled
    [ 1.173299] stmmaceth ff800000.ethernet: Enable RX Mitigation via HW Watchdog Timer
    [ 1.180936] stmmaceth ff800000.ethernet: device MAC address 4a:05:07:f7:29:fd
    [ 1.188159] libphy: stmmac: probed
    [ 1.192784] VFIO - User Level meta-driver version: 0.3
    [ 1.198362] dwc2 ffb00000.usb: ffb00000.usb supply vusb_d not found, using dummy regulator
    [ 1.206648] dwc2 ffb00000.usb: ffb00000.usb supply vusb_a not found, using dummy regulator
    [ 1.215014] dwc2 ffb00000.usb: Configuration mismatch. dr_mode forced to host
    [ 1.222359] dwc2 ffb00000.usb: DWC OTG Controller
    [ 1.227069] dwc2 ffb00000.usb: new USB bus registered, assigned bus number 1
    [ 1.234122] dwc2 ffb00000.usb: irq 27, io mem 0xffb00000
    [ 1.239845] hub 1-0:1.0: USB hub found
    [ 1.243609] hub 1-0:1.0: 1 port detected
    [ 1.248100] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [ 1.254614] ehci-pci: EHCI PCI platform driver
    [ 1.259073] ehci-platform: EHCI generic platform driver
    [ 1.264353] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
    [ 1.270523] ohci-pci: OHCI PCI platform driver
    [ 1.274987] ohci-platform: OHCI generic platform driver
    [ 1.280471] usbcore: registered new interface driver usb-storage
    [ 1.286852] i2c /dev entries driver
    [ 1.291226] sdhci: Secure Digital Host Controller Interface driver
    [ 1.297387] sdhci: Copyright(c) Pierre Ossman
    [ 1.301777] Synopsys Designware Multimedia Card Interface Driver
    [ 1.307923] dw_mmc ff808000.dwmmc0: IDMAC supports 32-bit address mode.
    [ 1.314534] dw_mmc ff808000.dwmmc0: Using internal DMA controller.
    [ 1.320702] dw_mmc ff808000.dwmmc0: Version ID is 280a
    [ 1.325854] dw_mmc ff808000.dwmmc0: DW MMC controller at irq 12,32 bit host data width,1024 deep fifo
    [ 1.335118] mmc_host mmc0: card is polling.
    [ 1.351055] mmc_host mmc0: Bus speed (slot 0) = 50000000Hz (slot req 400000Hz, actual 396825HZ div = 63)
    [ 1.373259] sdhci-pltfm: SDHCI platform and OF driver helper
    [ 1.379631] ledtrig-cpu: registered to indicate activity on CPUs
    [ 1.386066] usbcore: registered new interface driver usbhid
    [ 1.391638] usbhid: USB HID core driver
    [ 1.396338] NET: Registered protocol family 17
    [ 1.400909] 9pnet: Installing 9P2000 support
    [ 1.405215] Key type dns_resolver registered
    [ 1.409676] registered taskstats version 1
    [ 1.413768] Loading compiled-in X.509 certificates
    [ 1.424175] mmc_host mmc0: Bus speed (slot 0) = 50000000Hz (slot req 50000000Hz, actual 50000000HZ div = 0)
    [ 1.424969] at24 1-0051: 4096 byte 24c32 EEPROM, writable, 32 bytes/write
    [ 1.433943] mmc0: new high speed SDHC card at address 5048
    [ 1.441920] rtc-ds1307 1-0068: SET TIME!
    [ 1.446709] mmcblk0: mmc0:5048 SD16G 14.4 GiB
    [ 1.452202] rtc-ds1307 1-0068: registered as rtc0
    [ 1.456457] mmcblk0: p1 p2
    [ 1.460329] libphy: SFP I2C Bus: probed
    [ 1.465832] sfp 80000000.bridge:sfp-eth0: Host maximum power 1.0W
    [ 1.472013] genirq: Setting trigger mode 3 for irq 62 failed (altera_gpio_irq_set_type+0x0/0xac)
    [ 1.480857] sfp 80000000.bridge:sfp-eth0: No tx_disable pin: SFP modules will always be emitting.
    [ 1.491334] rtc-ds1307 1-0068: setting system clock to 2000-01-01T00:30:49 UTC (946686649)
    [ 1.499581] of_cfs_init
    [ 1.502094] of_cfs_init: OK
    [ 1.505036] ALSA device list:
    [ 1.508000] No soundcards found.
    [ 1.511576] ttyS0 - failed to request DMA
    [ 1.516694] EXT4-fs (mmcblk0p2): mounting ext3 file system using the ext4 subsystem
    [ 1.587049] random: fast init done
    [ 1.655683] EXT4-fs (mmcblk0p2): recovery complete
    [ 1.661406] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [ 1.669535] VFS: Mounted root (ext3 filesystem) on device 179:2.
    [ 1.678623] devtmpfs: mounted
    [ 1.681849] Freeing unused kernel memory: 640K
    [ 1.686364] Run /sbin/init as init process
    INIT: version 2.97 booting[ 1.797958] sfp 80000000.bridge:sfp-eth0: module FS SFP28-25GSR-85 rev A0 sn G2001023097 dc 200603

    [ 1.812253] intel_fpga_qse_htile f9040000.ethernet eth0: switched to inband/25gbase-sr link mode
    Starting udev
    [ 2.116080] udevd[148]: starting version 3.2.9
    [ 2.121627] random: udevd: uninitialized urandom read (16 bytes read)
    [ 2.129230] random: udevd: uninitialized urandom read (16 bytes read)
    [ 2.135691] random: udevd: uninitialized urandom read (16 bytes read)
    [ 2.163724] udevd[149]: starting eudev-3.2.9
    [ 2.415639] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
    [ 2.748696] intel_fpga_qse_htile f9040000.ethernet eth0: msgdma_pref_initialize: RX Desc mem at 0x7e840000
    [ 2.758375] intel_fpga_qse_htile f9040000.ethernet eth0: msgdma_pref_initialize: TX Desc mem at 0x7e850000
    [ 2.768004] intel_fpga_qse_htile f9040000.ethernet eth0: device MAC address 32:c3:c0:77:9b:ae
    [ 2.776510] intel_fpga_qse_htile f9040000.ethernet eth0: max rx packet size 1518
    [ 2.783887] intel_fpga_qse_htile f9040000.ethernet eth0: rxmac_crc_config: 0x00000000
    [ 2.791696] intel_fpga_qse_htile f9040000.ethernet eth0: DEFAULT SPEED VALUE:390
    [ 2.799072] intel_fpga_qse_htile f9040000.ethernet eth0: SPEED VALUE:194
    [ 2.805755] intel_fpga_qse_htile f9040000.ethernet eth0: tx max frame: 0x000005ee
    [ 2.813217] intel_fpga_qse_htile f9040000.ethernet eth0: DEFAULT SPEED VALUE:390
    [ 2.820595] intel_fpga_qse_htile f9040000.ethernet eth0: SPEED VALUE:194
    [ 2.827282] intel_fpga_qse_htile f9040000.ethernet eth0: QSE rx_frame_control: 0x00000000
    [ 2.835440] intel_fpga_qse_htile f9040000.ethernet eth0: QSE tx_pauseframe_enable: 0x000000fe
    [ 2.843941] intel_fpga_qse_htile f9040000.ethernet eth0: QSE tx_pauseframe_quanta: 0x0000ffff
    [ 2.853042] intel_fpga_qse_htile f9040000.ethernet eth0: start rxdma
    [ 2.859410] intel_fpga_qse_htile f9040000.ethernet eth0: configuring for inband/25gbase-sr link mode
    [ 2.883352] intel_fpga_qse_htile f9040000.ethernet eth0: failed to reconfigure PHY
    [ 3.203012] intel_fpga_qse_htile f9040000.ethernet eth0: DEFAULT SPEED VALUE:390
    [ 3.210405] intel_fpga_qse_htile f9040000.ethernet eth0: SPEED VALUE:194
    [ 3.217100] intel_fpga_qse_htile f9040000.ethernet eth0: Link is Up - 25Gbps/Full - flow control off
    [ 3.226206] intel_fpga_qse_htile f9040000.ethernet eth0: DEFAULT SPEED VALUE:390
    [ 3.233580] intel_fpga_qse_htile f9040000.ethernet eth0: SPEED VALUE:194
    [ 5.093038] dma-pl330 ffda0000.pdma: Loaded driver for PL330 DMAC-341330
    [ 5.099761] dma-pl330 ffda0000.pdma: DBUFF-512x8bytes Num_Chans-8 Num_Peri-32 Num_Events-8
    [ 14.247012] random: crng init done
    [ 14.250430] random: 3 urandom warning(s) missed due to ratelimiting

    Poky (Yocto Project Reference Distro) 3.2.2 stratix10 /dev/ttyS0

    stratix10 login: root
    root@stratix10:~#
    root@stratix10:~#
    root@stratix10:~#
    root@stratix10:~# i2cdetect -y 1
    Warning: Can't use SMBus Quick Write command, will skip some addresses
    0 1 2 3 4 5 6 7 8 9 a b c d e f
    00:
    10:
    20:
    30: 30 -- -- -- -- -- 36 --
    40:
    50: -- UU -- -- -- 55 -- -- -- -- 5a 5b -- -- -- --
    60:
    70:
  • Hello,

    My best recommendation would be to program the LMK05028 solely using TICS Pro and a USB2ANY.

    First, please go to the following link and install the TICS Pro software: https://www.ti.com/tool/TICSPRO-SW Then, construct a configuration for your device on TICS Pro.

    Once you have the configuration created, you can connect the USB side of the USB2ANY to the computer with the TICS Pro software downloaded on it and you connect the pin side of the USB2ANY (specifically pins J4-1, J4-2, J4-5) to the SDA, SCL, and GND pins of the LMK05028 to communicate through I2C. Here is the link to the USB2ANY user guide so you can familiarize yourself with the device: https://www.ti.com/lit/ug/snau228/snau228.pdf?ts=1621012078298&ref_url=https%253A%252F%252Fwww.ti.com%252Ftool%252FUSB2ANY

    Regards,

    Kia Rahbar