-
Notifications
You must be signed in to change notification settings - Fork 1
Feature/cdh freertos #66
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
Open
Siri2K
wants to merge
65
commits into
cdh_protected
Choose a base branch
from
feature/cdh_freertos
base: cdh_protected
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Update README.md
Feature/cdh init project
This patch allows us to read multiple MSP ADC_12_B pins in a single pass. Previously you would have to re initialize for each ADC. NOTE: This will likely also have to be applied to PDS
This is a requirement for doing RTC on MSP430FR5989 devices. You cannot use RTC_B
This tackles bitbanging I2C over GPIO pins. Written by Ruben
RTC: Add RTC_c driver
ADC_Read: Support multiple ADC reads
This middleware is specifically for talking to the ADS7138 over SWI2C with BMS in mind.
SWI2C: Add SWI2C driver
ADS7138: Add ADS7138 Middleware
have to leave. Ammend this commit later
This should make building easier in the future
Sends PWM Data over I2C and receives back the PWM over PWM on GPIO pin 15
Master (CDH) asks BMS to send PWM data over to the heaters BMS sends the PWM to each battery.
PS: flashed BMS code and was able to debug!
Set P1SEL0 bits 6 and 7, setting eusci_b0 to GPIO pins 6 and 7 For some reason before we had this set P1SEL1, which would have selected eusci_b1, but then in the next line we toggle these off anyway, so it wouldn't have even worked on b1. This allows I2C communication to master on assembled BMS board. Also use initClockTo16Mhz from TI slave example code for consistency
This is taken from TI RTC ISR. Old one wasn't triggering for some reason
We moved these to their own middleware directory in a previous PR and are no longer needed in the BMS directory. Update project files as well
Also update CCS projectfiles
It's bad to have a long running blocking function in the ISR so we move it to main on trigger of internal flag instead
Grab all the data we can.
* Tools/SAME70: SPI Master example code This code is a working example of SPI Master for the SAME70 on the SAME70 Xplained Ultra dev board. * Tools/SAME70: WIP: Get device ID from MRAM Clock has to be less than 100000Hz! This still needs refactoring Hence WIP * Tools/SPI_same70: SPI wrapper * Tools/SPI_same70: Add demo MRAM include and .c * Tools/SPI_same70: remove .atsuo file * Tools/SAME70_SPIMasterExample: add .gitignore
Feature/bms app
Each codes are working examples of FreeRTOS with different aspects testes. * Tools/Blink/Mutex * SAMV71 LED Blink code that uses FreeRTOS tasks for On and Off tasks and Mutexes to synchronize LED output reading * Tools/V71_RTOS_Command + pico_slave LTR303 data retrieval code from peripherial using SAMV71(Command), Raspberry PI Pico W (Periphial), LTR303 (Target Sensor). SAMV71 extracts data and sends commands to Pico W, while Pico W extracts LTR303 light sensor data. Communication between boards is done through I2C. Serial Monitoring is also configured through UART. Issue:#10
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description (tell us what you changes or added or removed please)
How to test (if any tests done)
Checklist