blog

date: 2024-07-03 23:10:27 projects: switchBox
layout work is going well. there have been several changes to the initial plan:
  • the connectors on the PCB(other than power) are going to be exposed through the chassis wall
  • there is a large cutout section to allow stacked PCB to fit against the chassis wall
the USB interface will now need a PCB mount common mode choke as the original plan to wrap a toroid over the interior chassis cable is no longer feasible

it might be worth adding better ESD protection now

right now, there are only 32 unrouted nets so changes are probably not going to be major...


date: 2024-06-25 00:44:11 projects: isoUSBHub
XP power ITR0324S05 is a reasonable looking power module
will need to look into how it performs as it is an unregulated supply. this may be fine, the datasheet says 10% regulation from 0-100% load...

date: 2024-06-24 23:20:06 projects: isoUSBHub
had a look around a supplier for suitable USB hub IC, there is the microchip USB2514B/M2 which has four high speed ports. its configuration is based on an embedded i2c controller which interfaces directly to a 256x8 EEPROM (24AA02/24LC02B style)

looks like the ADuM3165/3166 is a reasonable isolator to choose too

power is the main question now. this will need 5 isolated zones. the four outputs need to provide 5V@500mA+ simultaneously while the hub is full belt. this is at minimum ((5v*0.5A)*4)+((5v*69mA)*4)=11.38W
thats about 474mA at 24Vin when 100% efficient! more likely will be 11.38W/0.8 = 14.225W (80% efficiency) which is 592.71mA at 24V(a significant amount of power)
power usage aside, the topology will be interesting. it would be possible to use a total of four flybacks outputting 5v (four downstream facing zones. upstream port will be self powered and also power hub controller) but using a single transformer with four postregulated outputs may be a more robustr solution. that said, it wouldnt be impossible to use some 24Vin5V.5Aout modules as they will be a more reliable/easy to work with solution


date: 2024-06-24 20:21:41 projects: switchBox
there are only five missing footprints for the PCB! and only one components that need BoM information! the ordering onfo is almost over. this is probably going to be the most strongly defined schematic ive ever done outside of work though so its worth it

looking forward to the layout as thats actually fun


date: 2024-04-02 23:38:25 projects: impetuOS PILE1 SLAB1
work is being done to enable an i2c environment sensor(SCC30-DB) on PILE1

electronically it all seems reasonable but there have been some issues with the existing i2c and sensor drivers as used in SLAB1, these are:

the I2C mcs register does not always assert the busy flag fast enough to not miss when waited on, leading to missed errors

the environment sensor was either never polled particularly fast on SLAB1 or read errors were ignored; this led to a hang in reads on the PILE1 test code

a sequence of failed I2C repeated start were observed, this is either because of a (potentially long standing) driver issue or a misunderstanding. old pull requests and issues relating to the tivaC_I2C driver did not make any mention of repeated start not working; in fact there was an issue with a lack of stop conditions leading to everything being a repeated start, this makes it more likely that this is a bad oobservation where there was some other behaviour involved...

the environment sensor output revealed a humidity of around 70% which matched the humidity on the day((taken from the met office) this test was performed many times on different days and was always within reasonable bounds of error