Jump to content

Adding CS-line to AINSER8


FantomXR

Recommended Posts

I tried it now with a fresh firmware. I cloned the GitHub to get the latest version. Then I've copy/pasted the changes @TK. made into the code and compiled. 

I use the core and a classic AINSER8 module. PB8 goes directly from the discovery-board to a breadboard. There is a pullup resistor to 5V. PB8 goes into the CS-input. Result: It's working fine.

If I now just change PB8 to PE8 (like in your example), nothing happens. Here is my NGC:

RESET_HW


AINSER n=1 enabled=1 cs=1 resolution=7bit num_pins=1 muxed=0
AINSER n=2 enabled=1 cs=2 resolution=7bit num_pins=1 muxed=0

Have you an idea?!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...