forked from zephyrproject-rtos/zephyr
-
Notifications
You must be signed in to change notification settings - Fork 0
Current AM2434 progress #1
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
m-braunschweig
wants to merge
20
commits into
TexasInstruments:develop
Choose a base branch
from
siemens:mika/ti/ti-am2434-work
base: develop
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
Current AM2434 progress #1
m-braunschweig
wants to merge
20
commits into
TexasInstruments:develop
from
siemens:mika/ti/ti-am2434-work
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
1132946 to
2ef909f
Compare
Zephyr GPIO drivers require the pin mask `struct gpio_driver_data` to be the first element of the driver config. Reordering fixes failures in ASSERT statements of the GPIO driver due to the base address being interpreted as supported pin mask. Signed-off-by: Mika Braunschweig <mika.braunschweig@siemens.com>
Split up Kconfig settings for the ti Keystone 3 (K3) architecture. The old configuration assumed that every R5F is initialized via a table that's compatible with the linux remote proc framework and OpenAMP library. Additionally the number of interrupts and speed of the system timer was specified only by the cpu type for this series. For better extendability this was split up into different files that reflect the subseries of the soc. Signed-off-by: Mika Braunschweig <mika.braunschweig@siemens.com>
Add initial support for the Texas Instruments AM2434 SoC which allows using it in combination with a board to build applications. Signed-off-by: Mika Braunschweig <mika.braunschweig@siemens.com>
Adds a default MPU configuration based on the TI MCU+ SDK. The SRAM region the core runs on needs to be marked as non-shareable since atomic instructions are used on it and for this SoC it's connected in a way that dosen't allow atomic instructions (e.g. ldrex) to have exclusive access. Due to that the Cortex-R causes a data abort in such cases. To allow these instructions anyway the region is marked a non-shared which is fine as long as only one core is accessing the memory area without external synchronization. Signed-off-by: Mika Braunschweig <mika.braunschweig@siemens.com>
Add pinctrl node to the am2434 soc Signed-off-by: Mika Braunschweig <mika.braunschweig@siemens.com>
Add UART devicetree nodes to the am2434 soc Signed-off-by: Mika Braunschweig <mika.braunschweig@siemens.com>
Add initial support for the AM243x Launchpad. It's possible to run a blinky program by manually modifying pinctrl and gpio registers of the board. Signed-off-by: Mika Braunschweig <mika.braunschweig@siemens.com>
Enable the uart0 instance in the devicetree, configure the pinctrl, add it as uart-shell/console and enable necessary Kconfig options for the board so it can be used for the echo_bot sample. Signed-off-by: Mika Braunschweig <mika.braunschweig@siemens.com>
Add gpio nodes for the ti am2434 soc Signed-off-by: Mika Braunschweig <mika.braunschweig@siemens.com>
Add one of the onboard LEDs to the am243x launchpad board. The blinky example is working but since GPIO drivers only support the first 32 bit the other LEDs weren't added yet. Link: zephyrproject-rtos#81100 Signed-off-by: Mika Braunschweig <mika.braunschweig@siemens.com>
Add a pretty basic MSPI driver. The driver was tested in 1S-1S-1S mode on a am243x-lp board with the onboard Infineon flash. Theoretically the driver also has support for other MSPI modes though they weren't tested. The command and dummy cycles are always taken from the xfer request and never from the devicetree. The driver is pretty basic for now and lacks e.g. callback implementation. This is something that can be added in the future. If a non-supported / invalid request is detected a error code is returned. Signed-off-by: Mika Braunschweig <mika.braunschweig@siemens.com>
Add the mspi0 bus in disabled state to the am2434 soc Signed-off-by: Mika Braunschweig <mika.braunschweig@siemens.com>
Add a infineon s25h mspi nor flash driver. This driver was tested on the am243x-lp board in 1S-1S-1S mode. The driver doesn't check the configuration for dummy cycles and assumes a factory default configuration. It also changes, if needed, a non-volatile configuration bit so the erase sectors are uniform. On startup the JEDEC id is read and checked as basic communication test. Signed-off-by: Mika Braunschweig <mika.braunschweig@siemens.com>
Add the Infineon flash chip to the devicetree of the am243x launchpad Signed-off-by: Mika Braunschweig <mika.braunschweig@siemens.com>
The test looks for devices that are enabled on a bus that's aliased mspi0. To allow the am243x launchpad to run this test it was needed to add an overlay which creates this alias Signed-off-by: Mika Braunschweig <mika.braunschweig@siemens.com>
The old implementation requested more often than neccessary to switch the mspi device configuration which has now been removed. Signed-off-by: Mika Braunschweig <mika.braunschweig@siemens.com>
When using the function to write to a configuration/status register the write protection should be automatically disabled so it doesn't have to be done manually which can be easily forgotten. This has now been improved Signed-off-by: Mika Braunschweig <mika.braunschweig@siemens.com>
Until now the Infineon S25H driver ran MSPI only in single IO mode. With this change the driver now switches the IO mode to Quad SPI at the end of the initialization for higher transfer rates Signed-off-by: Mika Braunschweig <mika.braunschweig@siemens.com>
The Infineon S25H driver requires the hybrid sectory architecture to be disabled. For better readability this code has been moved into an own function that is now called from the init function Signed-off-by: Mika Braunschweig <mika.braunschweig@siemens.com>
To be able to address the full flash memory it's required to enter the 4 byte address mode. This is now done automatically during startup Signed-off-by: Mika Braunschweig <mika.braunschweig@siemens.com>
2ef909f to
09a1c7c
Compare
venkatesan-krishnamoorthy
pushed a commit
that referenced
this pull request
Dec 1, 2025
venkatesan-krishnamoorthy
pushed a commit
that referenced
this pull request
Dec 1, 2025
Add SCK and WS signals to a shared signal set between Flexcomm #1 and Flexcomm #3 for the mimxrt685_evk/mimxrt685s/cm33. This enables the board to both transmit and receive audio, as the BCK and WS signals produced by the WM8904 codec are only connected to the Flexcomm #1 peripheral. Signed-off-by: Vit Stanicek <vit.stanicek@nxp.com>
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.
Summary of changes in this Pull Request:
Edits:
In a few minutes I will add the required image for the documentation. I will add it via an interactive rebase and force push.It would be preferable, if you could add an image from the TI website under https://www.ti.com/tool/LP-AM243