There are a few LOGI wishbone peripherals available in the LOGI Skeleton Architecture Editor. The base wishbone addresses of the peripherals that are put into the Editor can be displayed with the function "Get Memory Map" (eg. 0x0, 0x10). But where can I find what information I have to write to which wishbone address? For instance, for the PWM peripheral I have the information:address | name | note |
0x0000 register_0 read :0xDEAD
0x0001 register_1 read : 0xBEEF
0x0002 register_3 read/write register
0x0003 register_4 write pmod2/read pmod1 and switches
0x0008 pwm_divider system_clock divider for pwm
0x0009 pwm_period pwm signal period
0x000A pwm0_high high time for pwm0 (unconnected)
0x000B pwm1_high high time for pwm1 connected to LED0
0x000C pwm2_hight high time for pwm2 connected to LED1READ REGISTER ON THE FPGA
But what are ranges of 'pwm_devider' and 'pwm_period'? And I see that the output of the PWM peripheral is a std_logic_vector of size 7, and I only see 2 pwm outputs in the wishbone addresses.
This question is not only concerning the PWM peripheral, but also all other available peripherals. What do I have to write to which addresses and what is the format of that information.
Comments
0x0000 : servo 1 position
0x0001 : servo 1 failsafe position (when peripheral is held in reset)
0x0002 : servo 2 position
0x0003 : servo 2 failsafe position (when peripheral is held in reset)
...
default configuration have servo position only encoded on a byte.