Migrating from XHRA to XU208

Sub forums for various specialist XMOS applications. e.g. USB audio, motor control and robotics.
jmag99
Active Member
Posts: 35
Joined: Tue Jul 20, 2010 9:45 pm

Re: Migrating from XHRA to XU208

Postby jmag99 » Fri Jun 28, 2019 3:55 pm

I just assumed not connect it since all of the documentation for the part says not to connect it if you are bus powered... I can add the connection (which I did for testing), but would be nice if this worked as the documentation says that it should.
jmag99
Active Member
Posts: 35
Joined: Tue Jul 20, 2010 9:45 pm

Postby jmag99 » Fri Jun 28, 2019 5:18 pm

For those wondering, xmos pointed me to the solution here:
https://www.xmos.com/developer/download ... 1.0%29.pdf

I will follow-up on this thread once I test and confirm that it works.
jmag99
Active Member
Posts: 35
Joined: Tue Jul 20, 2010 9:45 pm

Postby jmag99 » Fri Jun 28, 2019 7:19 pm

I can confirm that the above link is the fix for the VBUS issue. The link to the updated library is broken but can be found here:
viewtopic.php?t=7184

You just replace the modules with the new ones and do a clean build.
pasnew
Member
Posts: 15
Joined: Wed Jan 16, 2013 7:28 pm

Postby pasnew » Sun Jul 14, 2019 2:14 pm

Hi,

This link is once more broken....

Anyone have the working link ?
User avatar
akp
Respected Member
Posts: 315
Joined: Thu Nov 26, 2015 11:47 pm

Postby akp » Mon Jul 15, 2019 1:14 pm

Seems to me that XMOS is deliberately making it difficult to retrieve high quality documentation about indepth technical details or old software that might be useful for some of us customers. I don't know why.
sleepfox
Member++
Posts: 16
Joined: Fri Jun 01, 2018 5:03 pm

Postby sleepfox » Tue Aug 27, 2019 4:35 pm

Hi, instead of 24mHZ, can I use 12mHZ as system clock? Will the internal PLL be able to scale it up? If yes, what part of code should I modify accordingly? Thanks.
User avatar
akp
Respected Member
Posts: 315
Joined: Thu Nov 26, 2015 11:47 pm

Postby akp » Thu Aug 29, 2019 2:21 pm

You shouldn't have any problem using 12MHz for system clock. You will need to edit the .xn file and that should be it. Refer to Sec 7 of https://www.xmos.com/download/XU208-256 ... (1.16).pdf -- the XU208 in TQ64 will boot with any clock from 9 - 25MHz. And note that the only clocks that will work with the USB PHY enabled are 24MHz and 12MHz. So then if you just change Oscillator="24MHz" to Oscillator="12MHz" in the xn file it will probably work tickety-boo.
User avatar
Wavelength
Active Member
Posts: 51
Joined: Mon Sep 24, 2018 9:56 pm

Postby Wavelength » Sat Aug 31, 2019 5:42 pm

Hey all,

Anybody have this problem... so I had all this stuff working on July 31st when I switched workplace to look at an old product. When I came back it appears as though xTime has lost is path to anything. If it fails to get to the internet (don't know why have a 500M pipe) then a compile fails in endpoint0.c finding XUD.h. If it does have access to xmos.com then it fails again in endpoint0.c but it cannot find DFU_types.h

macOS 10.14.6, MacBook Pro 15 i9x6, 32G, 2TB SSD

Any help would be appreciated, have an audio show in 4 days :(

Driving me crazy for the last month going to start over today on a different computer

Thanks,
Gordon
Wavelength Audio, ltd.
User avatar
akp
Respected Member
Posts: 315
Joined: Thu Nov 26, 2015 11:47 pm

Postby akp » Sat Aug 31, 2019 6:11 pm

I suspect you did clean before build?
User avatar
Wavelength
Active Member
Posts: 51
Joined: Mon Sep 24, 2018 9:56 pm

Postby Wavelength » Sat Aug 31, 2019 7:18 pm

Akp,

Yes I did a clean, before build all.

~~~ Ok second MacBook Pro 13, i5 16G 10.14.6

Fresh install of everything followed all 17 pages of this just in case I missed something. Created a workplace, imported the ZIP file in did a clean (so not my source code, but the original xhra->208) updated the usbaudio.xc file did a clean and then a build all.

In audiohw.xc the compiler cannot find devicedefines.h, i2c.h and another one I forget.

Imported my project into a separate workplace and did a compile and I get the same error as before.

~~~ Also if anyone from XMOS is listening.... *** I still get xTime to crash every time I do a clean ***

Guess I will try this on Windows and see what happens.

Thanks,
Gordon
Wavelength Audio, ltd.

Who is online

Users browsing this forum: No registered users and 0 guests