Skip to content
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

commissioning of 1st board #2

Closed
JochiSt opened this issue Feb 3, 2022 · 8 comments
Closed

commissioning of 1st board #2

JochiSt opened this issue Feb 3, 2022 · 8 comments
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@JochiSt
Copy link
Owner

JochiSt commented Feb 3, 2022

Logbook of the commissioning of the first board

@JochiSt
Copy link
Owner Author

JochiSt commented Feb 3, 2022

LEDs

The LEDs work as expected.

They are turned on via:

  HAL_GPIO_WritePin(LED4_GPIO_Port, LED4_Pin, GPIO_PIN_RESET);

and switched off by:

  HAL_GPIO_WritePin(LED4_GPIO_Port, LED4_Pin, GPIO_PIN_SET);

@JochiSt
Copy link
Owner Author

JochiSt commented Feb 3, 2022

LEDs

The LEDs are visible, but rather dim. So decreasing the resistance from 2k2 to 1k2 might be a good idea in order to increase visibility.

D1 = red
D2 = yellow
D3 = yellow
D4 = green

@JochiSt
Copy link
Owner Author

JochiSt commented Feb 3, 2022

USART

The USART is working at 115200.

@JochiSt JochiSt added the documentation Improvements or additions to documentation label Feb 3, 2022
@JochiSt JochiSt self-assigned this Feb 3, 2022
@JochiSt JochiSt added this to the 1st Board Commissioning milestone Feb 3, 2022
@JochiSt
Copy link
Owner Author

JochiSt commented Feb 6, 2022

CAN Bus

CAN Bus working, both RX and TX.

Note:
for RX the CAN filter must be set. There are two FIFOs, which can be handled via an interrupt.

@JochiSt
Copy link
Owner Author

JochiSt commented Feb 6, 2022

ADC

Getting the timer into operation.
Channel 4: Output Compare No Output
Mode: Toggle on Output

ADC is triggered on Timer 4 Capture Compare 4

Quite helpful:

@JochiSt
Copy link
Owner Author

JochiSt commented Feb 6, 2022

PWM

Works 512 = 1.65V 1024 = 3.3V

@JochiSt
Copy link
Owner Author

JochiSt commented Feb 7, 2022

ADC is now running continuously, and gives about 16 000 samples per second of all inputs.

@JochiSt
Copy link
Owner Author

JochiSt commented Nov 3, 2022

First board was quite successful, some issues found, which are going to be fixed in revision 2.0. See #11 for commissioning of the new revision.

@JochiSt JochiSt closed this as completed Nov 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant