-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for AD7616 #3
Comments
Status update:
|
Just to clarify and apologies for any confusion - The Digital Control table in the document lists the AD7616 schematic pin name and the EVB SDP-120 way pin, they're not the SDP-k1 SDP-120 way pin numbers, so no expectation for 1:1 mapping. |
Ah thanks I understand |
At the moment I'm trying to drive the RESET signal via a GPIO on the K1 but after trying to setup a pull up from STM32CubeMx, the signal is still at 0V |
The issue with GPIO is now fixed |
Self test and CRC check are working. One note regarding the |
I think I follow this query, but not got the code here to check. Do we really need a new type, or could we not change the data type returned by the function (what else is using it?) or instead type cast the buffer returned to a array of uint16_t before passing on elsewhere? |
The returned type is an int to be able to say if the call was successful or not (and if the data is usable).
Could be a solution along with better documentation about the order the data is returned. But casting from uint32_t to uint16_t might create issue for byte ordering depending on the architecture. Replacing the type from
I would convert theses to whatever we decide to do on the SPI side. But that would mean testing it again to make sure nothing broke. |
Changing the declaration for other functions (e.g. parallel read) could require changes to the No-OS ad7616_sdz project, so they'd have to considered and potentially handled. |
In response to the comments in the AD7616 interfacing PDF...
|
Thanks for your feedback! For number 4, I was missing a negation, so I do agree with you Noted for 6 |
This part is being supported in no-OS |
Add support for the serial interface to the AD7616 using the STM32 HAL directly (as opposed to Mbed).
Tasks
Dependencies
The text was updated successfully, but these errors were encountered: