FreeCalypso > hg > fc-small-hw
comparison duart28/design-spec @ 41:45bbb72a8916
duart28/design-spec: layout instructions added
| author | Mychaela Falconia <falcon@freecalypso.org> | 
|---|---|
| date | Fri, 24 Jul 2020 20:22:36 +0000 | 
| parents | ba83a7cd6451 | 
| children | 
   comparison
  equal
  deleted
  inserted
  replaced
| 40:ace9b7659f7f | 41:45bbb72a8916 | 
|---|---|
| 299 recent good experiences with this LDO family in other projects. | 299 recent good experiences with this LDO family in other projects. | 
| 300 | 300 | 
| 301 The FT2232D chip's built-in 3.3V LDO won't be used: its 5 mA current limit | 301 The FT2232D chip's built-in 3.3V LDO won't be used: its 5 mA current limit | 
| 302 seems to be too small, and our current FT2232D adapter boards made by PLDkit | 302 seems to be too small, and our current FT2232D adapter boards made by PLDkit | 
| 303 don't use it either, using an external beefier LDO instead. | 303 don't use it either, using an external beefier LDO instead. | 
| 304 | |
| 305 3. PCB layout specification | |
| 306 | |
| 307 3.1. Overall dimensions | |
| 308 | |
| 309 The generic FT2232D breakout board from PLDkit which the present DUART28 seeks | |
| 310 to replace measures 39.37x46.99 mm or 1550x1850 mil. If the present DUART28 | |
| 311 circuit can be squeezed into the same size, great - but such squeeze is NOT | |
| 312 required. If our DUART28 requires a larger PCB because of our greater circuit | |
| 313 complexity and having more components, using a larger PCB would be perfectly | |
| 314 fine - however much space is needed to get the job done. There is no specific | |
| 315 form factor requirement, i.e., this project is a free-form design. | |
| 316 | |
| 317 3.2. Layer count | |
| 318 | |
| 319 PLDkit's FT2232D adapter board appears to have a 2-layer PCB, and our competitor | |
| 320 mv-uart by Sysmocom (CP2105-based) is known to have a 2-layer PCB thanks to | |
| 321 published design files. However, we shall go by the same business logic as with | |
| 322 board dimensions: if the needed layout can be done in just 2 layers, great, but | |
| 323 if the PCB layout engineer feels that going to 4 layers would be better or would | |
| 324 make the layout job easier, it would be perfectly OK to have 4 layers. | |
| 325 | |
| 326 3.3. Mounting holes | |
| 327 | |
| 328 The PCB should have 4 mounting holes in the corners, accommodating M3 screws. | |
| 329 It is OK to increase overall board dimensions slightly to make room for these | |
| 330 mounting holes. | |
| 331 | |
| 332 3.4. Placement of connectors | |
| 333 | |
| 334 USB mini-B connector J1 must be placed along one of the board edges; it does not | |
| 335 matter along which edge, or exactly where. | |
| 336 | |
| 337 Shrouded 2x5 header J2 can be placed anywhere, as long as the placement makes | |
| 338 sense for cable attachment purposes. The cable plugged into this connector will | |
| 339 be a 10-wire ribbon terminated with an IDC connector, thus the body of the flat | |
| 340 cable will lie parallel to the board surface. Orientation: the body of the | |
| 341 cable will face toward the even-numbered row of pins, i.e., away from the | |
| 342 polarizing tab identified with a silk screen mark in the currently drawn | |
| 343 footprint. | |
| 344 | |
| 345 Little headers J3 and J4 can be placed anywhere; they are not shrouded and the | |
| 346 only things that can be connected to them are either individual jumper wires or | |
| 347 crimped assemblies with wires rising up, perpendicular to the board. | |
| 348 | |
| 349 3.5. Connector silk screen labels | |
| 350 | |
| 351 All three user connection headers J2, J3 and J4 shall have silk screen labels | |
| 352 identifying every pin. J2 pins shall be labeled as follows, numbers in the | |
| 353 middle indicate physical pins and shall NOT be placed on the silk screen | |
| 354 themselves: | |
| 355 | |
| 356 GND 1 2 GND | |
| 357 RxD2 3 4 RxD | |
| 358 TxD2 5 6 TxD | |
| 359 DCD 7 8 CTS | |
| 360 DTR 9 10 RTS | |
| 361 | |
| 362 J3 pins shall be labeled as follows, numbers on the left indicate physical pins | |
| 363 and shall NOT be placed on the silk screen themselves: | |
| 364 | |
| 365 1 GND | |
| 366 2 DSR | |
| 367 3 RI | |
| 368 | |
| 369 J4 pins shall be labeled as follows, same deal with pin numbers: | |
| 370 | |
| 371 1 +5V | |
| 372 2 GND | |
| 373 | |
| 374 3.6. 74LVC541A slot assignment | |
| 375 | |
| 376 74LVC541A is an octal buffer IC that can be seen as a bundle of 8 single buffers | |
| 377 with common output enables; the latter are always enabled in our present | |
| 378 circuit. The present design uses two of these octal buffer ICs (see section | |
| 379 2.4): one with 4 signals and 4 unused slots (grounded A inputs, unconnected Y | |
| 380 outputs) and one with 6 signals and 2 unused slots. The mapping of which signal | |
| 381 should go to which An/Yn slot is arbitrary from the standpoint of circuit | |
| 382 functionality, thus this mapping should be made at the time of PCB layout for | |
| 383 physical layout optimization. | |
| 384 | |
| 385 The mapping of signals to U5 and U6 slots is defined in U5.slotmap and | |
| 386 U6.slotmap text files; to change these mappings, edit the two files to define | |
| 387 the desired mapping, then recompile the netlist by running 'make', producing an | |
| 388 updated pcb-netlist.txt generated file. | |
| 389 | |
| 390 The preliminary slot mapping that exists in the present netlist was created as | |
| 391 a placeholder to pass compilation, and is NOT expected to be anywhere close to | |
| 392 optimal for layout! Therefore, the PCB layout engineer is expected to review | |
| 393 this slot mapping and optimize it for layout. | |
| 394 | |
| 395 3.7. Power bypass capacitors | |
| 396 | |
| 397 By the very nature of power bypass capacitors, a netlist gives absolutely no | |
| 398 indication as to where they need to be placed - yet their physical placement is | |
| 399 essential to their circuit function. Because the design of this board is | |
| 400 captured in ueda language instead of graphical schematics, it is possible that | |
| 401 the PCB layout engineer may have some difficulty with reading our ueda design | |
| 402 source to understand the design intent as to where each bypass capacitor should | |
| 403 be placed. The following listing is intended to resolve this ambiguity: | |
| 404 | |
| 405 * C4 and C7 need to be placed at the output of L1 on the P_5V net; | |
| 406 * C8 needs to be placed at the input of LDO regulator U3; | |
| 407 * C9 needs to be placed at the output of LDO regulator U3; | |
| 408 * C10 needs to be placed at the input of LDO regulator U4; | |
| 409 * C11 needs to be placed at the output of LDO regulator U4; | |
| 410 * C12 needs to be placed near pin 20 (Vcc) of U5; | |
| 411 * C13 needs to be placed near pin 20 (Vcc) of U6; | |
| 412 * C14 needs to be placed near pin 14 (VCCIOA) of U1; | |
| 413 * C15 needs to be placed near pin 31 (VCCIOB) of U1. | 
