Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
12748 Discussions

how to get the value of the SPI core register ?

Altera_Forum
Honored Contributor II
1,073 Views

hi everyone: 

i add a spi core in the sopcbuilder,when i debug the problem in the debug mode. i find the value of all the registers(include rxdata,txdata,status,control,slaveselect) 

are "0xff"! 

first problem: 

in the system.h file:# define spi_0_base 0x00105060 

so if I want to get the value of the register(rxdata,txdata,status,control,slaveselect) in thedebug mode,should i check the "memory" row?if the address of the rxdata is the 0x00105060,txdata is 0x00105061,and so on
0 Kudos
0 Replies
Reply