-
Hello Stephan, at the moment i try to interface a component connected via Wishbone. My Example code looks as follows: /* Processor */
#include <neorv32.h>
/**
* main
*/
int main()
{
/** Variables **/
/* init UART */
neorv32_uart0_setup(115200, PARITY_NONE, FLOW_CONTROL_NONE);
/* entry message */
neorv32_uart0_print("I2C\n");
/* read from iicmb */
neorv32_uart0_printf("%x;", *((volatile uint8_t*) (0xffffffb0)));
/* write to iicmb */
(*(volatile uint32_t*) 0xffffffb0) = 0xaaaa5555;
/* stop programm counter */
while ( 1 ) { }
return 0;
} The data value for Thanks for your Help! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 11 replies
-
Short answer: you can't. The address space from
Here is an overview from the Address Space section: |
Beta Was this translation helpful? Give feedback.
Short answer: you can't.
The address space from
0xFFFFFE00
to0xFFFFFFFF
is reserved for the processor-internal IO space. See data sheet section Address Space and especially sub-section External Memories: