New user to Xmos chips.
Posted: Tue May 09, 2017 2:30 am
Hi Guys, I'm new to the Xmos family and want to start developing using the XUF216-512-TQ128 500Mhz MPU.
I've been programming in Assembler for years now using ATMEL, TI and PIC32 MPU's and now want to delve into XMOS.
Can you guys please answer these few questions. :)
1. SPI & USART functions on XUF216.
I've been reading the manual for the XUF216 and can't seen to find any USART Serial device or a SPI Master/Slave device on the MPU.
Does that mean that the device doesn't support these functions? I downloaded xTIMEcomposer and noticed in the libraries section there
are C routines that have these functions which baffles me cos the chip doesn't have the hardware functions.
In order to use USART or SPI do I have to write my own BITBANG assembler routines on an individual pin?
2. xTIME Composer.
I download the latest ver for my MAC and created a new project. I noticed that you can't create an Assembler project.
Do I have to create a C project and then create a .S file and then use the C function EXTERN to call the assembler program file?
3. Program run location.
I read in the manual that the MPU copies the flash code to the sram and runs the code from there. Can it run the code
from internal FLASH mem? The MPU has 512k split into 2 so does that mean my code can only be 256k in size?
The MPU has 2MB Flash. I will definitely need the full 2MB of flash for my projects.
4. xTIME Composer.
I chose the VIEW tab and can't seem to see a view disassembly window. Does xTIME composer support a disassembly window?
Also does it have a CPU REGISTERS window.
5. Assembler snipets or material on learning Xmos RISC.
I'm pretty experienced in Assembler but not in the syntax of Xmos so any help in assembler for Xmos would be greatly appreciated.
6. Programming my own target board.
Is there a more in-depth manual for the XU216? I need register locations, sram memory maps and programming pins.
I'll be creating my own target board in a few weeks once I make absolutely sure I can use the XUF216 so I'll need to know how to program it
externally. Is there any circuit diagrams I can check out?
lol. That's about it. I hope it wasn't too much for my first post. :)
Thanks for your help guys and mostly appreciated. I can't wait to start developing with Xmos.
Peter. :)
I've been programming in Assembler for years now using ATMEL, TI and PIC32 MPU's and now want to delve into XMOS.
Can you guys please answer these few questions. :)
1. SPI & USART functions on XUF216.
I've been reading the manual for the XUF216 and can't seen to find any USART Serial device or a SPI Master/Slave device on the MPU.
Does that mean that the device doesn't support these functions? I downloaded xTIMEcomposer and noticed in the libraries section there
are C routines that have these functions which baffles me cos the chip doesn't have the hardware functions.
In order to use USART or SPI do I have to write my own BITBANG assembler routines on an individual pin?
2. xTIME Composer.
I download the latest ver for my MAC and created a new project. I noticed that you can't create an Assembler project.
Do I have to create a C project and then create a .S file and then use the C function EXTERN to call the assembler program file?
3. Program run location.
I read in the manual that the MPU copies the flash code to the sram and runs the code from there. Can it run the code
from internal FLASH mem? The MPU has 512k split into 2 so does that mean my code can only be 256k in size?
The MPU has 2MB Flash. I will definitely need the full 2MB of flash for my projects.
4. xTIME Composer.
I chose the VIEW tab and can't seem to see a view disassembly window. Does xTIME composer support a disassembly window?
Also does it have a CPU REGISTERS window.
5. Assembler snipets or material on learning Xmos RISC.
I'm pretty experienced in Assembler but not in the syntax of Xmos so any help in assembler for Xmos would be greatly appreciated.
6. Programming my own target board.
Is there a more in-depth manual for the XU216? I need register locations, sram memory maps and programming pins.
I'll be creating my own target board in a few weeks once I make absolutely sure I can use the XUF216 so I'll need to know how to program it
externally. Is there any circuit diagrams I can check out?
lol. That's about it. I hope it wasn't too much for my first post. :)
Thanks for your help guys and mostly appreciated. I can't wait to start developing with Xmos.
Peter. :)