Add AMDS firmware changes to implement the DCP#102
Conversation
|
We've implemented the Daisy Chain Protocol per this comment. However, we need to ensure that the current implementation meets the timing requirements for 3-phase current control. At this point in time, we are able to exchange data across 2 AMDS boards. The timing spec is not yet met. See
|
…uting-function Optimize DMA routing time for ST MCU
|
I'm able to run a single AMDS at 88KHz on my REVF AMDC with the release candidate. This is what @Daehoon-Sung is running in the cabinet for BP6. For some reason, when I program his AMDS boards with the new firmware, his AMDC is reporting corrupt data. One thing to note is that he has a REVE AMDC which is running (I'm assuming) the most recent released firmware for that board). 88KHz sampling and
|
|
I've also tested with 2 AMDS boards on 2 different GPIO ports and confirmed still working at 88KHz. |
|
Hello @mohamed-dek1, for BP4, I am using REVE AMDC and it has the most recent released firmware (1.4.x) for that board. I believe @noguchi-takahiro and I have updated the most recently released firmware. See this page:
|
|
I've programmed @Daehoon-Sung's AMDC with the new firmware and was able to read AMD data through it. |
…-rename Rename project and necessary files from motherboard_v1 to mainboard
elsevers
left a comment
There was a problem hiding this comment.
We have thoroughly reviewed and tested this code. Time to squash and merge.
Clarify that this should not be the regular path
elsevers
left a comment
There was a problem hiding this comment.
This code has been thoroughly tested on multiple benches in the lab and is working well.
The only thing we are noticing is that there is a stastically impossible overflow event that can occur that would disrupt a packet of data:
AMDS/Mainboard/Firmware/mainboard/Core/Src/adc.c
Lines 155 to 160 in 818233e
@AwesomeTornado is making an issue for this item. Otherwise, okay to proceed to merge.
elsevers
left a comment
There was a problem hiding this comment.
Looks like @AwesomeTornado resolved the merge conflicts and we are ready to merge this.




Closes #95
Notes
Anything reviewers should be aware of when reviewing? Other related issues? Known problems? Future work?
Self-Review
Approachsection of the issue(s) it is closing? YesReviewer Instructions
Reviewers, please copy and paste a suitable review checklist into your review and answer all questions.
Appendix
This section should be the same for all PRs. Do not edit this section when creating a PR.
Review Checklists
Checklists maintained by the eLev lab for research repositories include:
Standard checklist