Commit Graph

12 Commits (cece91acba80a521fa23da0d38b4e5515b4b5b9b)

Author SHA1 Message Date
Oleg 792b62f9af Clean project 1 week ago
Oleg 0d2ff901a0 Invert digitalIO data. Rename base data types for consistency 1 week ago
Oleg e3653b2d50 Add interrupt handling when bus error occurs
Rename private variables
1 week ago
Oleg f7e8138476 Clean project, rename canSpace to can_space 2 weeks ago
Oleg 889280dce5 Put init modbus function outside periphery 2 weeks ago
Oleg 6a6ca4cd3e Change modbus configuration logic
COMM board asks CPU for modbus config now if it was not sent
earlier (for example after flashing COMM board)
2 weeks ago
Oleg 7ab4153cca Add cpu to comm modbus data handling 2 weeks ago
Oleg 31b3b12a81 Clean the project 3 weeks ago
Oleg 06518a828d Add modbus lib instead of original one
1. All modbus classes are united in one (modbusRTU) class with
easier and clearier user interface

2. Temp variable for registers start address are created
(should be replaced for some getter function later)

3. 2 modbus register are sending in one message now without
its address. This requires some synchronization to be
implemented

4. There is a lot of garbage from previous modbus here.
3 weeks ago
Oleg 46d4b79e90 Add modbus.
Init with CPU data. If COMM is removed and then installed back -
modbus will not work because CPU board will not send config data.
CPU board should detect reinstalling/reprogramming of COMM board and
send config data again (with asking software version)

Modbus here just work itself. There is no connection btw COMM and CPU
except sending config data
3 weeks ago
Oleg 61b34218ff Add memory map for XINTF. Change zone0 to zone6 1 month ago
Oleg d864977511 First test
1. Add an arbitrator class to control all necessary periphery
main2.cpp represents it usage.
main.cpp without periphery class.

2. Add XINTF init and DigitalIO interface
3. Change DI/O MBOX length to 2 bytes instead of 3
1 month ago