URL
https://opencores.org/ocsvn/uart_fpga_slow_control_migrated/uart_fpga_slow_control_migrated/trunk
Subversion Repositories uart_fpga_slow_control_migrated
Compare Revisions
- This comparison shows the changes necessary to convert path
/uart_fpga_slow_control
- from Rev 12 to Rev 13
- ↔ Reverse comparison
Rev 12 → Rev 13
/trunk/documents/set_baudrate.txt
1,3 → 1,4
|
How to set the baud rate: |
|
the code comes preprogrammed at 921600 bps (1 Mbps) |
13,5 → 14,14
v_data_init <= "00001000"; -- DEC 8 Baudrate = 115200 bps @ 29,4912 MHz |
.... |
|
------------------------------------------------ |
|
Other useful UART default parameters: |
|
8 bit |
no parity |
1 stop bit |
no hardeare flow control |
no software flow control |
|
|
/trunk/documents/Hex commands.txt
4,14 → 4,16
|
LOCAL ECHO: to get local echo enable the HALF DUPLEX option |
|
USE the SEND NUMBERS button in the Send window |
|
--------------------------------------------------------------- |
|
0x00 0x32 0xC1 0xA0 0x0A 0x0B |
0x00 0x32 0xC1 0xA0 0x0A 0x0B // example single register sending |
|
0x00 0x20 0x55 0x55 0x55 0xaa 0x00 0x31 0x55 0x55 0x55 0xbb 0x00 0x32 0x55 0x55 0x55 0xcc |
0x00 0x20 0x55 0x55 0x55 0xaa 0x00 0x31 0x55 0x55 0x55 0xbb // example multiple register sending |
|
0x00 0x40 0x00 0x66 0x00 0x66 0x00 0x50 0x22 0x00 0x22 0x22 0x00 0x30 0x10 0x10 0x10 0x10 |
0x80 0x00 0x00 0x00 0x00 0x00 // register update command |
|
0x00 0x20 0x00 0x00 0x00 0xaa 0x00 0x20 0x00 0x00 0x00 0xaa 0x00 0x20 0x00 0x00 0x00 0xaa 0x00 0x20 0x00 0x00 0x00 0xaa 0x00 0x20 0x00 0x00 0x00 0x55 0x00 0x20 0x00 0x00 0x00 0x55 0x00 0x20 0x00 0x00 0x00 0x55 0x00 0x20 0x00 0x00 0x00 0x55 |
--------------------------------------------------------------- |
|
0x80 0x00 0x00 0x00 0x00 0x00 |
NOTE: give feedback if you manage to send hex commands dumping a file to the port!! |