sinara-hw / DiPho

Digital photodiode with wired and wireless interfaces
5 stars 0 forks source link

DiPho v2 ready for review #19

Open pm-daniel opened 1 year ago

pm-daniel commented 1 year ago

@gkasprow I've just pushed the final changes to second revision of the project. It's ready for review and hopefully prototype manufacturing. Additionally I designed a breakout board which would be helpful during potential hardware debugging and firmware development phases. Picture below. obraz

jordens commented 1 year ago

Could you make a release candidate and attach PDFs?

gkasprow commented 1 year ago
gkasprow commented 1 year ago

digital board

gkasprow commented 1 year ago
pm-daniel commented 1 year ago

I used oscillators instead of crystals because constrained space and routing possibilities. In case of oscillators I don't have to route two tracks with caution but only single one (additionally without having to worry so much about track lengths and so on), I chose oscs that are fairly inexpensive. We cannot use CLKO as it provides fixed 25MHz output and with PLL embedded in STM32 one can not obtain 48MHz clock needed for USB.

RSTn pin of IC5 - external pull-up resistor was used in accordance to IC data sheet, internal pull-up is fairly weak so manufacturer recommends using an external in "noise sensitive applications" (whatever that means in that case). Additionally such a resistor is also used in development board.

L4 is connected as a differential-mode choke, I've seen such a connection in many papers discussing PoDL in SPE. ex.

image

page 8 in this keynote or in this diagram from HARTING

image

Albeit I'm not entirely sure whether such a connection is correct.

pm-daniel commented 1 year ago

Regarding AFE board - MAX4639 has extremely small leakage current and package that is easy to route while being available quite fairly.

IC2B was used to "isolate" (not the best wording probably ;) )sensitive offset voltage coming into TIA from ADC an digital stuff (whole TIA offset net is routed inside of shield thanks to that). Also that part was already available so...

those pads on debug board are meant for keystone 5015 SMD test points but I will change them to THT version

gkasprow commented 1 year ago

ACK with transformer

gkasprow commented 1 year ago

go on with routing

pm-daniel commented 1 year ago

@gkasprow Both boards are routed already ;)

regarding "router" - did you mean raspberry pi compute module? Because I haven't found any info on "RPI nano". do we want only single SPE port? or ex. two of them (thus single NCN chip or more?) do we want PoE power or external via barrel jack or usb-c or any other connector? maybe both? do we want any other connections? ex. shell via uart or sth like that?

gkasprow commented 1 year ago

I meant "Raspberry Pi Pico W". But there is an issue with USB connectivity. Essentially you would have to use right angled PCB mounted USB plug to get USB connectivity needed for network adapter. Sth like here Let's add two SPE ports USB-C is good enough; when necessary one can use Ethernet to USB-C PoE injector You can use this project as a template

gkasprow commented 1 year ago

This template project uses PoE so we can copy it.

gkasprow commented 1 year ago

one can use such connector as well https://thepihut.com/products/solderless-zero-dongle-for-raspberry-pi-zero