CPU load in out case is a definition – if I say that a cycle time of 100yS (0,00001 Sec) is 100% CPU Load then the data above indicate we have 10% CPU Load – if we say 1ms is 100% we are at 1% CPU load. We use in average 10 yS to execute…
CPU load in out case is a definition – if I say that a cycle time of 100yS (0,00001 Sec) is 100% CPU Load then the data above indicate we have 10% CPU Load – if we say 1ms is 100% we are at 1% CPU load. We use in average 10 yS to execute…
The idea is to have 1:1 between connectors and D-SUB9, but for testing I just connected all three on the same cable with a D-SUB9 for Laptop connection. This is a stanadard 10x flat cable. Pin 10 is shield if needed. I have not connected 5V and GND on D-Sub9, but I will in the…
Got more parts today so I finally have connectors, USB and SD-Card mounted – lack Ethernet yet + discovered that the PSRAM has a more narrow footprint than I used. Not sure I am bothered with mounting PSRAM on this version because strapping another nCS will be difficult – one nice thing with narrow footprint…
As you build a modular system you will implement a lot of variables in each module that you might want to change as part of configuration or see as they are sensor values. To do this I create a separate module called a “Dictionary” that is illustrated below. The dictionary itself is a large Index…
I am waiting on parts for the USB, SD-Card, Ethernet and Modules so the next task I can work on is the CAN interface. The actual barebone CAN interface is autogenerated by STM32CubeIDE in C, so all we need to do is to create a proper IO queue, deal with timing and error handling. Most…
Below is a high level draft of switching logic that I want to implement on the 3 x CAN board. The “standard” firmware on any CAN Hub is that you forward CAN messages to/from USB or Ethernet, but we can do so much more than that by creating programmable switch logic. I have called this…
9 leds on this board – 7 are up running. I lack parts yet, but will start Ethernet tomorrow. Just happy that I mnaged to fix crystal and are running at 550Mhz for now. Happy Easter folks!
I can’t fix the crap above – working with STM32CubeIDE you get used to SW bugs and slow perfomance as can be expected by most Java applications – that screen is something you see a lot… I got the MCU running with no crystal, added a 25Mhz crystal and it worked. Added some other components…
It is a hard, tedious job to solder a board with 140 components manually, but it is only two components on this that is hard to solder – one is the MCU or more correctly – I have chenged my soldering settings and this was straight up, no fuzz. I used higher temperature and it…
I have recently made two very similar CAN Boards, so it is a bit interesting to look at the differences since they have the same basic design. This first one is a M12 design (Above) – the name after the M12 connectors at right. It’s main purpose is to fit into a waterproof module with…