Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
20 years ago

how to get the value of the SPI core register ?

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
No RepliesBe the first to reply