XU4 SPI setting

Post Reply
zhangxiujie
Posts: 11
Joined: Thu Dec 09, 2021 2:49 pm
languages_spoken: english
ODROIDs: XU4
Has thanked: 0
Been thanked: 0
Contact:

XU4 SPI setting

Post by zhangxiujie »

I am currently debugging the SPI interface of XU4 using uboot, but due to the outdated code, there is no corresponding code. So may I ask if there is a corresponding snap code to configure the SPI interface. Just like how https://wiki.odroid.com/odroid-xu4/appl ... e/gpio/adc ADC raw register settings?

thank you very much!!

chewitt
Posts: 211
Joined: Mon Aug 12, 2019 12:27 pm
languages_spoken: english
Has thanked: 4 times
Been thanked: 140 times
Contact:

Re: XU4 SPI setting

Post by chewitt »

I've never bothered playing with SPI or ADC registers but XU4 is supported on upstream u-boot and runs fine u-boot 2024.04 .. perhaps use something newer if older is outdated?

User avatar
odroid
Site Admin
Posts: 42535
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 3733 times
Been thanked: 2102 times
Contact:

Re: XU4 SPI setting

Post by odroid »

You might need to use this s3c64xx SPI host driver in our Linux Kernel 6.6 source tree as a reference for your uboot development.
https://github.com/hardkernel/linux/blo ... -s3c64xx.c

zhangxiujie
Posts: 11
Joined: Thu Dec 09, 2021 2:49 pm
languages_spoken: english
ODROIDs: XU4
Has thanked: 0
Been thanked: 0
Contact:

Re: XU4 SPI setting

Post by zhangxiujie »

odroid wrote:
Sat Jun 08, 2024 11:47 am
You might need to use this s3c64xx SPI host driver in our Linux Kernel 6.6 source tree as a reference for your uboot development.
https://github.com/hardkernel/linux/blo ... -s3c64xx.c
thanks!!

zhangxiujie
Posts: 11
Joined: Thu Dec 09, 2021 2:49 pm
languages_spoken: english
ODROIDs: XU4
Has thanked: 0
Been thanked: 0
Contact:

Re: XU4 SPI setting

Post by zhangxiujie »

chewitt wrote:
Thu Jun 06, 2024 8:28 pm
I've never bothered playing with SPI or ADC registers but XU4 is supported on upstream u-boot and runs fine u-boot 2024.04 .. perhaps use something newer if older is outdated?
thanks!!

Post Reply

Return to “Issues”

Who is online

Users browsing this forum: No registered users and 1 guest