ShiboSoftwareDev/am69-cm5

A 55×40 mm 10-layer CM5 carrier board integrating an AM69A98 SoC, 8‑GiB LPDDR4, 32‑GB eMMC, CM5 connectors, clocking, extensive decoupling/EMI filtering, and HDI DDR/ground escape routing.

Version
0.0.7-engineering-draft-20261107-manual-ddr0
License
unset
Stars
0

Use with the tscircuit CLI

tsci is the tscircuit CLI. Install it with npm install -g tscircuit.

tsci clone ShiboSoftwareDev/am69-cm5  # download the package files into ./am69-cm5
tsci add ShiboSoftwareDev/am69-cm5    # add it to your project as @tsci/ShiboSoftwareDev.am69-cm5

In a cloned or new (tsci init) project: tsci dev starts a local preview, tsci build outputs Circuit JSON, and tsci push publishes to tscircuit.com.

firmware/boot-controller/protocol.h

#ifndef AM69_EC_PROTOCOL_H
#define AM69_EC_PROTOCOL_H
#include "policy.h"
#define EC_FRAME_SIZE 8
typedef struct { uint8_t frame[EC_FRAME_SIZE], used; } EcProtocol;
uint16_t ec_crc16(const uint8_t *data, unsigned count);
bool ec_protocol_feed(EcProtocol *p, EcPolicy *e, uint8_t byte, uint32_t now,
                      uint16_t rpm, uint8_t response[EC_FRAME_SIZE]);
#endif